Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2107033002: Added flag for enterprise zero-touch enrollment and force enrollment if (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Power of the power-of-2 initial modulus that will be used by the 194 // Power of the power-of-2 initial modulus that will be used by the
195 // auto-enrollment client. E.g. "4" means the modulus will be 2^4 = 16. 195 // auto-enrollment client. E.g. "4" means the modulus will be 2^4 = 16.
196 const char kEnterpriseEnrollmentInitialModulus[] = 196 const char kEnterpriseEnrollmentInitialModulus[] =
197 "enterprise-enrollment-initial-modulus"; 197 "enterprise-enrollment-initial-modulus";
198 198
199 // Power of the power-of-2 maximum modulus that will be used by the 199 // Power of the power-of-2 maximum modulus that will be used by the
200 // auto-enrollment client. 200 // auto-enrollment client.
201 const char kEnterpriseEnrollmentModulusLimit[] = 201 const char kEnterpriseEnrollmentModulusLimit[] =
202 "enterprise-enrollment-modulus-limit"; 202 "enterprise-enrollment-modulus-limit";
203 203
204 // Enables the zero-touch enterprise enrollment flow.
205 const char kEnterpriseEnableZeroTouchEnrollment[] =
206 "enterprise-enable-zero-touch-enrollment";
207
204 // Enables the chromecast support for video player app. 208 // Enables the chromecast support for video player app.
205 const char kEnableVideoPlayerChromecastSupport[] = 209 const char kEnableVideoPlayerChromecastSupport[] =
206 "enable-video-player-chromecast-support"; 210 "enable-video-player-chromecast-support";
207 211
208 // Passed to Chrome the first time that it's run after the system boots. 212 // Passed to Chrome the first time that it's run after the system boots.
209 // Not passed on restart after sign out. 213 // Not passed on restart after sign out.
210 const char kFirstExecAfterBoot[] = "first-exec-after-boot"; 214 const char kFirstExecAfterBoot[] = "first-exec-after-boot";
211 215
212 // Usually in browser tests the usual login manager bringup is skipped so that 216 // Usually in browser tests the usual login manager bringup is skipped so that
213 // tests can change how it's brought up. This flag disables that. 217 // tests can change how it's brought up. This flag disables that.
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 425 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
422 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 426 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
423 return false; 427 return false;
424 428
425 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 429 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
426 kTestCrosGaiaIdMigrationStarted; 430 kTestCrosGaiaIdMigrationStarted;
427 } 431 }
428 432
429 } // namespace switches 433 } // namespace switches
430 } // namespace chromeos 434 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698