summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorbrg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 09:11:44 +0000
committerbrg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 09:11:44 +0000
commit345a8b7973e6693d115d20573f7cef17e4525cb3 (patch)
tree2a77dcf7842d660688a9775569f1adee43a82184 /chrome/browser/profile.cc
parent2c365900efc2d9aeba3df9c7f5afd1e45d9b530d (diff)
downloadchromium_src-345a8b7973e6693d115d20573f7cef17e4525cb3.zip
chromium_src-345a8b7973e6693d115d20573f7cef17e4525cb3.tar.gz
chromium_src-345a8b7973e6693d115d20573f7cef17e4525cb3.tar.bz2
Remove the enable-sync flag from the Chrome command line and enable sync by default.
BUG=none Test=Sync my bookmarks should be enabled by default. Review URL: http://codereview.chromium.org/248024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 8d33985..d84be9c 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -1369,7 +1369,7 @@ void ProfileImpl::StopCreateSessionServiceTimer() {
ProfileSyncService* ProfileImpl::GetProfileSyncService() {
#ifdef CHROME_PERSONALIZATION
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableSync)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableSync)) {
if (!sync_service_.get())
InitSyncService();
return sync_service_.get();