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

Issue 220933003: Only perform forced re-enrollment in official builds. (Closed)

Created:
6 years, 8 months ago by Mattias Nissler (ping if slow)
Modified:
6 years, 8 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Only perform forced re-enrollment in official builds. There is no reason chromium builds should hit Google servers by default. While at it, make the auto-enrollment mode decisions more explicit in the code. BUG=chromium:358585 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261525

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase, fix empty argument case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -12 lines) Patch
M chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h View 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc View 1 4 chunks +37 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller_browsertest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Mattias Nissler (ping if slow)
Please review.
6 years, 8 months ago (2014-04-01 16:17:00 UTC) #1
Joao da Silva
lgtm https://codereview.chromium.org/220933003/diff/1/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc File chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc (right): https://codereview.chromium.org/220933003/diff/1/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc#newcode66 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc:66: if (command_line_mode.empty() || Why?
6 years, 8 months ago (2014-04-02 07:41:44 UTC) #2
Mattias Nissler (ping if slow)
https://codereview.chromium.org/220933003/diff/1/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc File chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc (right): https://codereview.chromium.org/220933003/diff/1/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc#newcode66 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc:66: if (command_line_mode.empty() || On 2014/04/02 07:41:45, Joao da Silva ...
6 years, 8 months ago (2014-04-02 07:45:00 UTC) #3
Joao da Silva
https://codereview.chromium.org/220933003/diff/1/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc File chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc (right): https://codereview.chromium.org/220933003/diff/1/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc#newcode66 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc:66: if (command_line_mode.empty() || On 2014/04/02 07:45:00, Mattias Nissler wrote: ...
6 years, 8 months ago (2014-04-02 07:48:05 UTC) #4
Mattias Nissler (ping if slow)
Joao, your instinct was right after all, the empty argument check was in the wrong ...
6 years, 8 months ago (2014-04-02 13:10:39 UTC) #5
ygorshenin1
lgtm
6 years, 8 months ago (2014-04-02 14:07:33 UTC) #6
Mattias Nissler (ping if slow)
The CQ bit was checked by mnissler@chromium.org
6 years, 8 months ago (2014-04-02 14:42:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/220933003/20001
6 years, 8 months ago (2014-04-02 14:43:28 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 19:37:13 UTC) #9
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=60483
6 years, 8 months ago (2014-04-02 19:37:14 UTC) #10
Mattias Nissler (ping if slow)
The CQ bit was checked by mnissler@chromium.org
6 years, 8 months ago (2014-04-03 07:48:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/220933003/20001
6 years, 8 months ago (2014-04-03 07:50:32 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 11:33:44 UTC) #13
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 11:33:44 UTC) #14
Mattias Nissler (ping if slow)
The CQ bit was checked by mnissler@chromium.org
6 years, 8 months ago (2014-04-03 12:00:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/220933003/20001
6 years, 8 months ago (2014-04-03 12:00:50 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 13:30:37 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=293226
6 years, 8 months ago (2014-04-03 13:30:38 UTC) #18
Mattias Nissler (ping if slow)
The CQ bit was checked by mnissler@chromium.org
6 years, 8 months ago (2014-04-03 13:45:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/220933003/20001
6 years, 8 months ago (2014-04-03 13:46:10 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 20:36:48 UTC) #21
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 20:36:48 UTC) #22
Mattias Nissler (ping if slow)
The CQ bit was checked by mnissler@chromium.org
6 years, 8 months ago (2014-04-03 21:00:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/220933003/20001
6 years, 8 months ago (2014-04-03 21:02:06 UTC) #24
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 21:05:01 UTC) #25
Message was sent while issue was closed.
Change committed as 261525

Powered by Google App Engine
This is Rietveld 408576698