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

Unified Diff: chrome/browser/prefs/pref_notifier_impl.h

Issue 8568019: Introduce per-tab preferences service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed ProfileSyncServicePreferenceTest tests Created 9 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: chrome/browser/prefs/pref_notifier_impl.h
diff --git a/chrome/browser/prefs/pref_notifier_impl.h b/chrome/browser/prefs/pref_notifier_impl.h
index b16ad1144fa02f0701cf2c5377c6fe4be433200a..edabf3f8fae4db74626016e7ce8362b1aede13b3 100644
--- a/chrome/browser/prefs/pref_notifier_impl.h
+++ b/chrome/browser/prefs/pref_notifier_impl.h
@@ -23,6 +23,7 @@ class NotificationObserver;
class PrefNotifierImpl : public PrefNotifier,
public base::NonThreadSafe {
public:
+ PrefNotifierImpl();
explicit PrefNotifierImpl(PrefService* pref_service);
virtual ~PrefNotifierImpl();
@@ -35,6 +36,8 @@ class PrefNotifierImpl : public PrefNotifier,
virtual void OnPreferenceChanged(const std::string& pref_name);
virtual void OnInitializationCompleted(bool succeeded);
+ void SetPrefService(PrefService* pref_service);
+
protected:
// A map from pref names to a list of observers. Observers get fired in the
// order they are added. These should only be accessed externally for unit

Powered by Google App Engine
This is Rietveld 408576698