OLD | NEW |
---|---|
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 Loading... | |
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 // The presence of this flag enables the zero-touch enterprise enrollment | |
pastarmovj
2016/06/29 08:46:02
nit: Why not simply "Enables zero-touch enterprise
The one and only Dr. Crash
2016/06/29 21:04:38
Done.
| |
205 // flow. | |
206 const char kEnterpriseEnableZeroTouchEnrollment[] = | |
207 "enterprise-enable-zero-touch-enrollment"; | |
208 | |
204 // Enables the chromecast support for video player app. | 209 // Enables the chromecast support for video player app. |
205 const char kEnableVideoPlayerChromecastSupport[] = | 210 const char kEnableVideoPlayerChromecastSupport[] = |
206 "enable-video-player-chromecast-support"; | 211 "enable-video-player-chromecast-support"; |
207 | 212 |
208 // Passed to Chrome the first time that it's run after the system boots. | 213 // Passed to Chrome the first time that it's run after the system boots. |
209 // Not passed on restart after sign out. | 214 // Not passed on restart after sign out. |
210 const char kFirstExecAfterBoot[] = "first-exec-after-boot"; | 215 const char kFirstExecAfterBoot[] = "first-exec-after-boot"; |
211 | 216 |
212 // Usually in browser tests the usual login manager bringup is skipped so that | 217 // 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. | 218 // tests can change how it's brought up. This flag disables that. |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
421 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 426 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
422 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 427 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
423 return false; | 428 return false; |
424 | 429 |
425 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 430 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
426 kTestCrosGaiaIdMigrationStarted; | 431 kTestCrosGaiaIdMigrationStarted; |
427 } | 432 } |
428 | 433 |
429 } // namespace switches | 434 } // namespace switches |
430 } // namespace chromeos | 435 } // namespace chromeos |
OLD | NEW |