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

Unified Diff: chrome/browser/chromeos/input_method/input_method_syncer.h

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
Index: chrome/browser/chromeos/input_method/input_method_syncer.h
diff --git a/chrome/browser/chromeos/input_method/input_method_syncer.h b/chrome/browser/chromeos/input_method/input_method_syncer.h
index 2eee6d6b2cb205b471b01c4e4ef51d21e1f6947b..0757b01b1f5a66c011197f5d159887c743b92ea7 100644
--- a/chrome/browser/chromeos/input_method/input_method_syncer.h
+++ b/chrome/browser/chromeos/input_method/input_method_syncer.h
@@ -10,10 +10,10 @@
#include "base/memory/weak_ptr.h"
#include "components/prefs/pref_member.h"
-#include "components/syncable_prefs/pref_service_syncable_observer.h"
+#include "components/sync_preferences/pref_service_syncable_observer.h"
#include "ui/base/ime/chromeos/input_method_manager.h"
-namespace syncable_prefs {
+namespace sync_preferences {
class PrefServiceSyncable;
}
@@ -30,10 +30,10 @@ namespace input_method {
// except once: when the user first logs into the device.
// Thus, the user's most recent changes to language and input method preferences
// will be brought down when signing in to a new device but not in future syncs.
-class InputMethodSyncer : public syncable_prefs::PrefServiceSyncableObserver {
+class InputMethodSyncer : public sync_preferences::PrefServiceSyncableObserver {
public:
InputMethodSyncer(
- syncable_prefs::PrefServiceSyncable* prefs,
+ sync_preferences::PrefServiceSyncable* prefs,
scoped_refptr<input_method::InputMethodManager::State> ime_state);
~InputMethodSyncer() override;
@@ -65,7 +65,7 @@ class InputMethodSyncer : public syncable_prefs::PrefServiceSyncableObserver {
// the local pref values.
void OnPreferenceChanged(const std::string& pref_name);
- // syncable_prefs::PrefServiceSyncableObserver implementation.
+ // sync_preferences::PrefServiceSyncableObserver implementation.
void OnIsSyncingChanged() override;
StringPrefMember preferred_languages_;
@@ -79,7 +79,7 @@ class InputMethodSyncer : public syncable_prefs::PrefServiceSyncableObserver {
StringPrefMember preload_engines_syncable_;
StringPrefMember enabled_extension_imes_syncable_;
- syncable_prefs::PrefServiceSyncable* prefs_;
+ sync_preferences::PrefServiceSyncable* prefs_;
scoped_refptr<input_method::InputMethodManager::State> ime_state_;
// Used to ignore PrefChanged events while InputMethodManager is merging.

Powered by Google App Engine
This is Rietveld 408576698