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

Unified Diff: base/prefs/pref_notifier_impl.h

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 years, 10 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
« no previous file with comments | « base/prefs/mock_pref_change_callback.cc ('k') | base/prefs/pref_notifier_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_notifier_impl.h
diff --git a/chrome/browser/prefs/pref_notifier_impl.h b/base/prefs/pref_notifier_impl.h
similarity index 86%
rename from chrome/browser/prefs/pref_notifier_impl.h
rename to base/prefs/pref_notifier_impl.h
index 7ec092d5481bd8fb092a5ffd08c3930229e88147..8e6f090d041f1b14e0a01dad3e3fac2e049e4149 100644
--- a/chrome/browser/prefs/pref_notifier_impl.h
+++ b/base/prefs/pref_notifier_impl.h
@@ -2,15 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_PREFS_PREF_NOTIFIER_IMPL_H_
-#define CHROME_BROWSER_PREFS_PREF_NOTIFIER_IMPL_H_
+#ifndef BASE_PREFS_PREF_NOTIFIER_IMPL_H_
+#define BASE_PREFS_PREF_NOTIFIER_IMPL_H_
#include <list>
#include <string>
#include "base/callback.h"
+#include "base/compiler_specific.h"
#include "base/hash_tables.h"
#include "base/observer_list.h"
+#include "base/prefs/base_prefs_export.h"
#include "base/prefs/pref_notifier.h"
#include "base/prefs/pref_observer.h"
#include "base/threading/non_thread_safe.h"
@@ -18,8 +20,9 @@
class PrefService;
// The PrefNotifier implementation used by the PrefService.
-class PrefNotifierImpl : public PrefNotifier,
- public base::NonThreadSafe {
+class BASE_PREFS_EXPORT PrefNotifierImpl
+ : public NON_EXPORTED_BASE(PrefNotifier),
+ public base::NonThreadSafe {
public:
PrefNotifierImpl();
explicit PrefNotifierImpl(PrefService* pref_service);
@@ -66,4 +69,4 @@ class PrefNotifierImpl : public PrefNotifier,
DISALLOW_COPY_AND_ASSIGN(PrefNotifierImpl);
};
-#endif // CHROME_BROWSER_PREFS_PREF_NOTIFIER_IMPL_H_
+#endif // BASE_PREFS_PREF_NOTIFIER_IMPL_H_
« no previous file with comments | « base/prefs/mock_pref_change_callback.cc ('k') | base/prefs/pref_notifier_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698