summaryrefslogtreecommitdiffstats
path: root/components/component_updater/configurator_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/component_updater/configurator_impl.h')
-rw-r--r--components/component_updater/configurator_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/component_updater/configurator_impl.h b/components/component_updater/configurator_impl.h
index df58473..b2e75a9 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 false means that we'll only use secure transport (eg https)
+ // for update/ping urls. This is already false by default everywhere but older
+ // versions of Windows XP.
+ void set_enable_alt_source_url(bool enable_alt_source_url);
+
private:
net::URLRequestContextGetter* url_request_getter_;
std::string extra_info_;