diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-06 06:17:34 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-06 06:17:34 +0000 |
commit | 443e93170c8d4db335384b340571fd3cb9c3bbb7 (patch) | |
tree | a3a48f898d87d24530b57888b7244806118d8337 /components/user_prefs | |
parent | b713132324bcb1c387fafacef68f6b275931551b (diff) | |
download | chromium_src-443e93170c8d4db335384b340571fd3cb9c3bbb7.zip chromium_src-443e93170c8d4db335384b340571fd3cb9c3bbb7.tar.gz chromium_src-443e93170c8d4db335384b340571fd3cb9c3bbb7.tar.bz2 |
components: Move PrefRegistrySyncable into user_prefs namespace.
BUG=180785
R=joi@chromium.org
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14622003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/user_prefs')
-rw-r--r-- | components/user_prefs/pref_registry_syncable.cc | 4 | ||||
-rw-r--r-- | components/user_prefs/pref_registry_syncable.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/components/user_prefs/pref_registry_syncable.cc b/components/user_prefs/pref_registry_syncable.cc index 9a3a76d..4ffd639 100644 --- a/components/user_prefs/pref_registry_syncable.cc +++ b/components/user_prefs/pref_registry_syncable.cc @@ -10,6 +10,8 @@ #include "base/values.h" #include "ui/base/l10n/l10n_util.h" +namespace user_prefs { + namespace { // A helper function for RegisterLocalized*Pref that creates a Value* @@ -219,3 +221,5 @@ scoped_refptr<PrefRegistrySyncable> PrefRegistrySyncable::ForkForIncognito() { registry->defaults_ = defaults_; return registry; } + +} // namespace user_prefs diff --git a/components/user_prefs/pref_registry_syncable.h b/components/user_prefs/pref_registry_syncable.h index 811209b..9134d0b 100644 --- a/components/user_prefs/pref_registry_syncable.h +++ b/components/user_prefs/pref_registry_syncable.h @@ -18,6 +18,8 @@ class ListValue; class Value; } +namespace user_prefs { + // A PrefRegistry that forces users to choose whether each registered // preference is syncable or not. // @@ -124,4 +126,6 @@ class USER_PREFS_EXPORT PrefRegistrySyncable : public PrefRegistry { DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable); }; +} // namespace user_prefs + #endif // COMPONENTS_USER_PREFS_PREF_REGISTRY_SYNCABLE_H_ |