Index: chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc |
diff --git a/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc b/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc |
index c348cd6ab41340fe40449f2871f1bd265b92a045..4767ed80586c6021ba484fcf180b518a90168015 100644 |
--- a/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc |
+++ b/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc |
@@ -92,12 +92,12 @@ void AutoEnrollmentController::Start() { |
// accepted, or right after a reboot if the EULA has already been accepted. |
// Do not communicate auto-enrollment data to the server if |
- // 1. we are running integration or perf tests with telemetry. |
+ // 1. we are running telemetry tests. |
// 2. modulus configuration is not present. |
// 3. Auto-enrollment is disabled via the command line. |
CommandLine* command_line = CommandLine::ForCurrentProcess(); |
- if (command_line->HasSwitch(chromeos::switches::kOobeSkipPostLogin) || |
+ if (command_line->HasSwitch(chromeos::switches::kDisableGaiaServices) || |
(!command_line->HasSwitch( |
chromeos::switches::kEnterpriseEnrollmentInitialModulus) && |
!command_line->HasSwitch( |