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

Unified Diff: components/component_updater/component_updater_url_constants.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: components/component_updater/component_updater_url_constants.cc
diff --git a/components/component_updater/component_updater_url_constants.cc b/components/component_updater/component_updater_url_constants.cc
index 3cb8ef1e289295f5bac947373088f0184385f1e9..c762cc91d9bef5ca0f0817f66887b68ccc4b1116 100644
--- a/components/component_updater/component_updater_url_constants.cc
+++ b/components/component_updater/component_updater_url_constants.cc
@@ -7,10 +7,15 @@
namespace component_updater {
// The default URL for the v3 protocol service endpoint. In some cases, the
-// component updater is allowed to fall back to and alternate URL source, if
+// component updater is allowed to fall back to other URL endpoints, if
// the request to the default URL source fails.
+//
+// The responses to the requests made to these endpoints are always signed.
+//
// The value of |kDefaultUrlSource| can be overridden with
// --component-updater=url-source=someurl.
const char kUpdaterDefaultUrl[] = "https://clients2.google.com/service/update2";
+const char kUpdaterFallbackUrl[] = "http://clients2.google.com/service/update2";
+
} // namespace component_updater
« no previous file with comments | « components/component_updater/component_updater_url_constants.h ('k') | components/component_updater/configurator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698