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

Issue 2383763002: Report ARC status asynchronously via DeviceStatusCollector (Closed)

Created:
4 years, 2 months ago by phweiss
Modified:
4 years, 2 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Report ARC status asynchronously via DeviceStatusCollector Add field to SessionStatusReportRequest proto and add code to query ARC for status blob and DroidGuardInfo. Code is still hidden behind a flag, and will be controlled by a user policy that will be created in a follow-up CL. Browser tests will also come with the policy CL. BUG=b/31084348 Committed: https://crrev.com/629db8c2706566b27b4dccb4142157e6041d046b Cr-Commit-Position: refs/heads/master@{#423561}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Restructure AndroidStatusFetcher #

Total comments: 8

Patch Set 3 : const, include, auto, formatting #

Total comments: 4

Patch Set 4 : Renaming Kiosk-related functions #

Patch Set 5 : Overlong line shortened #

Total comments: 12

Patch Set 6 : Nits addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -23 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.h View 1 2 3 4 5 7 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.cc View 1 2 3 4 5 12 chunks +56 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector_browsertest.cc View 1 2 3 4 5 11 chunks +37 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/policy/status_uploader_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/policy/proto/device_management_backend.proto View 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (20 generated)
phweiss
Hi, ptal. Functionality is disabled until I create the controlling policy in a follow-up CL.
4 years, 2 months ago (2016-09-30 13:42:32 UTC) #2
Thiemo Nagel
Lutz, could you maybe take a look first since you've worked on this very recently?
4 years, 2 months ago (2016-09-30 15:14:36 UTC) #3
ljusten (tachyonic)
https://codereview.chromium.org/2383763002/diff/1/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2383763002/diff/1/chrome/browser/chromeos/policy/device_status_collector.cc#newcode346 chrome/browser/chromeos/policy/device_status_collector.cc:346: if (android_status_fetcher.is_null()) { A more elegant approach would be ...
4 years, 2 months ago (2016-10-04 08:56:45 UTC) #4
phweiss
ptal https://codereview.chromium.org/2383763002/diff/1/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2383763002/diff/1/chrome/browser/chromeos/policy/device_status_collector.cc#newcode346 chrome/browser/chromeos/policy/device_status_collector.cc:346: if (android_status_fetcher.is_null()) { On 2016/10/04 08:56:45, ljusten wrote: ...
4 years, 2 months ago (2016-10-05 15:34:22 UTC) #5
ljusten (tachyonic)
Looks good to me with one nit (const&) and the question about status orthogonality. I'm ...
4 years, 2 months ago (2016-10-05 16:10:42 UTC) #8
phweiss
ptal https://codereview.chromium.org/2383763002/diff/20001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2383763002/diff/20001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode1130 chrome/browser/chromeos/policy/device_status_collector.cc:1130: if (report_session_status_) { On 2016/10/05 16:10:42, ljusten wrote: ...
4 years, 2 months ago (2016-10-05 16:33:39 UTC) #10
ljusten (tachyonic)
Some renamings and comment fix. https://codereview.chromium.org/2383763002/diff/40001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2383763002/diff/40001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode1123 chrome/browser/chromeos/policy/device_status_collector.cc:1123: void DeviceStatusCollector::GetSessionStatus( While you're ...
4 years, 2 months ago (2016-10-05 18:19:49 UTC) #15
phweiss
https://codereview.chromium.org/2383763002/diff/40001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2383763002/diff/40001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode1123 chrome/browser/chromeos/policy/device_status_collector.cc:1123: void DeviceStatusCollector::GetSessionStatus( On 2016/10/05 18:19:49, ljusten wrote: > While ...
4 years, 2 months ago (2016-10-06 08:56:19 UTC) #16
bartfab (slow)
https://codereview.chromium.org/2383763002/diff/80001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2383763002/diff/80001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode24 chrome/browser/chromeos/policy/device_status_collector.cc:24: #include "base/memory/ref_counted.h" Nit: This should be included by the ...
4 years, 2 months ago (2016-10-06 15:43:26 UTC) #25
phweiss
https://codereview.chromium.org/2383763002/diff/80001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2383763002/diff/80001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode24 chrome/browser/chromeos/policy/device_status_collector.cc:24: #include "base/memory/ref_counted.h" On 2016/10/06 15:43:26, bartfab (slow) wrote: > ...
4 years, 2 months ago (2016-10-06 15:58:01 UTC) #28
bartfab (slow)
lgtm
4 years, 2 months ago (2016-10-06 16:16:59 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2383763002/100001
4 years, 2 months ago (2016-10-06 16:24:49 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-06 16:41:20 UTC) #32
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 16:44:21 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/629db8c2706566b27b4dccb4142157e6041d046b
Cr-Commit-Position: refs/heads/master@{#423561}

Powered by Google App Engine
This is Rietveld 408576698