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

Unified Diff: components/component_updater/test/test_configurator.h

Issue 565363002: Implement support for fallback update check urls in the component updater (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 3 months 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: components/component_updater/test/test_configurator.h
diff --git a/components/component_updater/test/test_configurator.h b/components/component_updater/test/test_configurator.h
index 7afa918412df9fed176750a426293b2fa47b4e39..b8717e3139beac0d33512bba1b87c303866846f6 100644
--- a/components/component_updater/test/test_configurator.h
+++ b/components/component_updater/test/test_configurator.h
@@ -7,6 +7,7 @@
#include <string>
#include <utility>
+#include <vector>
#include "base/basictypes.h"
#include "base/callback.h"
@@ -15,6 +16,8 @@
#include "components/component_updater/component_updater_configurator.h"
#include "net/url_request/url_request_test_util.h"
+class GURL;
+
namespace component_updater {
#define POST_INTERCEPT_SCHEME "https"
@@ -37,8 +40,8 @@ class TestConfigurator : public Configurator {
virtual int StepDelayMedium() OVERRIDE;
virtual int MinimumReCheckWait() const OVERRIDE;
virtual int OnDemandDelay() const OVERRIDE;
- virtual GURL UpdateUrl() const OVERRIDE;
- virtual GURL PingUrl() const OVERRIDE;
+ virtual std::vector<GURL> UpdateUrl() const OVERRIDE;
+ virtual std::vector<GURL> PingUrl() const OVERRIDE;
virtual base::Version GetBrowserVersion() const OVERRIDE;
virtual std::string GetChannel() const OVERRIDE;
virtual std::string GetLang() const OVERRIDE;
@@ -55,7 +58,6 @@ class TestConfigurator : public Configurator {
virtual scoped_refptr<base::SingleThreadTaskRunner>
GetSingleThreadTaskRunner() const OVERRIDE;
- typedef std::pair<CrxComponent*, int> CheckAtLoopCount;
void SetLoopCount(int times);
void SetRecheckTime(int seconds);
void SetOnDemandTime(int seconds);
« no previous file with comments | « components/component_updater/test/request_sender_unittest.cc ('k') | components/component_updater/test/test_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698