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

Unified Diff: components/update_client/test_configurator.h

Issue 1823273002: Send the value of google_brand::GetBrand in component update checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor unit test improvement. Created 4 years, 9 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
« no previous file with comments | « components/update_client/configurator.h ('k') | components/update_client/test_configurator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/test_configurator.h
diff --git a/components/update_client/test_configurator.h b/components/update_client/test_configurator.h
index e4c72f2ae866621e0ea254e6a2b85c49cc240e7d..391ebc945bd038eaf7fd502bc6f9a050ff2e4cdd 100644
--- a/components/update_client/test_configurator.h
+++ b/components/update_client/test_configurator.h
@@ -65,6 +65,7 @@ class TestConfigurator : public Configurator {
std::vector<GURL> PingUrl() const override;
base::Version GetBrowserVersion() const override;
std::string GetChannel() const override;
+ std::string GetBrand() const override;
std::string GetLang() const override;
std::string GetOSLongName() const override;
std::string ExtraRequestParams() const override;
@@ -77,6 +78,7 @@ class TestConfigurator : public Configurator {
scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
const override;
+ void SetBrand(const std::string& brand);
void SetOnDemandTime(int seconds);
void SetInitialDelay(int seconds);
void SetDownloadPreference(const std::string& download_preference);
@@ -89,6 +91,7 @@ class TestConfigurator : public Configurator {
scoped_refptr<base::SequencedTaskRunner> worker_task_runner_;
+ std::string brand_;
int initial_time_;
int ondemand_time_;
std::string download_preference_;
« no previous file with comments | « components/update_client/configurator.h ('k') | components/update_client/test_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698