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

Issue 1606943007: Implement Windows GPO support for "dlpref" in component updater. (Closed)

Created:
4 years, 11 months ago by Sorin Jianu
Modified:
4 years, 11 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, grt+watch_chromium.org, wfh+watch_chromium.org, sdefresne+watch_chromium.org, extensions-reviews_chromium.org, grt (UTC plus 2)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement Windows GPO support for "dlpref". This is a feature of the update protocol, which allows the server to prioritize returning urls that can be cached by downstream proxies. BUG=579762 Committed: https://crrev.com/590586cdcb76d893e591e26209a57edb8700568b Cr-Commit-Position: refs/heads/master@{#371576}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Validate the policy value. #

Patch Set 3 : Fix typo. #

Total comments: 16

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : rebase #

Patch Set 9 : whitespace comments only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -8 lines) Patch
M chrome/browser/component_updater/chrome_component_updater_configurator.cc View 1 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/extensions/updater/chrome_update_client_config.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/updater/chrome_update_client_config.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/util/google_update_settings.h View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -3 lines 0 comments Download
M chrome/installer/util/google_update_settings.cc View 1 2 3 4 5 6 3 chunks +27 lines, -0 lines 0 comments Download
M chrome/installer/util/google_update_settings_unittest.cc View 1 2 3 4 5 6 7 1 chunk +52 lines, -0 lines 0 comments Download
M components/component_updater/configurator_impl.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/component_updater/configurator_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/update_client/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/update_client/configurator.h View 1 chunk +6 lines, -0 lines 0 comments Download
M components/update_client/ping_manager.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M components/update_client/test_configurator.h View 3 chunks +3 lines, -0 lines 0 comments Download
M components/update_client/test_configurator.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M components/update_client/update_checker.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M components/update_client/update_checker_unittest.cc View 2 chunks +27 lines, -0 lines 0 comments Download
M components/update_client/utils.h View 2 chunks +3 lines, -0 lines 0 comments Download
M components/update_client/utils.cc View 2 chunks +4 lines, -0 lines 0 comments Download
A components/update_client/utils_unittest.cc View 1 chunk +27 lines, -0 lines 0 comments Download
M ios/chrome/browser/component_updater/ios_component_updater_configurator.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 42 (15 generated)
Sorin Jianu
Please, I need owners review for ios, installer, and extensions changes. Thank you!
4 years, 11 months ago (2016-01-21 01:37:38 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606943007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606943007/1
4 years, 11 months ago (2016-01-21 01:40:34 UTC) #5
waffles
lgtm https://codereview.chromium.org/1606943007/diff/1/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/1606943007/diff/1/chrome/installer/util/google_update_settings.cc#newcode780 chrome/installer/util/google_update_settings.cc:780: // implementation supports only "cacheable" as a valid ...
4 years, 11 months ago (2016-01-21 01:56:08 UTC) #6
Sorin Jianu
PTAL, thank you! https://codereview.chromium.org/1606943007/diff/1/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/1606943007/diff/1/chrome/installer/util/google_update_settings.cc#newcode780 chrome/installer/util/google_update_settings.cc:780: // implementation supports only "cacheable" as ...
4 years, 11 months ago (2016-01-21 02:53:55 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606943007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606943007/40001
4 years, 11 months ago (2016-01-21 03:05:31 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-21 05:03:48 UTC) #11
blundell
I don't think you need my review for anything here. components_tests.gyp has * as OWNERS.
4 years, 11 months ago (2016-01-21 08:43:17 UTC) #12
Sorin Jianu
Colin, I am making a change under the ios/ path, please see: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc Thank you!
4 years, 11 months ago (2016-01-21 16:44:15 UTC) #13
waffles
(took another look, lgtm sustained)
4 years, 11 months ago (2016-01-21 17:33:53 UTC) #14
asargent_no_longer_on_chrome
chrome/browser/extensions lgtm
4 years, 11 months ago (2016-01-21 18:36:39 UTC) #15
gab
CC grt FYI. installer lgtm w/ comments below PS: It's unfortunate that this code is ...
4 years, 11 months ago (2016-01-21 21:08:49 UTC) #16
blundell
blundell -> droger for //ios (I'm not an //ios OWNER)
4 years, 11 months ago (2016-01-22 08:33:14 UTC) #18
droger
ios LGTM https://codereview.chromium.org/1606943007/diff/40001/chrome/browser/component_updater/chrome_component_updater_configurator.cc File chrome/browser/component_updater/chrome_component_updater_configurator.cc (right): https://codereview.chromium.org/1606943007/diff/40001/chrome/browser/component_updater/chrome_component_updater_configurator.cc#newcode126 chrome/browser/component_updater/chrome_component_updater_configurator.cc:126: return std::string(""); Why not return configurator_impl_.GetDownloadPreference(); or ...
4 years, 11 months ago (2016-01-22 10:32:15 UTC) #19
gab
https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc#newcode803 chrome/installer/util/google_update_settings.cc:803: Validator::Validate(value)) { Actually, why use a static method inside ...
4 years, 11 months ago (2016-01-22 16:06:50 UTC) #20
Sorin Jianu
Thank you Gab. Feedback addressed or answered. https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc#newcode801 chrome/installer/util/google_update_settings.cc:801: ERROR_SUCCESS && ...
4 years, 11 months ago (2016-01-25 20:04:59 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606943007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606943007/80001
4 years, 11 months ago (2016-01-25 20:11:14 UTC) #23
gab
https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc#newcode803 chrome/installer/util/google_update_settings.cc:803: Validator::Validate(value)) { On 2016/01/25 20:04:58, Sorin Jianu wrote: > ...
4 years, 11 months ago (2016-01-25 20:33:50 UTC) #24
Sorin Jianu
Thank you Gab! PTAL. https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc#newcode803 chrome/installer/util/google_update_settings.cc:803: Validator::Validate(value)) { On 2016/01/25 20:33:50, ...
4 years, 11 months ago (2016-01-25 21:27:56 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606943007/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606943007/120001
4 years, 11 months ago (2016-01-25 21:30:04 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/156957) linux_chromium_rel_ng on ...
4 years, 11 months ago (2016-01-25 22:51:55 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606943007/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606943007/140001
4 years, 11 months ago (2016-01-26 02:37:48 UTC) #31
gab
lgtm with one more question about the policy's documentation https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc#newcode803 chrome/installer/util/google_update_settings.cc:803: ...
4 years, 11 months ago (2016-01-26 03:44:55 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-26 04:14:49 UTC) #34
Sorin Jianu
thank you, feedback answered. https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc File chrome/installer/util/google_update_settings.cc (right): https://codereview.chromium.org/1606943007/diff/40001/chrome/installer/util/google_update_settings.cc#newcode803 chrome/installer/util/google_update_settings.cc:803: Validator::Validate(value)) { On 2016/01/26 03:44:55, ...
4 years, 11 months ago (2016-01-26 18:09:48 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606943007/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606943007/160001
4 years, 11 months ago (2016-01-26 18:15:02 UTC) #38
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 11 months ago (2016-01-26 20:09:50 UTC) #40
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 20:11:45 UTC) #42
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/590586cdcb76d893e591e26209a57edb8700568b
Cr-Commit-Position: refs/heads/master@{#371576}

Powered by Google App Engine
This is Rietveld 408576698