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

Unified Diff: chrome/browser/sync/profile_sync_service_factory.cc

Issue 12670013: Out-of-process import on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extract some more CLs Created 7 years, 8 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/profile_sync_service_factory.cc
diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc
index 013e4882ae97b718e6f9936e7394a404cb6da2c7..6be1875cf8e36ede74fd18de0974000b9642b13d 100644
--- a/chrome/browser/sync/profile_sync_service_factory.cc
+++ b/chrome/browser/sync/profile_sync_service_factory.cc
@@ -39,10 +39,6 @@ ProfileSyncService* ProfileSyncServiceFactory::GetForProfile(
if (!ProfileSyncService::IsSyncEnabled())
return NULL;
- // Do not start sync on the import process.
tapted 2013/04/24 08:08:35 Could these checks still be required for Linux?
gab 2013/04/24 20:24:59 No, I got rid of the import process entirely, on L
- if (ProfileManager::IsImportProcess(*CommandLine::ForCurrentProcess()))
- return NULL;
-
return static_cast<ProfileSyncService*>(
GetInstance()->GetServiceForProfile(profile, true));
}

Powered by Google App Engine
This is Rietveld 408576698