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

Issue 8952027: base::Callback-ify policy::DeviceManagementService. (Closed)

Created:
8 years, 11 months ago by Mattias Nissler (ping if slow)
Modified:
8 years, 11 months ago
Reviewers:
Joao da Silva
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

base::Callback-ify policy::DeviceManagementService. Convert DeviceManagementService to base::Callback-style response handlers. Support for DeviceManagementBackend will be dropped in a subsequent CL but is kept intact in the interest of keeping this CL focused. BUG=chromium:108928 TEST=Compiles and passes tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116111

Patch Set 1 #

Total comments: 42

Patch Set 2 : address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+923 lines, -937 lines) Patch
A chrome/browser/policy/cloud_policy_constants.h View 1 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/policy/cloud_policy_constants.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_management_backend_impl.h View 3 chunks +24 lines, -37 lines 0 comments Download
M chrome/browser/policy/device_management_backend_impl.cc View 1 5 chunks +135 lines, -572 lines 0 comments Download
M chrome/browser/policy/device_management_service.h View 1 5 chunks +81 lines, -37 lines 0 comments Download
M chrome/browser/policy/device_management_service.cc View 1 8 chunks +384 lines, -60 lines 0 comments Download
M chrome/browser/policy/device_management_service_unittest.cc View 1 16 chunks +173 lines, -223 lines 0 comments Download
M chrome/browser/policy/mock_device_management_service.h View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Mattias Nissler (ping if slow)
This is the first refactoring change. I suggest you review starting from device_management_service.h and device_management_service.cc.
8 years, 11 months ago (2012-01-02 14:24:19 UTC) #1
Joao da Silva
Mostly ok! I just couldn't figure the lifetime of the URLFetchers, please see the comments ...
8 years, 11 months ago (2012-01-02 16:14:43 UTC) #2
Mattias Nissler (ping if slow)
Thanks for the thorough review. PTAL! http://codereview.chromium.org/8952027/diff/1/chrome/browser/policy/cloud_policy_constants.cc File chrome/browser/policy/cloud_policy_constants.cc (right): http://codereview.chromium.org/8952027/diff/1/chrome/browser/policy/cloud_policy_constants.cc#newcode1 chrome/browser/policy/cloud_policy_constants.cc:1: // Copyright (c) ...
8 years, 11 months ago (2012-01-02 17:53:23 UTC) #3
Joao da Silva
LGTM!
8 years, 11 months ago (2012-01-02 18:14:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/8952027/6003
8 years, 11 months ago (2012-01-02 19:25:50 UTC) #5
commit-bot: I haz the power
8 years, 11 months ago (2012-01-02 20:44:15 UTC) #6
Change committed as 116111

Powered by Google App Engine
This is Rietveld 408576698