diff options
author | sorin <sorin@chromium.org> | 2016-02-17 10:45:17 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-17 18:46:51 +0000 |
commit | 1bc5eff904e6e20191a0abc2ab7a4c75c31dcc1f (patch) | |
tree | 3982cbb00d3e68792199112696315313f3b3560f /components/component_updater | |
parent | 4ae838b9c5d4ad2b0751c63a5ccd6bda1065989e (diff) | |
download | chromium_src-1bc5eff904e6e20191a0abc2ab7a4c75c31dcc1f.zip chromium_src-1bc5eff904e6e20191a0abc2ab7a4c75c31dcc1f.tar.gz chromium_src-1bc5eff904e6e20191a0abc2ab7a4c75c31dcc1f.tar.bz2 |
Implement CUP signing in UpdateClient.
BUG=583027
Review URL: https://codereview.chromium.org/1685323002
Cr-Commit-Position: refs/heads/master@{#375930}
Diffstat (limited to 'components/component_updater')
-rw-r--r-- | components/component_updater/configurator_impl.cc | 4 | ||||
-rw-r--r-- | components/component_updater/configurator_impl.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/components/component_updater/configurator_impl.cc b/components/component_updater/configurator_impl.cc index 35c1793..6372118 100644 --- a/components/component_updater/configurator_impl.cc +++ b/components/component_updater/configurator_impl.cc @@ -178,4 +178,8 @@ bool ConfiguratorImpl::UseBackgroundDownloader() const { return background_downloads_enabled_; } +bool ConfiguratorImpl::UseCupSigning() const { + return true; +} + } // namespace component_updater diff --git a/components/component_updater/configurator_impl.h b/components/component_updater/configurator_impl.h index 09170d4..d5f99cf 100644 --- a/components/component_updater/configurator_impl.h +++ b/components/component_updater/configurator_impl.h @@ -81,6 +81,9 @@ class ConfiguratorImpl { // non on-demand components. bool UseBackgroundDownloader() const; + // True if signing of update checks is enabled. + bool UseCupSigning() const; + private: net::URLRequestContextGetter* url_request_getter_; std::string extra_info_; |