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

Unified Diff: components/prefs/pref_store.h

Issue 1662523004: Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « components/prefs/pref_service_unittest.cc ('k') | components/prefs/pref_store_observer_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/pref_store.h
diff --git a/components/prefs/pref_store.h b/components/prefs/pref_store.h
index 6f0c16b65429d9870c316c05185ed48b4e38fab4..ef2bc494d150b8d2366a72f1dfd36f282e553687 100644
--- a/components/prefs/pref_store.h
+++ b/components/prefs/pref_store.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_PREFS_PREF_STORE_H_
-#define BASE_PREFS_PREF_STORE_H_
+#ifndef COMPONENTS_PREFS_PREF_STORE_H_
+#define COMPONENTS_PREFS_PREF_STORE_H_
#include <string>
@@ -22,10 +22,10 @@ class Value;
// CommandLinePrefStore, which bridges command line options to preferences and
// ConfigurationPolicyPrefStore, which is used for hooking up configuration
// policy with the preference subsystem.
-class BASE_PREFS_EXPORT PrefStore : public base::RefCounted<PrefStore> {
+class COMPONENTS_PREFS_EXPORT PrefStore : public base::RefCounted<PrefStore> {
public:
// Observer interface for monitoring PrefStore.
- class BASE_PREFS_EXPORT Observer {
+ class COMPONENTS_PREFS_EXPORT Observer {
public:
// Called when the value for the given |key| in the store changes.
virtual void OnPrefValueChanged(const std::string& key) = 0;
@@ -60,4 +60,4 @@ class BASE_PREFS_EXPORT PrefStore : public base::RefCounted<PrefStore> {
DISALLOW_COPY_AND_ASSIGN(PrefStore);
};
-#endif // BASE_PREFS_PREF_STORE_H_
+#endif // COMPONENTS_PREFS_PREF_STORE_H_
« no previous file with comments | « components/prefs/pref_service_unittest.cc ('k') | components/prefs/pref_store_observer_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698