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

Unified Diff: components/pref_registry/pref_registry_syncable.h

Issue 271793003: components: Extract pref_registry component out of user_prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make translate_core_browser depends on pref_registry Created 6 years, 7 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: components/pref_registry/pref_registry_syncable.h
diff --git a/components/user_prefs/pref_registry_syncable.h b/components/pref_registry/pref_registry_syncable.h
similarity index 94%
rename from components/user_prefs/pref_registry_syncable.h
rename to components/pref_registry/pref_registry_syncable.h
index 64de0a332e45a0182c1dc1a73e1865331d746b1a..e14a109f0fae8005d7a50501783a72494edb6289 100644
--- a/components/user_prefs/pref_registry_syncable.h
+++ b/components/pref_registry/pref_registry_syncable.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_
-#define COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_
+#ifndef COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_
+#define COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_
#include <set>
#include <string>
#include "base/callback.h"
#include "base/prefs/pref_registry.h"
-#include "components/user_prefs/user_prefs_export.h"
+#include "components/pref_registry/pref_registry_export.h"
namespace base {
class DictionaryValue;
@@ -31,7 +31,7 @@ namespace user_prefs {
// appropriate time before the PrefService for these preferences is
// constructed. See e.g. chrome/browser/prefs/browser_prefs.cc which
// does this for Chrome.
-class USER_PREFS_EXPORT PrefRegistrySyncable : public PrefRegistry {
+class PREF_REGISTRY_EXPORT PrefRegistrySyncable : public PrefRegistry {
public:
// Enum used when registering preferences to determine if it should
// be synced or not. Syncable priority preferences are preferences that are
@@ -129,4 +129,4 @@ class USER_PREFS_EXPORT PrefRegistrySyncable : public PrefRegistry {
} // namespace user_prefs
-#endif // COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_
+#endif // COMPONENTS_PREF_REGISTRY_PREF_REGISTRY_SYNCABLE_H_

Powered by Google App Engine
This is Rietveld 408576698