summaryrefslogtreecommitdiffstats
path: root/components/syncable_prefs/pref_model_associator.cc
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-09-18 02:47:51 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-18 09:48:29 +0000
commit50c1e529587af459c14828ebe48d2e018d4b8e98 (patch)
treefce899626a1def4c171c4e348101d67746058eca /components/syncable_prefs/pref_model_associator.cc
parentc956799bbab4a8ef3c3f223f5179847a89d2eda1 (diff)
downloadchromium_src-50c1e529587af459c14828ebe48d2e018d4b8e98.zip
chromium_src-50c1e529587af459c14828ebe48d2e018d4b8e98.tar.gz
chromium_src-50c1e529587af459c14828ebe48d2e018d4b8e98.tar.bz2
Add syncable_prefs namespace.
Move all the code in the syncable_prefs components into the namespace syncable_prefs and fix usage. Change automated with tools/git/mffr.py with manual fixes for the class forward-declaration. BUG=520542 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/1353913003 Cr-Commit-Position: refs/heads/master@{#349638}
Diffstat (limited to 'components/syncable_prefs/pref_model_associator.cc')
-rw-r--r--components/syncable_prefs/pref_model_associator.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/syncable_prefs/pref_model_associator.cc b/components/syncable_prefs/pref_model_associator.cc
index b4448f3..9379a80 100644
--- a/components/syncable_prefs/pref_model_associator.cc
+++ b/components/syncable_prefs/pref_model_associator.cc
@@ -23,6 +23,8 @@
using syncer::PREFERENCES;
using syncer::PRIORITY_PREFERENCES;
+namespace syncable_prefs {
+
namespace {
const sync_pb::PreferenceSpecifics& GetSpecifics(const syncer::SyncData& pref) {
@@ -622,3 +624,5 @@ void PrefModelAssociator::NotifySyncedPrefObservers(const std::string& path,
FOR_EACH_OBSERVER(SyncedPrefObserver, *observers,
OnSyncedPrefChanged(path, from_sync));
}
+
+} // namespace syncable_prefs