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

Issue 1740333002: Allow fallback from https to http for component update checks. (Closed)

Created:
4 years, 9 months ago by Sorin Jianu
Modified:
4 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, sdefresne+watch_chromium.org, extensions-reviews_chromium.org, jschuh, penny
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow fallback from https to http for component update checks. Component updater relies on its custom message signing protocol to guarantee the integrity of update checks. As a failover mechanism and to improve the update success rates, fallback to HTTP is allowed. This is similar to what Google Update (Omaha) has been doing. BUG=590070 Committed: https://crrev.com/fccbf2db6bcb97e556e46f8ca15437de38657cf5 Cr-Commit-Position: refs/heads/master@{#384993}

Patch Set 1 #

Patch Set 2 : fix bug in filtering urls. #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Consider privacy reqs before falling back to HTTP. #

Patch Set 5 : Fix for 0u literal. #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -93 lines) Patch
M chrome/browser/component_updater/caps_installer_win.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/chrome_component_updater_configurator.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc View 1 3 chunks +34 lines, -1 line 0 comments Download
M chrome/browser/component_updater/cld_component_installer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/component_updater/cld_component_installer.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/ev_whitelist_component_installer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/component_updater/ev_whitelist_component_installer.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/supervised_user_whitelist_installer.cc View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/widevine_cdm_component_installer.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/updater/chrome_update_client_config.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/net/crl_set_fetcher.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M components/component_updater/component_updater_service.cc View 1 2 3 1 chunk +23 lines, -6 lines 0 comments Download
M components/component_updater/component_updater_url_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/component_updater/component_updater_url_constants.cc View 1 chunk +6 lines, -1 line 0 comments Download
M components/component_updater/configurator_impl.h View 2 chunks +3 lines, -1 line 0 comments Download
M components/component_updater/configurator_impl.cc View 1 2 3 3 chunks +12 lines, -5 lines 0 comments Download
M components/component_updater/default_component_installer.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/component_updater/default_component_installer.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/update_client/action_update.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/update_client/action_update_check.h View 1 chunk +3 lines, -1 line 0 comments Download
M components/update_client/action_update_check.cc View 1 chunk +4 lines, -1 line 0 comments Download
M components/update_client/ping_manager.h View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M components/update_client/ping_manager.cc View 1 2 3 4 chunks +15 lines, -8 lines 0 comments Download
M components/update_client/ping_manager_unittest.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M components/update_client/request_sender.h View 1 2 3 4 5 4 chunks +23 lines, -9 lines 0 comments Download
M components/update_client/request_sender.cc View 1 2 3 9 chunks +63 lines, -16 lines 0 comments Download
M components/update_client/request_sender_unittest.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M components/update_client/test_configurator.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M components/update_client/test_configurator.cc View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M components/update_client/update_checker.h View 1 chunk +3 lines, -1 line 0 comments Download
M components/update_client/update_checker.cc View 1 2 3 4 chunks +24 lines, -9 lines 0 comments Download
M components/update_client/update_checker_unittest.cc View 1 2 3 4 3 chunks +26 lines, -2 lines 0 comments Download
M components/update_client/update_client.h View 1 2 3 2 chunks +9 lines, -4 lines 0 comments Download
M components/update_client/update_client.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M components/update_client/update_client_unittest.cc View 1 2 3 13 chunks +183 lines, -12 lines 0 comments Download
M components/update_client/update_engine.h View 3 chunks +13 lines, -0 lines 0 comments Download
M components/update_client/update_engine.cc View 1 2 3 5 chunks +33 lines, -2 lines 0 comments Download
M components/update_client/utils.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M components/update_client/utils.cc View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M components/update_client/utils_unittest.cc View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M extensions/browser/updater/update_data_provider.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/component_updater/ios_component_updater_configurator.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M ios/chrome/browser/net/crl_set_fetcher.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 34 (15 generated)
Sorin Jianu
Please, I need owners approval for the files under: chrome\browser\extensions\updater\chrome_update_client_config.cc ios\chrome\browser\component_updater\ios_component_updater_configurator.cc The change for the ...
4 years, 9 months ago (2016-02-27 00:46:32 UTC) #3
rohitrao (ping after 24h)
ios/ code changes LGTM assuming security and other stakeholders have signed off on this change
4 years, 9 months ago (2016-02-27 00:51:42 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740333002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740333002/1
4 years, 9 months ago (2016-02-27 00:53:13 UTC) #6
waffles
lgtm
4 years, 9 months ago (2016-02-27 01:43:56 UTC) #7
asargent_no_longer_on_chrome
Code change in chrome/browser/extensions lgtm However, I'd strongly advise you to get security sign off ...
4 years, 9 months ago (2016-02-29 18:26:09 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740333002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740333002/60001
4 years, 8 months ago (2016-04-03 22:52:01 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/195036)
4 years, 8 months ago (2016-04-03 22:56:13 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740333002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740333002/80001
4 years, 8 months ago (2016-04-04 16:57:00 UTC) #14
Sorin Jianu
Adam, I need the owners' approval for the paths including crl_set. This is a large ...
4 years, 8 months ago (2016-04-04 17:20:30 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-04 17:43:04 UTC) #18
waffles
lgtm https://codereview.chromium.org/1740333002/diff/80001/components/update_client/request_sender.h File components/update_client/request_sender.h (right): https://codereview.chromium.org/1740333002/diff/80001/components/update_client/request_sender.h#newcode41 components/update_client/request_sender.h:41: // when the response was received from a ...
4 years, 8 months ago (2016-04-04 17:44:44 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740333002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740333002/100001
4 years, 8 months ago (2016-04-04 18:01:39 UTC) #21
Sorin Jianu
Thank you waffles@ https://codereview.chromium.org/1740333002/diff/80001/components/update_client/request_sender.h File components/update_client/request_sender.h (right): https://codereview.chromium.org/1740333002/diff/80001/components/update_client/request_sender.h#newcode41 components/update_client/request_sender.h:41: // when the response was received ...
4 years, 8 months ago (2016-04-04 18:01:40 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-04 19:57:54 UTC) #24
Sorin Jianu
Ryan, could you please help with the owners' approval for crl set paths? It appears ...
4 years, 8 months ago (2016-04-04 20:09:43 UTC) #26
Ryan Sleevi
CRLSet change LGTM
4 years, 8 months ago (2016-04-04 20:25:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740333002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740333002/100001
4 years, 8 months ago (2016-04-04 20:27:37 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-04 20:34:43 UTC) #32
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 20:36:11 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fccbf2db6bcb97e556e46f8ca15437de38657cf5
Cr-Commit-Position: refs/heads/master@{#384993}

Powered by Google App Engine
This is Rietveld 408576698