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

Unified Diff: chrome/browser/extensions/external_pref_loader.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/extensions/external_pref_loader.h
diff --git a/chrome/browser/extensions/external_pref_loader.h b/chrome/browser/extensions/external_pref_loader.h
index 6d9d5368ae35e0c6b133332563181967f6dc1977..3091c0d21569e6ad677d55bea33e0904b80f2fd5 100644
--- a/chrome/browser/extensions/external_pref_loader.h
+++ b/chrome/browser/extensions/external_pref_loader.h
@@ -15,11 +15,11 @@
#include "chrome/browser/extensions/external_loader.h"
#include "components/browser_sync/profile_sync_service.h"
#include "components/sync/driver/sync_service_observer.h"
-#include "components/syncable_prefs/pref_service_syncable_observer.h"
+#include "components/sync_preferences/pref_service_syncable_observer.h"
class Profile;
-namespace syncable_prefs {
+namespace sync_preferences {
class PrefServiceSyncable;
}
@@ -30,7 +30,7 @@ namespace extensions {
// Instances of this class are expected to be created and destroyed on the UI
// thread and they are expecting public method calls from the UI thread.
class ExternalPrefLoader : public ExternalLoader,
- public syncable_prefs::PrefServiceSyncableObserver,
+ public sync_preferences::PrefServiceSyncableObserver,
public syncer::SyncServiceObserver {
public:
enum Options {
@@ -71,7 +71,7 @@ class ExternalPrefLoader : public ExternalLoader,
private:
friend class base::RefCountedThreadSafe<ExternalLoader>;
- // syncable_prefs::PrefServiceSyncableObserver:
+ // sync_preferences::PrefServiceSyncableObserver:
void OnIsSyncingChanged() override;
// syncer::SyncServiceObserver
@@ -109,9 +109,9 @@ class ExternalPrefLoader : public ExternalLoader,
// Needed for waiting for waiting priority sync.
Profile* profile_;
- // Used for registering observer for syncable_prefs::PrefServiceSyncable.
- ScopedObserver<syncable_prefs::PrefServiceSyncable,
- syncable_prefs::PrefServiceSyncableObserver>
+ // Used for registering observer for sync_preferences::PrefServiceSyncable.
+ ScopedObserver<sync_preferences::PrefServiceSyncable,
+ sync_preferences::PrefServiceSyncableObserver>
syncable_pref_observer_;
DISALLOW_COPY_AND_ASSIGN(ExternalPrefLoader);
« no previous file with comments | « chrome/browser/extensions/external_policy_loader_unittest.cc ('k') | chrome/browser/extensions/external_pref_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698