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

Unified Diff: chrome/browser/extensions/external_pref_loader.cc

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 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: chrome/browser/extensions/external_pref_loader.cc
diff --git a/chrome/browser/extensions/external_pref_loader.cc b/chrome/browser/extensions/external_pref_loader.cc
index 059a885687a8e671c9aa70fbae748353f3f94490..a79016e82133766d334b12c490180e6251dc2e1e 100644
--- a/chrome/browser/extensions/external_pref_loader.cc
+++ b/chrome/browser/extensions/external_pref_loader.cc
@@ -133,7 +133,7 @@ void ExternalPrefLoader::StartLoading() {
PrefServiceSyncableFromProfile(profile_);
DCHECK(prefs);
syncable_pref_observer_.Add(prefs);
- ProfileSyncService* service =
+ browser_sync::ProfileSyncService* service =
ProfileSyncServiceFactory::GetForProfile(profile_);
DCHECK(service);
if (service->CanSyncStart() && (service->IsFirstSetupComplete() ||
@@ -155,7 +155,7 @@ void ExternalPrefLoader::OnIsSyncingChanged() {
}
void ExternalPrefLoader::OnStateChanged() {
- ProfileSyncService* service =
+ browser_sync::ProfileSyncService* service =
ProfileSyncServiceFactory::GetForProfile(profile_);
DCHECK(service);
if (!service->CanSyncStart()) {
@@ -184,7 +184,7 @@ void ExternalPrefLoader::PostLoadAndRemoveObservers() {
DCHECK(prefs);
syncable_pref_observer_.Remove(prefs);
- ProfileSyncService* service =
+ browser_sync::ProfileSyncService* service =
ProfileSyncServiceFactory::GetForProfile(profile_);
DCHECK(service);
service->RemoveObserver(this);

Powered by Google App Engine
This is Rietveld 408576698