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

Issue 8741014: Added auto-enrollment request support to the device_management_backend. (Closed)

Created:
9 years ago by Joao da Silva
Modified:
9 years ago
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Added auto-enrollment request support to the device_management_backend. Also extended the testserver's device_management.py handler to serve these requests. BUG=chromium-os:23063 TEST=unit_tests and browser_tests all pass Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113009

Patch Set 1 #

Total comments: 8

Patch Set 2 : Added comment #

Total comments: 4

Patch Set 3 : Rebased, fixed nit #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -2 lines) Patch
M chrome/browser/policy/device_management_backend.h View 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_management_backend_impl.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_management_backend_impl.cc View 1 2 3 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_management_backend_mock.h View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_management_backend_mock.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_management_service_browsertest.cc View 4 chunks +29 lines, -2 lines 0 comments Download
M chrome/browser/policy/device_management_service_unittest.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/policy/mock_device_management_backend.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/policy/mock_device_management_service.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/mock_device_management_service.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M net/tools/testserver/device_management.py View 4 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Joao da Silva
Please review, thanks!
9 years ago (2011-11-30 15:31:19 UTC) #1
pastarmovj
LGTM with a few minor comments. http://codereview.chromium.org/8741014/diff/1/chrome/browser/policy/device_management_backend_impl.cc File chrome/browser/policy/device_management_backend_impl.cc (right): http://codereview.chromium.org/8741014/diff/1/chrome/browser/policy/device_management_backend_impl.cc#newcode462 chrome/browser/policy/device_management_backend_impl.cc:462: class DeviceManagementAutoEnrollmentJob : ...
9 years ago (2011-12-01 09:30:04 UTC) #2
Joao da Silva
Thanks for the review. Please see comments inline and let me know if you're still ...
9 years ago (2011-12-01 09:42:06 UTC) #3
pastarmovj
LGTM. http://codereview.chromium.org/8741014/diff/1/chrome/browser/policy/device_management_backend_impl.cc File chrome/browser/policy/device_management_backend_impl.cc (right): http://codereview.chromium.org/8741014/diff/1/chrome/browser/policy/device_management_backend_impl.cc#newcode482 chrome/browser/policy/device_management_backend_impl.cc:482: virtual void OnError(DeviceManagementBackend::ErrorCode error) OVERRIDE { On 2011/12/01 ...
9 years ago (2011-12-01 09:49:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/8741014/5001
9 years ago (2011-12-01 09:54:42 UTC) #5
commit-bot: I haz the power
Presubmit check for 8741014-5001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-01 09:54:49 UTC) #6
Joao da Silva
@akalin: hey Fred, can you stamp the changes to testserver/device_management.py? Thanks!
9 years ago (2011-12-01 09:57:44 UTC) #7
akalin
I'm actually only in the owners file for that directory for sync stuff (notice that ...
9 years ago (2011-12-02 18:59:51 UTC) #8
willchan no longer on Chromium
I defer to mnissler. I will rubberstamp it if he approves.
9 years ago (2011-12-02 21:05:08 UTC) #9
Mattias Nissler (ping if slow)
Looks rubberstampable to me :) http://codereview.chromium.org/8741014/diff/5001/chrome/browser/policy/device_management_backend.h File chrome/browser/policy/device_management_backend.h (right): http://codereview.chromium.org/8741014/diff/5001/chrome/browser/policy/device_management_backend.h#newcode140 chrome/browser/policy/device_management_backend.h:140: const std::string& device_id, Ah, ...
9 years ago (2011-12-05 09:44:15 UTC) #10
Joao da Silva
Thanks for having a look! @will: can I have a stamp? :-) http://codereview.chromium.org/8741014/diff/5001/chrome/browser/policy/device_management_backend.h File chrome/browser/policy/device_management_backend.h ...
9 years ago (2011-12-05 10:00:14 UTC) #11
willchan no longer on Chromium
LGTM On Mon, Dec 5, 2011 at 2:00 AM, <joaodasilva@chromium.org> wrote: > Thanks for having ...
9 years ago (2011-12-05 17:35:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/8741014/13001
9 years ago (2011-12-05 17:42:42 UTC) #13
commit-bot: I haz the power
9 years ago (2011-12-05 20:30:11 UTC) #14
Change committed as 113009

Powered by Google App Engine
This is Rietveld 408576698