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

Issue 1280003004: Added policy to disable/enable a system log upload. (Closed)

Created:
5 years, 4 months ago by Polina Bondarenko
Modified:
5 years, 4 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, stevenjb+watch_chromium.org, 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

Added policy to disable/enable a system log upload. BUG=471888 Committed: https://crrev.com/b1d23bcdd177a18e44593e02b37a7c08fef41261 Cr-Commit-Position: refs/heads/master@{#343861}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Fixed comments. #

Total comments: 1

Patch Set 3 : Fixed default policy unit test. #

Total comments: 1

Patch Set 4 : Removed comments from unit tests. #

Patch Set 5 : Fixed build to pass browser and unit tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -12 lines) Patch
M chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/proto/chrome_device_policy.proto View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/system_log_uploader.h View 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/system_log_uploader.cc View 1 2 3 4 3 chunks +38 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/system_log_uploader_unittest.cc View 1 2 3 4 8 chunks +78 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider_unittest.cc View 1 2 3 3 chunks +27 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 chunk +3 lines, -0 lines 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 +3 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 2 chunks +19 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (15 generated)
Polina Bondarenko
Hi Andrew, could you please take a look at these changes. I added new policy ...
5 years, 4 months ago (2015-08-10 10:14:49 UTC) #3
Andrew T Wilson (Slow)
mostly LG, a few questions/points below around the test stuff. https://codereview.chromium.org/1280003004/diff/20001/chrome/browser/chromeos/policy/system_log_uploader_unittest.cc File chrome/browser/chromeos/policy/system_log_uploader_unittest.cc (right): https://codereview.chromium.org/1280003004/diff/20001/chrome/browser/chromeos/policy/system_log_uploader_unittest.cc#newcode169 ...
5 years, 4 months ago (2015-08-13 11:26:19 UTC) #4
Polina Bondarenko
Hi, I added a policy to disable/enable the system log upload, by default it is ...
5 years, 4 months ago (2015-08-13 14:51:17 UTC) #6
Andrew T Wilson (Slow)
lgtm https://codereview.chromium.org/1280003004/diff/40001/chrome/browser/chromeos/policy/system_log_uploader_unittest.cc File chrome/browser/chromeos/policy/system_log_uploader_unittest.cc (right): https://codereview.chromium.org/1280003004/diff/40001/chrome/browser/chromeos/policy/system_log_uploader_unittest.cc#newcode192 chrome/browser/chromeos/policy/system_log_uploader_unittest.cc:192: settings_helper_.SetBoolean(chromeos::kLogUploadEnabled, false); Remove this line to make sure ...
5 years, 4 months ago (2015-08-13 15:03:21 UTC) #7
Polina Bondarenko
Fixed disabled by default unit test.
5 years, 4 months ago (2015-08-13 15:09:05 UTC) #8
Daniel Erat
lgtm for settings https://codereview.chromium.org/1280003004/diff/60001/chrome/browser/chromeos/settings/device_settings_provider_unittest.cc File chrome/browser/chromeos/settings/device_settings_provider_unittest.cc (right): https://codereview.chromium.org/1280003004/diff/60001/chrome/browser/chromeos/settings/device_settings_provider_unittest.cc#newcode502 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc:502: // Turn on log upload and ...
5 years, 4 months ago (2015-08-13 15:13:39 UTC) #9
Polina Bondarenko
Hi, isherman@chromium.org: Please review changes in tools/metrics/histograms/histograms.xml Added new device policy to enable/disable system log ...
5 years, 4 months ago (2015-08-14 07:40:19 UTC) #12
Ilya Sherman
histograms.xml lgtm
5 years, 4 months ago (2015-08-14 21:19:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1280003004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1280003004/80001
5 years, 4 months ago (2015-08-14 21:20:35 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/50455)
5 years, 4 months ago (2015-08-14 22:34:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1280003004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1280003004/80001
5 years, 4 months ago (2015-08-17 08:18:44 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/50761)
5 years, 4 months ago (2015-08-17 09:25:28 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1280003004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1280003004/120001
5 years, 4 months ago (2015-08-17 17:46:42 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99080)
5 years, 4 months ago (2015-08-17 20:16:48 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1280003004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1280003004/120001
5 years, 4 months ago (2015-08-18 08:22:35 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 4 months ago (2015-08-18 08:57:49 UTC) #31
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 08:58:32 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b1d23bcdd177a18e44593e02b37a7c08fef41261
Cr-Commit-Position: refs/heads/master@{#343861}

Powered by Google App Engine
This is Rietveld 408576698