summaryrefslogtreecommitdiffstats
path: root/components/syncable_prefs/synced_pref_change_registrar.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/syncable_prefs/synced_pref_change_registrar.h')
-rw-r--r--components/syncable_prefs/synced_pref_change_registrar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/syncable_prefs/synced_pref_change_registrar.h b/components/syncable_prefs/synced_pref_change_registrar.h
index 8e06cd1..7c4a541 100644
--- a/components/syncable_prefs/synced_pref_change_registrar.h
+++ b/components/syncable_prefs/synced_pref_change_registrar.h
@@ -12,6 +12,8 @@
#include "components/syncable_prefs/pref_service_syncable.h"
#include "components/syncable_prefs/synced_pref_observer.h"
+namespace syncable_prefs {
+
// Manages the registration of one or more SyncedPrefObservers on a
// PrefServiceSyncable. This is modeled after base::PrefChangeRegistrar, and
// it should be used whenever it's necessary to determine whether a pref change
@@ -53,4 +55,6 @@ class SyncedPrefChangeRegistrar : public SyncedPrefObserver {
DISALLOW_COPY_AND_ASSIGN(SyncedPrefChangeRegistrar);
};
+} // namespace syncable_prefs
+
#endif // COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_