Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1082)

Unified Diff: chrome/browser/plugins/plugin_status_pref_setter.h

Issue 11316163: Remove the last usages of PrefObserver outside of Prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win and CrOS build. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/plugins/plugin_status_pref_setter.h
diff --git a/chrome/browser/plugins/plugin_status_pref_setter.h b/chrome/browser/plugins/plugin_status_pref_setter.h
index 915a8205097646836d50561ee9cbc0fb865e74f6..3496f6e5b658364404f7c94bb605276ef4929e46 100644
--- a/chrome/browser/plugins/plugin_status_pref_setter.h
+++ b/chrome/browser/plugins/plugin_status_pref_setter.h
@@ -9,7 +9,6 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "base/prefs/public/pref_observer.h"
#include "chrome/browser/api/prefs/pref_member.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -35,7 +34,8 @@ class PluginStatusPrefSetter : public content::NotificationObserver {
// any value changes.
// This asynchronously calls the PluginService to get the list of installed
// plug-ins.
- void Init(Profile* profile, PrefObserver* observer);
+ void Init(Profile* profile,
+ const BooleanPrefMember::NamedChangeCallback& observer);
bool IsClearPluginLSODataEnabled() const {
return clear_plugin_lso_data_enabled_.GetValue();

Powered by Google App Engine
This is Rietveld 408576698