Index: base/prefs/public/pref_observer.h |
diff --git a/base/prefs/public/pref_observer.h b/base/prefs/public/pref_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b7170ee6ac80447f43f96c92926e8fd3cdfbd60a |
--- /dev/null |
+++ b/base/prefs/public/pref_observer.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef BASE_PREFS_PUBLIC_PREF_OBSERVER_H_ |
+#define BASE_PREFS_PUBLIC_PREF_OBSERVER_H_ |
+ |
+#include <string> |
+ |
+class PrefServiceBase; |
+ |
+# TODO(joi): Switch to base::Callback and remove this. |
+class PrefObserver { |
+ public: |
+ virtual void OnPreferenceChanged(PrefServiceBase* service, |
jam
2012/10/30 16:17:41
nit: so do do we really need the pref service poin
Mattias Nissler (ping if slow)
2012/10/30 16:32:33
I don't think so, but Jói has looked at all the im
Jói
2012/10/30 16:37:59
Agreed, in the final implementation it will be a b
|
+ const std::string& pref_name) = 0; |
+}; |
+ |
+#endif // BASE_PREFS_PUBLIC_PREF_OBSERVER_H_ |