OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST
_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST
_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST
_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST
_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 // Overrrides for ComponentUpdateService::Configurator. | 70 // Overrrides for ComponentUpdateService::Configurator. |
71 virtual int InitialDelay() OVERRIDE; | 71 virtual int InitialDelay() OVERRIDE; |
72 virtual int NextCheckDelay() OVERRIDE; | 72 virtual int NextCheckDelay() OVERRIDE; |
73 virtual int StepDelay() OVERRIDE; | 73 virtual int StepDelay() OVERRIDE; |
74 virtual int StepDelayMedium() OVERRIDE; | 74 virtual int StepDelayMedium() OVERRIDE; |
75 virtual int MinimumReCheckWait() OVERRIDE; | 75 virtual int MinimumReCheckWait() OVERRIDE; |
76 virtual int OnDemandDelay() OVERRIDE; | 76 virtual int OnDemandDelay() OVERRIDE; |
77 virtual GURL UpdateUrl() OVERRIDE; | 77 virtual GURL UpdateUrl() OVERRIDE; |
78 virtual GURL PingUrl() OVERRIDE; | 78 virtual GURL PingUrl() OVERRIDE; |
79 virtual const char* ExtraRequestParams() OVERRIDE; | 79 virtual std::string ExtraRequestParams() OVERRIDE; |
80 virtual size_t UrlSizeLimit() OVERRIDE; | 80 virtual size_t UrlSizeLimit() OVERRIDE; |
81 virtual net::URLRequestContextGetter* RequestContext() OVERRIDE; | 81 virtual net::URLRequestContextGetter* RequestContext() OVERRIDE; |
82 virtual bool InProcess() OVERRIDE; | 82 virtual bool InProcess() OVERRIDE; |
83 virtual ComponentPatcher* CreateComponentPatcher() OVERRIDE; | 83 virtual ComponentPatcher* CreateComponentPatcher() OVERRIDE; |
84 virtual bool DeltasEnabled() const OVERRIDE; | 84 virtual bool DeltasEnabled() const OVERRIDE; |
85 virtual bool UseBackgroundDownloader() const OVERRIDE; | 85 virtual bool UseBackgroundDownloader() const OVERRIDE; |
86 | 86 |
87 typedef std::pair<CrxComponent*, int> CheckAtLoopCount; | 87 typedef std::pair<CrxComponent*, int> CheckAtLoopCount; |
88 void SetLoopCount(int times); | 88 void SetLoopCount(int times); |
89 void SetRecheckTime(int seconds); | 89 void SetRecheckTime(int seconds); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 class OnDemandTester { | 159 class OnDemandTester { |
160 public: | 160 public: |
161 static ComponentUpdateService::Status OnDemand( | 161 static ComponentUpdateService::Status OnDemand( |
162 ComponentUpdateService* cus, const std::string& component_id); | 162 ComponentUpdateService* cus, const std::string& component_id); |
163 }; | 163 }; |
164 | 164 |
165 } // namespace component_updater | 165 } // namespace component_updater |
166 | 166 |
167 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITT
EST_H_ | 167 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITT
EST_H_ |
OLD | NEW |