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

Unified Diff: chrome/browser/prefs/pref_metrics_service.cc

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
« no previous file with comments | « chrome/browser/prefs/pref_metrics_service.h ('k') | chrome/browser/prefs/pref_service_syncable_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_metrics_service.cc
diff --git a/chrome/browser/prefs/pref_metrics_service.cc b/chrome/browser/prefs/pref_metrics_service.cc
index f1e599c01e4b5d2aedda81df0121f7015044fc32..1b99ad2e3ebcd747128772cac88f16bd4386a1ed 100644
--- a/chrome/browser/prefs/pref_metrics_service.cc
+++ b/chrome/browser/prefs/pref_metrics_service.cc
@@ -25,8 +25,8 @@
#include "components/prefs/pref_service.h"
#include "components/rappor/rappor_utils.h"
#include "components/search_engines/template_url_prepopulate_data.h"
-#include "components/syncable_prefs/pref_service_syncable.h"
-#include "components/syncable_prefs/synced_pref_change_registrar.h"
+#include "components/sync_preferences/pref_service_syncable.h"
+#include "components/sync_preferences/synced_pref_change_registrar.h"
#include "content/public/browser/browser_url_handler.h"
#include "crypto/hmac.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
@@ -60,10 +60,10 @@ PrefMetricsService::PrefMetricsService(Profile* profile)
weak_factory_(this) {
RecordLaunchPrefs();
- syncable_prefs::PrefServiceSyncable* prefs =
+ sync_preferences::PrefServiceSyncable* prefs =
PrefServiceSyncableFromProfile(profile_);
synced_pref_change_registrar_.reset(
- new syncable_prefs::SyncedPrefChangeRegistrar(prefs));
+ new sync_preferences::SyncedPrefChangeRegistrar(prefs));
RegisterSyncedPrefObservers();
}
@@ -205,7 +205,7 @@ void PrefMetricsService::OnPrefChanged(
const LogHistogramValueCallback& callback,
const std::string& path,
bool from_sync) {
- syncable_prefs::PrefServiceSyncable* prefs =
+ sync_preferences::PrefServiceSyncable* prefs =
PrefServiceSyncableFromProfile(profile_);
const PrefService::Preference* pref = prefs->FindPreference(path.c_str());
DCHECK(pref);
« no previous file with comments | « chrome/browser/prefs/pref_metrics_service.h ('k') | chrome/browser/prefs/pref_service_syncable_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698