| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ | 5 #ifndef COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ |
| 6 #define COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ | 6 #define COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 std::string GetLang() const override; | 74 std::string GetLang() const override; |
| 75 std::string GetOSLongName() const override; | 75 std::string GetOSLongName() const override; |
| 76 std::string ExtraRequestParams() const override; | 76 std::string ExtraRequestParams() const override; |
| 77 std::string GetDownloadPreference() const override; | 77 std::string GetDownloadPreference() const override; |
| 78 net::URLRequestContextGetter* RequestContext() const override; | 78 net::URLRequestContextGetter* RequestContext() const override; |
| 79 scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override; | 79 scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override; |
| 80 bool EnabledDeltas() const override; | 80 bool EnabledDeltas() const override; |
| 81 bool EnabledComponentUpdates() const override; | 81 bool EnabledComponentUpdates() const override; |
| 82 bool EnabledBackgroundDownloader() const override; | 82 bool EnabledBackgroundDownloader() const override; |
| 83 bool EnabledCupSigning() const override; | 83 bool EnabledCupSigning() const override; |
| 84 bool EnabledImprovedRecovery() const override; |
| 84 scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner() | 85 scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner() |
| 85 const override; | 86 const override; |
| 86 PrefService* GetPrefService() const override; | 87 PrefService* GetPrefService() const override; |
| 87 bool IsPerUserInstall() const override; | 88 bool IsPerUserInstall() const override; |
| 88 | 89 |
| 89 void SetBrand(const std::string& brand); | 90 void SetBrand(const std::string& brand); |
| 90 void SetOnDemandTime(int seconds); | 91 void SetOnDemandTime(int seconds); |
| 91 void SetInitialDelay(int seconds); | 92 void SetInitialDelay(int seconds); |
| 92 void SetDownloadPreference(const std::string& download_preference); | 93 void SetDownloadPreference(const std::string& download_preference); |
| 93 void SetEnabledCupSigning(bool use_cup_signing); | 94 void SetEnabledCupSigning(bool use_cup_signing); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 112 GURL ping_url_; | 113 GURL ping_url_; |
| 113 | 114 |
| 114 scoped_refptr<net::TestURLRequestContextGetter> context_; | 115 scoped_refptr<net::TestURLRequestContextGetter> context_; |
| 115 | 116 |
| 116 DISALLOW_COPY_AND_ASSIGN(TestConfigurator); | 117 DISALLOW_COPY_AND_ASSIGN(TestConfigurator); |
| 117 }; | 118 }; |
| 118 | 119 |
| 119 } // namespace update_client | 120 } // namespace update_client |
| 120 | 121 |
| 121 #endif // COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ | 122 #endif // COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ |
| OLD | NEW |