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

Unified Diff: components/prefs/scoped_user_pref_update.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/prefs.gyp ('k') | components/prefs/testing_pref_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/scoped_user_pref_update.h
diff --git a/components/prefs/scoped_user_pref_update.h b/components/prefs/scoped_user_pref_update.h
index 5a2c3aec9649e0203593e0b587efad90f53b3d02..bfcdb3f55744b669236a0159350b4d64ea5038f6 100644
--- a/components/prefs/scoped_user_pref_update.h
+++ b/components/prefs/scoped_user_pref_update.h
@@ -5,8 +5,8 @@
// A helper class that assists preferences in firing notifications when lists
// or dictionaries are changed.
-#ifndef BASE_PREFS_SCOPED_USER_PREF_UPDATE_H_
-#define BASE_PREFS_SCOPED_USER_PREF_UPDATE_H_
+#ifndef COMPONENTS_PREFS_SCOPED_USER_PREF_UPDATE_H_
+#define COMPONENTS_PREFS_SCOPED_USER_PREF_UPDATE_H_
#include <string>
@@ -31,7 +31,8 @@ namespace subtle {
// We need this base class mostly for making it a friend of PrefService
// and getting access to PrefService::GetMutableUserPref and
// PrefService::ReportUserPrefChanged.
-class BASE_PREFS_EXPORT ScopedUserPrefUpdateBase : public base::NonThreadSafe {
+class COMPONENTS_PREFS_EXPORT ScopedUserPrefUpdateBase
+ : public base::NonThreadSafe {
protected:
ScopedUserPrefUpdateBase(PrefService* service, const std::string& path);
@@ -105,4 +106,4 @@ typedef ScopedUserPrefUpdate<base::DictionaryValue,
typedef ScopedUserPrefUpdate<base::ListValue, base::Value::TYPE_LIST>
ListPrefUpdate;
-#endif // BASE_PREFS_SCOPED_USER_PREF_UPDATE_H_
+#endif // COMPONENTS_PREFS_SCOPED_USER_PREF_UPDATE_H_
« no previous file with comments | « components/prefs/prefs.gyp ('k') | components/prefs/testing_pref_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698