Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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://
Patch Set: Fixed error codes. 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..44283fd2e00c95fc0ed7ad02002d21c8969afd8a 100644
--- a/chrome/browser/component_updater/test/component_updater_service_unittest.h
+++ b/chrome/browser/component_updater/test/component_updater_service_unittest.h
@@ -64,51 +64,32 @@ const uint8 ihfo_hash[] = {0x87, 0x5e, 0xa1, 0xa6, 0x9f, 0x85, 0xd1, 0x1e,
class TestConfigurator : public ComponentUpdateService::Configurator {
- 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;
+ typedef std::pair<CrxComponent*, int> CheckAtLoopCount;
void SetLoopCount(int times);
void SetRecheckTime(int seconds);
void SetOnDemandTime(int seconds);
void SetComponentUpdateService(ComponentUpdateService* cus);
void SetQuitClosure(const base::Closure& quit_closure);
void SetInitialDelay(int seconds);

Powered by Google App Engine
This is Rietveld 408576698