From a19df3e39dfcf782db89917cc979ade4d6785101 Mon Sep 17 00:00:00 2001 From: "bauerb@chromium.org" Date: Tue, 21 May 2013 00:03:03 +0000 Subject: Set up Sync for managed users. When a managed user is created, silently set up Sync for them to sync managed user settings. Also, add a command line flag for testing. TBR=erg@chromium.org,sky@chromium.org BUG=226449 Review URL: https://chromiumcodereview.appspot.com/12889004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201174 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_switches.cc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'chrome/common/chrome_switches.cc') diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 97f3d1c..9774636 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -872,15 +872,16 @@ const char kLoadExtension[] = "load-extension"; // to a separate file if a file name is given. const char kLogNetLog[] = "log-net-log"; -// Uninstalls an extension with the specified extension id. -const char kUninstallExtension[] = "uninstall-extension"; +// Makes Chrome default browser +const char kMakeDefaultBrowser[] = "make-default-browser"; + +// Used to authenticate requests to the Sync service for managed users. Setting +// this switch also causes Sync to be set up for a managed user. +const char kManagedUserSyncToken[] = "managed-user-sync-token"; // Starts the browser in managed mode. const char kManaged[] = "managed"; -// Makes Chrome default browser -const char kMakeDefaultBrowser[] = "make-default-browser"; - // Forces the maximum disk space to be used by the media cache, in bytes. const char kMediaCacheSize[] = "media-cache-size"; @@ -1412,6 +1413,9 @@ const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; // be used only by the upgrade process. const char kTryChromeAgain[] = "try-chrome-again"; +// Uninstalls an extension with the specified extension id. +const char kUninstallExtension[] = "uninstall-extension"; + // Runs un-installation steps that were done by chrome first-run. const char kUninstall[] = "uninstall"; -- cgit v1.1