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

Unified Diff: components/component_updater/configurator_impl.h

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.h
diff --git a/components/component_updater/configurator_impl.h b/components/component_updater/configurator_impl.h
index df58473d80449c27bcffa2d13d46d7c89e428c1d..7067c543992ec7fcfb2e2e9c92c6f284c17d94a0 100644
--- a/components/component_updater/configurator_impl.h
+++ b/components/component_updater/configurator_impl.h
@@ -77,6 +77,11 @@ class ConfiguratorImpl {
// non on-demand components.
bool UseBackgroundDownloader() const;
+ // Setting this to true means that we'll only use secure transport (eg https)
+ // for update/ping urls. This is already true by default everywhere but older
+ // versions of Windows XP.
+ void set_require_secure_transport(bool require_secure_transport);
Sorin Jianu 2015/10/14 20:37:09 Maybe we just need a setter: set_enable_alt_source
asargent_no_longer_on_chrome 2015/10/15 20:16:02 Done.
+
private:
net::URLRequestContextGetter* url_request_getter_;
std::string extra_info_;

Powered by Google App Engine
This is Rietveld 408576698