diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 12:03:33 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 12:03:33 +0000 |
commit | ed17c7b3f7f99f680ff5a86621761c52d4ffc49d (patch) | |
tree | c06d8dc76ff479cad74172a653c4099cc4ab6939 /chrome/browser/plugin_service.cc | |
parent | 0513022ca75b4e1a5207a3c462417366bc73ca8e (diff) | |
download | chromium_src-ed17c7b3f7f99f680ff5a86621761c52d4ffc49d.zip chromium_src-ed17c7b3f7f99f680ff5a86621761c52d4ffc49d.tar.gz chromium_src-ed17c7b3f7f99f680ff5a86621761c52d4ffc49d.tar.bz2 |
Factor out PluginGroup into a separate class in common/.
Moving PluginGroup into common is necessary in order to enable the renderer process to check if a plugin is outdated.
Also, make PluginUpdater static since it doesn't contain any state anymore.
BUG=47731
TEST=PluginGroupTest.*
Review URL: http://codereview.chromium.org/2955005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_service.cc')
-rw-r--r-- | chrome/browser/plugin_service.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc index de8cc30..5d92a06 100644 --- a/chrome/browser/plugin_service.cc +++ b/chrome/browser/plugin_service.cc @@ -60,7 +60,7 @@ void PluginService::InitGlobalInstance(Profile* profile) { DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); // We first group the plugins and then figure out which groups to disable. - PluginUpdater::GetInstance()->DisablePluginGroupsFromPrefs(profile); + plugin_updater::DisablePluginGroupsFromPrefs(profile); // Have Chrome plugins write their data to the profile directory. GetInstance()->SetChromePluginDataDir(profile->GetPath()); |