| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // True is the component updates are enabled. | 81 // True is the component updates are enabled. |
| 82 bool EnabledComponentUpdates() const; | 82 bool EnabledComponentUpdates() const; |
| 83 | 83 |
| 84 // True means that the background downloader can be used for downloading | 84 // True means that the background downloader can be used for downloading |
| 85 // non on-demand components. | 85 // non on-demand components. |
| 86 bool EnabledBackgroundDownloader() const; | 86 bool EnabledBackgroundDownloader() const; |
| 87 | 87 |
| 88 // True if signing of update checks is enabled. | 88 // True if signing of update checks is enabled. |
| 89 bool EnabledCupSigning() const; | 89 bool EnabledCupSigning() const; |
| 90 | 90 |
| 91 // True if the improved recovery component is enabled. |
| 92 bool EnabledImprovedRecovery() const; |
| 93 |
| 91 private: | 94 private: |
| 92 net::URLRequestContextGetter* url_request_getter_; | 95 net::URLRequestContextGetter* url_request_getter_; |
| 93 std::string extra_info_; | 96 std::string extra_info_; |
| 94 GURL url_source_override_; | 97 GURL url_source_override_; |
| 95 bool fast_update_; | 98 bool fast_update_; |
| 96 bool pings_enabled_; | 99 bool pings_enabled_; |
| 97 bool deltas_enabled_; | 100 bool deltas_enabled_; |
| 98 bool background_downloads_enabled_; | 101 bool background_downloads_enabled_; |
| 99 bool require_encryption_; | 102 bool require_encryption_; |
| 103 bool enabled_improved_recovery_; |
| 100 | 104 |
| 101 DISALLOW_COPY_AND_ASSIGN(ConfiguratorImpl); | 105 DISALLOW_COPY_AND_ASSIGN(ConfiguratorImpl); |
| 102 }; | 106 }; |
| 103 | 107 |
| 104 } // namespace component_updater | 108 } // namespace component_updater |
| 105 | 109 |
| 106 #endif // COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ | 110 #endif // COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ |
| OLD | NEW |