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

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

Issue 425015: Disable sync. (Will be committed on beta branch only, and this CL will be immediately reverted.) (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index d380578b38aacf614a40a6c43fad964a256995d0..02a71f6ca7ae9711273b8973fe9f0b32acea276a 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -426,7 +426,7 @@ void ProfileSyncService::SyncEvent(SyncEventCodes code) {
bool ProfileSyncService::IsSyncEnabled() {
#if defined(OS_POSIX)
- return CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableSync);
+ return false;
#else
return !CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableSync);
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698