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

Unified Diff: base/prefs/public/pref_change_registrar.h

Issue 11293249: Remove PrefObserver usage, batch 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR Created 8 years, 1 month 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
« no previous file with comments | « no previous file | base/prefs/public/pref_change_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/public/pref_change_registrar.h
diff --git a/base/prefs/public/pref_change_registrar.h b/base/prefs/public/pref_change_registrar.h
index 352c78837a3bca8d21a2570b21f183f313306a65..19a690ae56d286020c115a8e8a4846c2621b0cbb 100644
--- a/base/prefs/public/pref_change_registrar.h
+++ b/base/prefs/public/pref_change_registrar.h
@@ -61,6 +61,9 @@ class BASE_PREFS_EXPORT PrefChangeRegistrar : public PrefObserver {
// Check whether any of the observed preferences has the managed bit set.
bool IsManaged();
+ // Return the PrefServiceBase for this registrar.
+ PrefServiceBase* prefs();
+
private:
// PrefObserver:
virtual void OnPreferenceChanged(PrefServiceBase* service,
« no previous file with comments | « no previous file | base/prefs/public/pref_change_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698