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

Unified Diff: chrome/browser/chromeos/login/wizard_controller_browsertest.cc

Issue 220933003: Only perform forced re-enrollment in official builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/wizard_controller_browsertest.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
index 80efe4321eba4803d0bbb4770b11dab590d1897a..3a86b021db7bd96c232b8b8160cdc847376c1707 100644
--- a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
+++ b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
@@ -524,8 +524,9 @@ class WizardControllerEnrollmentFlowTest : public WizardControllerFlowTest {
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
WizardControllerFlowTest::SetUpCommandLine(command_line);
- command_line->AppendSwitch(
- switches::kEnterpriseEnableForcedReEnrollment);
+ command_line->AppendSwitchASCII(
+ switches::kEnterpriseEnableForcedReEnrollment,
+ chromeos::AutoEnrollmentController::kForcedReEnrollmentAlways);
command_line->AppendSwitchASCII(
switches::kEnterpriseEnrollmentInitialModulus, "1");
command_line->AppendSwitchASCII(

Powered by Google App Engine
This is Rietveld 408576698