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

Unified Diff: chrome/browser/prefs/pref_service_syncable_util.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_service_syncable_util.h ('k') | chrome/browser/prefs/proxy_policy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_service_syncable_util.cc
diff --git a/chrome/browser/prefs/pref_service_syncable_util.cc b/chrome/browser/prefs/pref_service_syncable_util.cc
index 68bf0e00e562105053fd4845838bab0d77c30908..01f0b3d169cbbdc13a62d31a65249451ff52023a 100644
--- a/chrome/browser/prefs/pref_service_syncable_util.cc
+++ b/chrome/browser/prefs/pref_service_syncable_util.cc
@@ -10,25 +10,26 @@
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
-#include "components/syncable_prefs/pref_service_syncable.h"
+#include "components/sync_preferences/pref_service_syncable.h"
#if defined(OS_ANDROID)
#include "components/proxy_config/proxy_config_pref_names.h"
#endif
-syncable_prefs::PrefServiceSyncable* PrefServiceSyncableFromProfile(
+sync_preferences::PrefServiceSyncable* PrefServiceSyncableFromProfile(
Profile* profile) {
- return static_cast<syncable_prefs::PrefServiceSyncable*>(profile->GetPrefs());
+ return static_cast<sync_preferences::PrefServiceSyncable*>(
+ profile->GetPrefs());
}
-syncable_prefs::PrefServiceSyncable* PrefServiceSyncableIncognitoFromProfile(
+sync_preferences::PrefServiceSyncable* PrefServiceSyncableIncognitoFromProfile(
Profile* profile) {
- return static_cast<syncable_prefs::PrefServiceSyncable*>(
+ return static_cast<sync_preferences::PrefServiceSyncable*>(
profile->GetOffTheRecordPrefs());
}
-syncable_prefs::PrefServiceSyncable* CreateIncognitoPrefServiceSyncable(
- syncable_prefs::PrefServiceSyncable* pref_service,
+sync_preferences::PrefServiceSyncable* CreateIncognitoPrefServiceSyncable(
+ sync_preferences::PrefServiceSyncable* pref_service,
PrefStore* incognito_extension_pref_store) {
// List of keys that cannot be changed in the user prefs file by the incognito
// profile. All preferences that store information about the browsing history
« no previous file with comments | « chrome/browser/prefs/pref_service_syncable_util.h ('k') | chrome/browser/prefs/proxy_policy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698