summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-21 02:46:12 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-21 02:46:12 +0000
commit733d42d8db0d2813eb53d6441ebc4e0d48bc5ace (patch)
tree771d2f6fccbf1bd83d9baa12a511d9812bb84377 /chrome/browser/sync
parentcf26b96a534ff5773190edeec1353a8a8828ce63 (diff)
downloadchromium_src-733d42d8db0d2813eb53d6441ebc4e0d48bc5ace.zip
chromium_src-733d42d8db0d2813eb53d6441ebc4e0d48bc5ace.tar.gz
chromium_src-733d42d8db0d2813eb53d6441ebc4e0d48bc5ace.tar.bz2
Revert 32727 - Disable sync. (Will be committed on beta branch only, and this CL will be immediately reverted.)
BUG=26712 TEST=trybot Review URL: http://codereview.chromium.org/425015 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/414069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r--chrome/browser/sync/profile_sync_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 02a71f6..d380578 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 false;
+ return CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableSync);
#else
return !CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableSync);
#endif