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

Unified Diff: components/syncable_prefs/synced_pref_change_registrar.h

Issue 1305213009: Componentize PrefSyncableService and support classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_service_syncable
Patch Set: Add missing dependency on //sync:test_support_sync_api for unit tests with gn Created 5 years, 3 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/syncable_prefs/synced_pref_change_registrar.h
diff --git a/chrome/browser/prefs/synced_pref_change_registrar.h b/components/syncable_prefs/synced_pref_change_registrar.h
similarity index 85%
rename from chrome/browser/prefs/synced_pref_change_registrar.h
rename to components/syncable_prefs/synced_pref_change_registrar.h
index 66d6bc5ee794272b3db1aa667610aeffe23312c9..8e06cd1d9d2019c9395f4569f0ffa78c9ec3439b 100644
--- a/chrome/browser/prefs/synced_pref_change_registrar.h
+++ b/components/syncable_prefs/synced_pref_change_registrar.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 CHROME_BROWSER_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
-#define CHROME_BROWSER_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
+#ifndef COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
+#define COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
#include <map>
#include <string>
#include "base/callback.h"
-#include "chrome/browser/prefs/pref_service_syncable.h"
-#include "chrome/browser/prefs/synced_pref_observer.h"
+#include "components/syncable_prefs/pref_service_syncable.h"
+#include "components/syncable_prefs/synced_pref_observer.h"
// Manages the registration of one or more SyncedPrefObservers on a
// PrefServiceSyncable. This is modeled after base::PrefChangeRegistrar, and
@@ -53,4 +53,4 @@ class SyncedPrefChangeRegistrar : public SyncedPrefObserver {
DISALLOW_COPY_AND_ASSIGN(SyncedPrefChangeRegistrar);
};
-#endif // CHROME_BROWSER_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
+#endif // COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_CHANGE_REGISTRAR_H_
« no previous file with comments | « components/syncable_prefs/pref_service_syncable_unittest.cc ('k') | components/syncable_prefs/synced_pref_change_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698