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

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

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. 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/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 02538c5ebb045091acdfbec320da4070092c9ed6..bf8d6e4e2e1071af07739d302816e3f57192a84c 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();
- sync_driver::SyncService* profile_sync_service =
+ syncer::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());
- sync_driver::SyncService* profile_sync_service =
+ syncer::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() {
- sync_driver::SyncService* profile_sync_service =
+ syncer::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(
- sync_driver::SyncService* profile_sync_service) {
+ syncer::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