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

Unified Diff: ios/chrome/browser/component_updater/ios_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
« no previous file with comments | « extensions/browser/updater/update_data_provider.cc ('k') | ios/chrome/browser/net/crl_set_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
diff --git a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
index 0ad785b51fac8c659fcb38dbb7dc0878fedfc5cd..c92046e5032dbcf99097557a96ab0dd67fe8208a 100644
--- a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
+++ b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
@@ -57,10 +57,13 @@ class IOSConfigurator : public update_client::Configurator {
~IOSConfigurator() 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.
IOSConfigurator::IOSConfigurator(
const base::CommandLine* cmdline,
net::URLRequestContextGetter* url_request_getter)
- : configurator_impl_(cmdline, url_request_getter) {}
+ : configurator_impl_(cmdline, url_request_getter, false) {}
int IOSConfigurator::InitialDelay() const {
return configurator_impl_.InitialDelay();
« no previous file with comments | « extensions/browser/updater/update_data_provider.cc ('k') | ios/chrome/browser/net/crl_set_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698