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

Unified Diff: components/syncable_prefs/pref_service_syncable.cc

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.cc
diff --git a/chrome/browser/prefs/pref_service_syncable.cc b/components/syncable_prefs/pref_service_syncable.cc
similarity index 97%
rename from chrome/browser/prefs/pref_service_syncable.cc
rename to components/syncable_prefs/pref_service_syncable.cc
index 5f29e663d1dd8ac102e0d4cb7fc7544d07c9c11d..46f7ec7912c14dce7e564c500cc382ce6cbffbdc 100644
--- a/chrome/browser/prefs/pref_service_syncable.cc
+++ b/components/syncable_prefs/pref_service_syncable.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/prefs/pref_service_syncable.h"
+#include "components/syncable_prefs/pref_service_syncable.h"
#include "base/bind.h"
#include "base/callback.h"
@@ -14,9 +14,9 @@
#include "base/prefs/pref_value_store.h"
#include "base/strings/string_number_conversions.h"
#include "base/value_conversions.h"
-#include "chrome/browser/prefs/pref_model_associator.h"
-#include "chrome/browser/prefs/pref_service_syncable_observer.h"
#include "components/pref_registry/pref_registry_syncable.h"
+#include "components/syncable_prefs/pref_model_associator.h"
+#include "components/syncable_prefs/pref_service_syncable_observer.h"
PrefServiceSyncable::PrefServiceSyncable(
PrefNotifierImpl* pref_notifier,
« no previous file with comments | « components/syncable_prefs/pref_service_syncable.h ('k') | components/syncable_prefs/pref_service_syncable_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698