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

Unified Diff: chrome/browser/component_updater/chrome_component_updater_configurator.cc

Issue 1740333002: Allow fallback from https to http for component update checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/chrome_component_updater_configurator.cc
diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator.cc b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
index f915a8cafc439a686b74483651bfa154eb85ad6f..97e99e71a3045c27056573ceeca06d0449e41e9f 100644
--- a/chrome/browser/component_updater/chrome_component_updater_configurator.cc
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
@@ -64,10 +64,13 @@ class ChromeConfigurator : public update_client::Configurator {
~ChromeConfigurator() override {}
};
+// Allows the component updater to use non-encrypted communication with the
+// update backend. The security of the update checks is enforced using
+// a custom message signing protocol and it does not depend on using HTTPS.
ChromeConfigurator::ChromeConfigurator(
const base::CommandLine* cmdline,
net::URLRequestContextGetter* url_request_getter)
- : configurator_impl_(cmdline, url_request_getter) {}
+ : configurator_impl_(cmdline, url_request_getter, false) {}
int ChromeConfigurator::InitialDelay() const {
return configurator_impl_.InitialDelay();

Powered by Google App Engine
This is Rietveld 408576698