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

Unified Diff: components/sync_preferences/synced_pref_change_registrar.h

Issue 2459823002: [Sync] Rename syncable_prefs to sync_preferences. (Closed)
Patch Set: Created 4 years, 2 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/sync_preferences/synced_pref_change_registrar.h
diff --git a/components/syncable_prefs/synced_pref_change_registrar.h b/components/sync_preferences/synced_pref_change_registrar.h
similarity index 82%
rename from components/syncable_prefs/synced_pref_change_registrar.h
rename to components/sync_preferences/synced_pref_change_registrar.h
index 8c18ab380e2f14936de1b0fbd50aa4289fb3eee9..23b62cc8d5f140db63ee653416709d384e8d0449 100644
--- a/components/syncable_prefs/synced_pref_change_registrar.h
+++ b/components/sync_preferences/synced_pref_change_registrar.h
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
-#define COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
+#ifndef COMPONENTS_SYNC_PREFERENCES_SYNCED_PREF_CHANGE_REGISTRAR_H_
+#define COMPONENTS_SYNC_PREFERENCES_SYNCED_PREF_CHANGE_REGISTRAR_H_
#include <map>
#include <string>
#include "base/callback.h"
#include "base/macros.h"
-#include "components/syncable_prefs/pref_service_syncable.h"
-#include "components/syncable_prefs/synced_pref_observer.h"
+#include "components/sync_preferences/pref_service_syncable.h"
+#include "components/sync_preferences/synced_pref_observer.h"
-namespace syncable_prefs {
+namespace sync_preferences {
// Manages the registration of one or more SyncedPrefObservers on a
// PrefServiceSyncable. This is modeled after base::PrefChangeRegistrar, and
@@ -56,6 +56,6 @@ class SyncedPrefChangeRegistrar : public SyncedPrefObserver {
DISALLOW_COPY_AND_ASSIGN(SyncedPrefChangeRegistrar);
};
-} // namespace syncable_prefs
+} // namespace sync_preferences
-#endif // COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
+#endif // COMPONENTS_SYNC_PREFERENCES_SYNCED_PREF_CHANGE_REGISTRAR_H_

Powered by Google App Engine
This is Rietveld 408576698