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

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

Issue 11345008: Remove content::NotificationObserver dependency from most Prefs code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months 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_init_observer.h
diff --git a/base/prefs/public/pref_init_observer.h b/base/prefs/public/pref_init_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c1cd0b81764c5139870562baa21f03b29bfb1a9
--- /dev/null
+++ b/base/prefs/public/pref_init_observer.h
@@ -0,0 +1,18 @@
+// 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_INIT_OBSERVER_H_
+#define BASE_PREFS_PUBLIC_PREF_INIT_OBSERVER_H_
+
+#include <string>
+
+class PrefServiceBase;
+
+class PrefInitObserver {
+ public:
Mattias Nissler (ping if slow) 2012/10/30 13:37:07 Please add a comment here explaining when this get
+ virtual void OnInitializationCompleted(PrefServiceBase* pref_service,
+ bool succeeded) = 0;
+};
+
+#endif // BASE_PREFS_PUBLIC_PREF_INIT_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698