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

Unified Diff: components/syncable_prefs/pref_service_syncable.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/pref_service_syncable.h
diff --git a/chrome/browser/prefs/pref_service_syncable.h b/components/syncable_prefs/pref_service_syncable.h
similarity index 93%
rename from chrome/browser/prefs/pref_service_syncable.h
rename to components/syncable_prefs/pref_service_syncable.h
index 222a57065d1f0c623fef62b5cd906191e6fc2aad..b3cfe848200d98475e9d98d7533879d1932dd18b 100644
--- a/chrome/browser/prefs/pref_service_syncable.h
+++ b/components/syncable_prefs/pref_service_syncable.h
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_
-#define CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_
+#ifndef COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_
+#define COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_
#include <vector>
#include "base/callback_forward.h"
#include "base/prefs/pref_service.h"
-#include "chrome/browser/prefs/pref_model_associator.h"
-#include "chrome/browser/prefs/synced_pref_observer.h"
#include "components/pref_registry/pref_registry_syncable.h"
+#include "components/syncable_prefs/pref_model_associator.h"
+#include "components/syncable_prefs/synced_pref_observer.h"
class PrefModelAssociatorClient;
class PrefServiceSyncableObserver;
@@ -109,4 +109,4 @@ class PrefServiceSyncable : public PrefService {
DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncable);
};
-#endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_
+#endif // COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_SYNCABLE_H_
« no previous file with comments | « components/syncable_prefs/pref_service_mock_factory.cc ('k') | components/syncable_prefs/pref_service_syncable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698