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

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

Issue 11293249: Remove PrefObserver usage, batch 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: base/prefs/public/pref_change_registrar.cc
diff --git a/base/prefs/public/pref_change_registrar.cc b/base/prefs/public/pref_change_registrar.cc
index 0a442e729ce42aaf159dd5d7428807e297e62616..2e64aaa2683934010802906990b06624c8b70aae 100644
--- a/base/prefs/public/pref_change_registrar.cc
+++ b/base/prefs/public/pref_change_registrar.cc
@@ -91,3 +91,8 @@ void PrefChangeRegistrar::InvokeUnnamedCallback(const base::Closure& callback,
const std::string& pref_name) {
callback.Run();
}
+
+PrefServiceBase* PrefChangeRegistrar::prefs() {
+ return service_;
+}
+
Mattias Nissler (ping if slow) 2012/11/13 14:11:31 no trailing newlines please.
Jói 2012/11/13 14:22:38 Done.

Powered by Google App Engine
This is Rietveld 408576698