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

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, 10 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: 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 ea16f56f3c78a818ee270d3c965dcf38fd9c37ba..a5e65a3bec4877994d2fe5ca5d7306fc5c58f02f 100644
--- a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
+++ b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
@@ -55,10 +55,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();

Powered by Google App Engine
This is Rietveld 408576698