From 183d4b83abbb1a3f0128a03a6450695626d043a3 Mon Sep 17 00:00:00 2001 From: "rsesek@chromium.org" Date: Fri, 11 Nov 2011 18:50:26 +0000 Subject: 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 --- chrome/browser/plugin_prefs.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'chrome/browser/plugin_prefs.h') 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, // 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& groups); + void EnablePluginInternal( + bool enabled, + const FilePath& path, + const std::vector& groups); // Called on the file thread to get the data necessary to update the saved // preferences. -- cgit v1.1