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

Unified Diff: components/component_updater/configurator_impl.cc

Issue 1362043005: Add extensions code to use common updater in components/update_client/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use ConfiguratorImpl, change TestExtensionService, etc Created 5 years, 2 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/configurator_impl.cc
diff --git a/components/component_updater/configurator_impl.cc b/components/component_updater/configurator_impl.cc
index cc6d7f0c4b1df5105475c563ca69795ec85fbfde..ee29df70bf4ffd77954941638275d46238c3a7f9 100644
--- a/components/component_updater/configurator_impl.cc
+++ b/components/component_updater/configurator_impl.cc
@@ -192,4 +192,9 @@ bool ConfiguratorImpl::UseBackgroundDownloader() const {
return background_downloads_enabled_;
}
+void ConfiguratorImpl::set_require_secure_transport(
+ bool require_secure_transport) {
+ fallback_to_alt_source_url_enabled_ = require_secure_transport;
Sorin Jianu 2015/10/14 20:37:09 is the logic correct here? Let's assume require_s
asargent_no_longer_on_chrome 2015/10/15 20:16:02 Oops, great catch. Fixed by switching to setter fo
+}
+
} // namespace component_updater

Powered by Google App Engine
This is Rietveld 408576698