Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5773)

Unified Diff: chrome/browser/component_updater/test/component_updater_service_unittest.h

Issue 105853002: Implement a background downloader using BITS in Windows Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/test/component_updater_service_unittest.h
diff --git a/chrome/browser/component_updater/test/component_updater_service_unittest.h b/chrome/browser/component_updater/test/component_updater_service_unittest.h
index d510158e227a6020091be3f5d20692091c505201..2a73215f2f68fb3dff85c2d860c7e3ccf5a4fc3a 100644
--- a/chrome/browser/component_updater/test/component_updater_service_unittest.h
+++ b/chrome/browser/component_updater/test/component_updater_service_unittest.h
@@ -64,40 +64,27 @@ const uint8 ihfo_hash[] = {0x87, 0x5e, 0xa1, 0xa6, 0x9f, 0x85, 0xd1, 0x1e,
class TestConfigurator : public ComponentUpdateService::Configurator {
public:
- explicit TestConfigurator();
-
+ TestConfigurator();
virtual ~TestConfigurator();
+ // Overrrides for ComponentUpdateService::Configurator.
virtual int InitialDelay() OVERRIDE;
-
- typedef std::pair<CrxComponent*, int> CheckAtLoopCount;
-
virtual int NextCheckDelay() OVERRIDE;
-
virtual int StepDelay() OVERRIDE;
-
virtual int StepDelayMedium() OVERRIDE;
-
virtual int MinimumReCheckWait() OVERRIDE;
-
virtual int OnDemandDelay() OVERRIDE;
-
virtual GURL UpdateUrl() OVERRIDE;
-
virtual GURL PingUrl() OVERRIDE;
-
virtual const char* ExtraRequestParams() OVERRIDE;
-
virtual size_t UrlSizeLimit() OVERRIDE;
-
virtual net::URLRequestContextGetter* RequestContext() OVERRIDE;
-
- // Don't use the utility process to run component updater code.
virtual bool InProcess() OVERRIDE;
-
virtual ComponentPatcher* CreateComponentPatcher() OVERRIDE;
-
virtual bool DeltasEnabled() const OVERRIDE;
+ virtual bool UseBackgroundDownloader() const OVERRIDE;
waffles 2013/12/05 01:15:07 Can we also remove the extra \n from the non-virtu
Sorin Jianu 2013/12/05 01:43:07 Done.
Sorin Jianu 2013/12/05 01:43:07 Done.
+
+ typedef std::pair<CrxComponent*, int> CheckAtLoopCount;
void SetLoopCount(int times);

Powered by Google App Engine
This is Rietveld 408576698