diff options
author | pastarmovj@google.com <pastarmovj@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-06 12:59:06 +0000 |
---|---|---|
committer | pastarmovj@google.com <pastarmovj@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-06 12:59:06 +0000 |
commit | b7cbb9a91717568634c08bba3c7f9fd524030b8e (patch) | |
tree | 47f51e4a68f7a69f7b8f8c7b227d83ee9acc82c8 /chromeos/chromeos_switches.cc | |
parent | 95f63fe949f45b0e0bb02a0b2b16e8e904edd260 (diff) | |
download | chromium_src-b7cbb9a91717568634c08bba3c7f9fd524030b8e.zip chromium_src-b7cbb9a91717568634c08bba3c7f9fd524030b8e.tar.gz chromium_src-b7cbb9a91717568634c08bba3c7f9fd524030b8e.tar.bz2 |
Add a flag to skip robot token fetching for testing device enrollments.
None of the testing server implementations are currently capable of minting
robot OAuth tokens and testing of device enrollment was only possible against
actual DMServer. With this flag it will be possible to successfully complete
enrollment while still testing the whole enrollment handshake and only skipping
the step where the robot token is fetched from GAIA.
BUG=313811
TEST=Enrollment against YAPS should succeed.
R=joaodasilva@chromium.org
Review URL: https://codereview.chromium.org/60113002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/chromeos_switches.cc')
-rw-r--r-- | chromeos/chromeos_switches.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc index 714adaf..46052d8 100644 --- a/chromeos/chromeos_switches.cc +++ b/chromeos/chromeos_switches.cc @@ -117,6 +117,11 @@ const char kEnterpriseEnrollmentInitialModulus[] = const char kEnterpriseEnrollmentModulusLimit[] = "enterprise-enrollment-modulus-limit"; +// Don't create robot account on enrollment. Used when testing device +// enrollment against YAPS or the Python test server. +const char kEnterpriseEnrollmentSkipRobotAuth[] = + "enterprise-enrollment-skip-robot-auth"; + // Shows the selecting checkboxes in the Files.app. const char kFileManagerShowCheckboxes[] = "file-manager-show-checkboxes"; |