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

Unified Diff: components/update_client/test_configurator.h

Issue 2206583007: Handle the case when the updates are disabled for a component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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/action.cc ('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 e7ed0f84ce27a6b0312e75fda04ba86e0cf7394b..83e01d419a4aa868c09355d0bc6a73a995fe7fb7 100644
--- a/components/update_client/test_configurator.h
+++ b/components/update_client/test_configurator.h
@@ -86,6 +86,7 @@ class TestConfigurator : public Configurator {
void SetInitialDelay(int seconds);
void SetDownloadPreference(const std::string& download_preference);
void SetEnabledCupSigning(bool use_cup_signing);
+ void SetEnabledComponentUpdates(bool enabled_component_updates);
void SetUpdateCheckUrl(const GURL& url);
void SetPingUrl(const GURL& url);
@@ -100,7 +101,8 @@ class TestConfigurator : public Configurator {
int initial_time_;
int ondemand_time_;
std::string download_preference_;
- bool use_cup_signing_;
+ bool enabled_cup_signing_;
+ bool enabled_component_updates_;
GURL update_check_url_;
GURL ping_url_;
« no previous file with comments | « components/update_client/action.cc ('k') | components/update_client/test_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698