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

Issue 2132663002: kiosk: Add status report for os update and running app (Closed)

Created:
4 years, 5 months ago by xiyuan
Modified:
4 years, 5 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

kiosk: Add status report for os update and running app - Update chrome_device_settings.proto to include report setting for os_update_status and running_kiosk_app; - Update device_management_backend.proto to include os_update_status and running_kiosk_app in DeviceStatusReportRequest; BUG=577800 TEST=browser_tests --gtest_filter=DeviceStatusCollectorTest.*OsUpdateStatus*: DeviceStatusCollectorTest.*RunningKioskApp* Committed: https://crrev.com/bdf91bc327487db842a0831fbf2247b671b3d988 Cr-Commit-Position: refs/heads/master@{#405196}

Patch Set 1 #

Patch Set 2 : add doc, move dummy update_url to test #

Total comments: 4

Patch Set 3 : update doc for running_kiosk_app #

Total comments: 8

Patch Set 4 : for #3 comments #

Total comments: 6

Patch Set 5 : fix #4 nits #

Patch Set 6 : move clean up code from TearDown to dtor since set up code is in ctor now and fix DeviceStatusColle… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+438 lines, -41 lines) Patch
M chrome/browser/chromeos/app_mode/kiosk_app_data.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_data.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.h View 6 chunks +26 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.cc View 1 2 3 9 chunks +123 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector_browsertest.cc View 1 2 3 4 5 9 chunks +176 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/policy/proto/chrome_device_policy.proto View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider_unittest.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chromeos/settings/cros_settings_names.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/settings/cros_settings_names.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M components/policy/proto/device_management_backend.proto View 1 2 3 4 3 chunks +37 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
xiyuan
Suggested split: jinzhang@, *.proto c/b/policy/device_status_collector.cc to check whether the report sent from client matches server ...
4 years, 5 months ago (2016-07-07 16:42:25 UTC) #2
jinzhang1
https://codereview.chromium.org/2132663002/diff/20001/components/policy/proto/device_management_backend.proto File components/policy/proto/device_management_backend.proto (right): https://codereview.chromium.org/2132663002/diff/20001/components/policy/proto/device_management_backend.proto#newcode755 components/policy/proto/device_management_backend.proto:755: // If no kiosk app is currently running, then ...
4 years, 5 months ago (2016-07-07 17:46:42 UTC) #3
jinzhang1
4 years, 5 months ago (2016-07-07 17:46:44 UTC) #4
xiyuan
https://codereview.chromium.org/2132663002/diff/20001/components/policy/proto/device_management_backend.proto File components/policy/proto/device_management_backend.proto (right): https://codereview.chromium.org/2132663002/diff/20001/components/policy/proto/device_management_backend.proto#newcode755 components/policy/proto/device_management_backend.proto:755: // If no kiosk app is currently running, then ...
4 years, 5 months ago (2016-07-07 17:53:59 UTC) #5
jennyz
lgtm for c/b/chromeos/app_mode/*
4 years, 5 months ago (2016-07-07 17:58:55 UTC) #6
jinzhang1
lgtm https://codereview.chromium.org/2132663002/diff/20001/components/policy/proto/device_management_backend.proto File components/policy/proto/device_management_backend.proto (right): https://codereview.chromium.org/2132663002/diff/20001/components/policy/proto/device_management_backend.proto#newcode755 components/policy/proto/device_management_backend.proto:755: // If no kiosk app is currently running, ...
4 years, 5 months ago (2016-07-07 17:59:31 UTC) #7
jinzhang1
lgtm
4 years, 5 months ago (2016-07-07 17:59:32 UTC) #8
jinzhang1
https://codereview.chromium.org/2132663002/diff/20001/components/policy/proto/device_management_backend.proto File components/policy/proto/device_management_backend.proto (right): https://codereview.chromium.org/2132663002/diff/20001/components/policy/proto/device_management_backend.proto#newcode755 components/policy/proto/device_management_backend.proto:755: // If no kiosk app is currently running, then ...
4 years, 5 months ago (2016-07-07 18:00:15 UTC) #9
Thiemo Nagel
https://codereview.chromium.org/2132663002/diff/40001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2132663002/diff/40001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode960 chrome/browser/chromeos/policy/device_status_collector.cc:960: os_update_status->set_update_status( Would it make sense to set_new_platform_version() here as ...
4 years, 5 months ago (2016-07-10 08:47:47 UTC) #10
xiyuan
https://codereview.chromium.org/2132663002/diff/40001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2132663002/diff/40001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode960 chrome/browser/chromeos/policy/device_status_collector.cc:960: os_update_status->set_update_status( On 2016/07/10 08:47:47, Thiemo Nagel wrote: > Would ...
4 years, 5 months ago (2016-07-11 16:29:18 UTC) #11
Thiemo Nagel
lgtm % nits https://codereview.chromium.org/2132663002/diff/60001/chrome/browser/chromeos/policy/device_status_collector_browsertest.cc File chrome/browser/chromeos/policy/device_status_collector_browsertest.cc (right): https://codereview.chromium.org/2132663002/diff/60001/chrome/browser/chromeos/policy/device_status_collector_browsertest.cc#newcode315 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc:315: // Use FakeUpdateEngienClient. Nit: typo https://codereview.chromium.org/2132663002/diff/60001/components/policy/proto/device_management_backend.proto ...
4 years, 5 months ago (2016-07-12 14:08:46 UTC) #12
xiyuan
https://codereview.chromium.org/2132663002/diff/60001/chrome/browser/chromeos/policy/device_status_collector_browsertest.cc File chrome/browser/chromeos/policy/device_status_collector_browsertest.cc (right): https://codereview.chromium.org/2132663002/diff/60001/chrome/browser/chromeos/policy/device_status_collector_browsertest.cc#newcode315 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc:315: // Use FakeUpdateEngienClient. On 2016/07/12 14:08:46, Thiemo Nagel wrote: ...
4 years, 5 months ago (2016-07-12 15:17:04 UTC) #13
Thiemo Nagel
Thanks! Still lgtm.
4 years, 5 months ago (2016-07-12 15:22:43 UTC) #14
xiyuan
On 2016/07/12 15:22:43, Thiemo Nagel wrote: > Thanks! Still lgtm. Thanks for the quick review. ...
4 years, 5 months ago (2016-07-12 15:39:43 UTC) #15
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/2132663002/100001
4 years, 5 months ago (2016-07-12 20:03:55 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/261380)
4 years, 5 months ago (2016-07-12 22:38:37 UTC) #20
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/2132663002/100001
4 years, 5 months ago (2016-07-13 15:25:12 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-13 16:56:52 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 16:57:23 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 16:59:56 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bdf91bc327487db842a0831fbf2247b671b3d988
Cr-Commit-Position: refs/heads/master@{#405196}

Powered by Google App Engine
This is Rietveld 408576698