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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_service.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (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/sync_file_system/sync_file_system_service.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service.cc b/chrome/browser/sync_file_system/sync_file_system_service.cc
index bf8d6e4e2e1071af07739d302816e3f57192a84c..02538c5ebb045091acdfbec320da4070092c9ed6 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service.cc
@@ -267,7 +267,7 @@ void SyncFileSystemService::Shutdown() {
remote_service_.reset();
- syncer::SyncService* profile_sync_service =
+ sync_driver::SyncService* profile_sync_service =
ProfileSyncServiceFactory::GetSyncServiceForBrowserContext(profile_);
if (profile_sync_service)
profile_sync_service->RemoveObserver(this);
@@ -476,7 +476,7 @@ void SyncFileSystemService::Initialize(
local_sync_runners_.push_back(local_syncer.release());
remote_sync_runners_.push_back(remote_syncer.release());
- syncer::SyncService* profile_sync_service =
+ sync_driver::SyncService* profile_sync_service =
ProfileSyncServiceFactory::GetSyncServiceForBrowserContext(profile_);
if (profile_sync_service) {
UpdateSyncEnabledStatus(profile_sync_service);
@@ -730,7 +730,7 @@ void SyncFileSystemService::OnExtensionLoaded(
}
void SyncFileSystemService::OnStateChanged() {
- syncer::SyncService* profile_sync_service =
+ sync_driver::SyncService* profile_sync_service =
ProfileSyncServiceFactory::GetSyncServiceForBrowserContext(profile_);
if (profile_sync_service)
UpdateSyncEnabledStatus(profile_sync_service);
@@ -748,7 +748,7 @@ void SyncFileSystemService::OnFileStatusChanged(
}
void SyncFileSystemService::UpdateSyncEnabledStatus(
- syncer::SyncService* profile_sync_service) {
+ sync_driver::SyncService* profile_sync_service) {
if (!profile_sync_service->IsFirstSetupComplete())
return;
bool old_sync_enabled = sync_enabled_;

Powered by Google App Engine
This is Rietveld 408576698