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

Issue 8872032: Added the AutoEnrollmentClient and unit tests for it. (Closed)

Created:
9 years ago by Joao da Silva
Modified:
9 years ago
CC:
chromium-reviews, robertshield, kkania, Paweł Hajdan Jr.
Visibility:
Public.

Description

Added the AutoEnrollmentClient and unit tests for it. BUG=chromium-os:23063 TEST=unit_tests pass on chromeos Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114016

Patch Set 1 #

Total comments: 30

Patch Set 2 : Use callback instead of Delegate, using InSequence, renamed switches, cleanups #

Total comments: 4

Patch Set 3 : Style cleanup, rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+611 lines, -10 lines) Patch
M chrome/browser/automation/automation_provider_observers.cc View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/policy/auto_enrollment_client.h View 1 1 chunk +106 lines, -0 lines 0 comments Download
A chrome/browser/policy/auto_enrollment_client.cc View 1 1 chunk +218 lines, -0 lines 0 comments Download
A chrome/browser/policy/auto_enrollment_client_unittest.cc View 1 2 1 chunk +243 lines, -0 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 2 3 chunks +21 lines, -10 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Joao da Silva
Please review, thanks!
9 years ago (2011-12-08 20:06:32 UTC) #1
Mattias Nissler (ping if slow)
a couple of comments. http://codereview.chromium.org/8872032/diff/1/chrome/browser/policy/auto_enrollment_client.cc File chrome/browser/policy/auto_enrollment_client.cc (right): http://codereview.chromium.org/8872032/diff/1/chrome/browser/policy/auto_enrollment_client.cc#newcode137 chrome/browser/policy/auto_enrollment_client.cc:137: DCHECK(!serial_number_hash_.empty()); These should probably be ...
9 years ago (2011-12-09 15:40:49 UTC) #2
Joao da Silva
Thanks for the comments! Please have another look. http://codereview.chromium.org/8872032/diff/1/chrome/browser/policy/auto_enrollment_client.cc File chrome/browser/policy/auto_enrollment_client.cc (right): http://codereview.chromium.org/8872032/diff/1/chrome/browser/policy/auto_enrollment_client.cc#newcode137 chrome/browser/policy/auto_enrollment_client.cc:137: DCHECK(!serial_number_hash_.empty()); ...
9 years ago (2011-12-09 17:26:06 UTC) #3
Joao da Silva
http://codereview.chromium.org/8872032/diff/1/chrome/browser/policy/auto_enrollment_client.cc File chrome/browser/policy/auto_enrollment_client.cc (right): http://codereview.chromium.org/8872032/diff/1/chrome/browser/policy/auto_enrollment_client.cc#newcode210 chrome/browser/policy/auto_enrollment_client.cc:210: for (int i = 0; i < hashes.size(); ++i) ...
9 years ago (2011-12-10 13:17:17 UTC) #4
Mattias Nissler (ping if slow)
LGTM with nits. http://codereview.chromium.org/8872032/diff/1/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): http://codereview.chromium.org/8872032/diff/1/chrome/common/chrome_switches.cc#newcode1208 chrome/common/chrome_switches.cc:1208: // auto-enrollment client. E.g. "4" means ...
9 years ago (2011-12-12 10:20:31 UTC) #5
Joao da Silva
http://codereview.chromium.org/8872032/diff/8001/chrome/browser/policy/auto_enrollment_client_unittest.cc File chrome/browser/policy/auto_enrollment_client_unittest.cc (right): http://codereview.chromium.org/8872032/diff/8001/chrome/browser/policy/auto_enrollment_client_unittest.cc#newcode75 chrome/browser/policy/auto_enrollment_client_unittest.cc:75: &AutoEnrollmentClientTest::CaptureRequest), On 2011/12/12 10:20:31, Mattias Nissler wrote: > nit: ...
9 years ago (2011-12-12 11:54:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/8872032/17001
9 years ago (2011-12-12 11:54:30 UTC) #7
commit-bot: I haz the power
Try job failure for 8872032-17001 (retry) on win_rel for step "browser_tests". It's a second try, ...
9 years ago (2011-12-12 13:36:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/8872032/17001
9 years ago (2011-12-12 14:06:09 UTC) #9
commit-bot: I haz the power
9 years ago (2011-12-12 15:12:23 UTC) #10
Change committed as 114016

Powered by Google App Engine
This is Rietveld 408576698