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

Issue 8702009: Add device status reports to policy requests. (Closed)

Created:
9 years ago by Patrick Dubroy
Modified:
9 years ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add device status reports to policy requests. BUG=chromium-os:22035 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113791

Patch Set 1 #

Total comments: 17

Patch Set 2 : Addressed Mattias' comments and added unit test. #

Total comments: 14

Patch Set 3 : Address Mattias' comments. #

Patch Set 4 : Fix one issue I missed. #

Total comments: 6

Patch Set 5 : Fix NULL deref. #

Patch Set 6 : Fix broken unit tests. #

Patch Set 7 : Fix problem with uninitialized local_state. #

Patch Set 8 : Remove some now-dead code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+523 lines, -31 lines) Patch
M chrome/browser/idle.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/browser_policy_connector.h View 1 2 3 4 5 6 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/policy/cloud_policy_controller.cc View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud_policy_controller_unittest.cc View 6 7 10 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/policy/cloud_policy_data_store.h View 1 2 3 4 5 6 7 4 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud_policy_data_store.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_management_backend.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/device_management_backend_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/device_management_backend_impl.cc View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/policy/device_management_service_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/device_management_service_unittest.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
A chrome/browser/policy/device_status_collector.h View 1 2 3 4 5 6 7 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/policy/device_status_collector.cc View 1 2 3 4 5 1 chunk +152 lines, -0 lines 0 comments Download
A chrome/browser/policy/device_status_collector_unittest.cc View 1 2 3 4 1 chunk +229 lines, -0 lines 0 comments Download
M chrome/browser/policy/enterprise_metrics_browsertest.cc View 1 2 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/mock_device_management_backend.h View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/policy/mock_device_management_service.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/mock_device_management_service.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Patrick Dubroy
Hi Mattias, Can you take a look at this? I still want to add at ...
9 years ago (2011-11-25 13:47:17 UTC) #1
Mattias Nissler (ping if slow)
Architecture looks good. Unit tests for the status collector would indeed be good to have ...
9 years ago (2011-11-25 14:15:19 UTC) #2
Patrick Dubroy
http://codereview.chromium.org/8702009/diff/1/chrome/browser/policy/browser_policy_connector.cc File chrome/browser/policy/browser_policy_connector.cc (right): http://codereview.chromium.org/8702009/diff/1/chrome/browser/policy/browser_policy_connector.cc#newcode11 chrome/browser/policy/browser_policy_connector.cc:11: #include "chrome/browser/browser_process.h" On 2011/11/25 14:15:19, Mattias Nissler wrote: > ...
9 years ago (2011-11-29 18:01:46 UTC) #3
Mattias Nissler (ping if slow)
The unit tests are good! In general looks good, just some minor things. http://codereview.chromium.org/8702009/diff/5001/chrome/browser/policy/device_management_backend_impl.h File ...
9 years ago (2011-11-30 12:44:29 UTC) #4
Patrick Dubroy
http://codereview.chromium.org/8702009/diff/5001/chrome/browser/policy/device_management_backend_impl.h File chrome/browser/policy/device_management_backend_impl.h (right): http://codereview.chromium.org/8702009/diff/5001/chrome/browser/policy/device_management_backend_impl.h#newcode78 chrome/browser/policy/device_management_backend_impl.h:78: const em::DeviceStatusReportRequest& device_status, On 2011/11/30 12:44:29, Mattias Nissler wrote: ...
9 years ago (2011-12-06 14:30:36 UTC) #5
Mattias Nissler (ping if slow)
LGTM with nits. http://codereview.chromium.org/8702009/diff/12009/chrome/browser/policy/device_management_backend_impl.cc File chrome/browser/policy/device_management_backend_impl.cc (right): http://codereview.chromium.org/8702009/diff/12009/chrome/browser/policy/device_management_backend_impl.cc#newcode420 chrome/browser/policy/device_management_backend_impl.cc:420: request_wrapper.mutable_device_status_report_request()->CopyFrom( You should check whether device_status ...
9 years ago (2011-12-06 15:20:17 UTC) #6
Patrick Dubroy
http://codereview.chromium.org/8702009/diff/12009/chrome/browser/policy/device_management_backend_impl.cc File chrome/browser/policy/device_management_backend_impl.cc (right): http://codereview.chromium.org/8702009/diff/12009/chrome/browser/policy/device_management_backend_impl.cc#newcode420 chrome/browser/policy/device_management_backend_impl.cc:420: request_wrapper.mutable_device_status_report_request()->CopyFrom( On 2011/12/06 15:20:18, Mattias Nissler wrote: > You ...
9 years ago (2011-12-06 16:41:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/8702009/20001
9 years ago (2011-12-08 09:24:31 UTC) #8
commit-bot: I haz the power
Try job failure for 8702009-20001 (retry) on linux_rel for step "compile" (clobber build). It's a ...
9 years ago (2011-12-08 09:50:26 UTC) #9
Patrick Dubroy
Mattias, can you take another quick look at this?
9 years ago (2011-12-08 14:15:43 UTC) #10
Mattias Nissler (ping if slow)
LGTM
9 years ago (2011-12-08 14:23:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/8702009/23012
9 years ago (2011-12-09 10:14:37 UTC) #12
commit-bot: I haz the power
9 years ago (2011-12-09 11:40:52 UTC) #13
Change committed as 113791

Powered by Google App Engine
This is Rietveld 408576698