diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-21 00:03:03 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-21 00:03:03 +0000 |
commit | a19df3e39dfcf782db89917cc979ade4d6785101 (patch) | |
tree | b0fbdc8b94d23709defce9a701d08851d8416ab2 /chrome/common/chrome_switches.cc | |
parent | 189f80fb7c09dcdc5d82a55052eaf675fcf2830a (diff) | |
download | chromium_src-a19df3e39dfcf782db89917cc979ade4d6785101.zip chromium_src-a19df3e39dfcf782db89917cc979ade4d6785101.tar.gz chromium_src-a19df3e39dfcf782db89917cc979ade4d6785101.tar.bz2 |
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
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r-- | chrome/common/chrome_switches.cc | 14 |
1 files changed, 9 insertions, 5 deletions
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"; |