| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ | 5 #ifndef COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ |
| 6 #define COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ | 6 #define COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // The source of contexts for all the url requests. | 74 // The source of contexts for all the url requests. |
| 75 net::URLRequestContextGetter* RequestContext() const; | 75 net::URLRequestContextGetter* RequestContext() const; |
| 76 | 76 |
| 77 // True means that this client can handle delta updates. | 77 // True means that this client can handle delta updates. |
| 78 bool DeltasEnabled() const; | 78 bool DeltasEnabled() const; |
| 79 | 79 |
| 80 // True means that the background downloader can be used for downloading | 80 // True means that the background downloader can be used for downloading |
| 81 // non on-demand components. | 81 // non on-demand components. |
| 82 bool UseBackgroundDownloader() const; | 82 bool UseBackgroundDownloader() const; |
| 83 | 83 |
| 84 // True if signing of update checks is enabled. |
| 85 bool UseCupSigning() const; |
| 86 |
| 84 private: | 87 private: |
| 85 net::URLRequestContextGetter* url_request_getter_; | 88 net::URLRequestContextGetter* url_request_getter_; |
| 86 std::string extra_info_; | 89 std::string extra_info_; |
| 87 GURL url_source_override_; | 90 GURL url_source_override_; |
| 88 bool fast_update_; | 91 bool fast_update_; |
| 89 bool pings_enabled_; | 92 bool pings_enabled_; |
| 90 bool deltas_enabled_; | 93 bool deltas_enabled_; |
| 91 bool background_downloads_enabled_; | 94 bool background_downloads_enabled_; |
| 92 | 95 |
| 93 DISALLOW_COPY_AND_ASSIGN(ConfiguratorImpl); | 96 DISALLOW_COPY_AND_ASSIGN(ConfiguratorImpl); |
| 94 }; | 97 }; |
| 95 | 98 |
| 96 } // namespace component_updater | 99 } // namespace component_updater |
| 97 | 100 |
| 98 #endif // COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ | 101 #endif // COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ |
| OLD | NEW |