diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 18:50:26 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 18:50:26 +0000 |
commit | 183d4b83abbb1a3f0128a03a6450695626d043a3 (patch) | |
tree | 00b0104642cf5c39e8398d42dee55b0c2c5c9fb2 /chrome/browser/plugin_prefs.h | |
parent | bc29eb72f36c87c85388aa9d1cc978552be1d2cc (diff) | |
download | chromium_src-183d4b83abbb1a3f0128a03a6450695626d043a3.zip chromium_src-183d4b83abbb1a3f0128a03a6450695626d043a3.tar.gz chromium_src-183d4b83abbb1a3f0128a03a6450695626d043a3.tar.bz2 |
Move PluginPrefs to use PluginService instead of PluginList.
BUG=103788,chromium-os:22447
TEST=unit_tests --gtest_filter=PluginPrefs*
Review URL: http://codereview.chromium.org/8515021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109657 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_prefs.h')
-rw-r--r-- | chrome/browser/plugin_prefs.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/chrome/browser/plugin_prefs.h b/chrome/browser/plugin_prefs.h index e6afa45..3792dfd 100644 --- a/chrome/browser/plugin_prefs.h +++ b/chrome/browser/plugin_prefs.h @@ -117,8 +117,15 @@ class PluginPrefs : public base::RefCountedThreadSafe<PluginPrefs>, // Returns the plugin list to use, either the singleton or the override. webkit::npapi::PluginList* GetPluginList(); - // Called on the file thread to update the plug-in state. - void EnablePluginInternal(bool enabled, const FilePath& path); + // Callback for after the plugin groups have been loaded. + void EnablePluginGroupInternal( + bool enabled, + const string16& group_name, + const std::vector<webkit::npapi::PluginGroup>& groups); + void EnablePluginInternal( + bool enabled, + const FilePath& path, + const std::vector<webkit::npapi::PluginGroup>& groups); // Called on the file thread to get the data necessary to update the saved // preferences. |