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

Unified Diff: components/update_client/test_configurator.h

Issue 1606943007: Implement Windows GPO support for "dlpref" in component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace comments only Created 4 years, 11 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/ping_manager.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 b1e64e97829f7e3d9dac7a364dacb931bb0a01a6..2aa5ff2ad7735c014bd7fdee44019ec7ffa9867b 100644
--- a/components/update_client/test_configurator.h
+++ b/components/update_client/test_configurator.h
@@ -68,6 +68,7 @@ class TestConfigurator : public Configurator {
std::string GetLang() const override;
std::string GetOSLongName() const override;
std::string ExtraRequestParams() const override;
+ std::string GetDownloadPreference() const override;
net::URLRequestContextGetter* RequestContext() const override;
scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override;
bool DeltasEnabled() const override;
@@ -77,6 +78,7 @@ class TestConfigurator : public Configurator {
void SetOnDemandTime(int seconds);
void SetInitialDelay(int seconds);
+ void SetDownloadPreference(const std::string& download_preference);
private:
friend class base::RefCountedThreadSafe<TestConfigurator>;
@@ -87,6 +89,7 @@ class TestConfigurator : public Configurator {
int initial_time_;
int ondemand_time_;
+ std::string download_preference_;
scoped_refptr<net::TestURLRequestContextGetter> context_;
« no previous file with comments | « components/update_client/ping_manager.cc ('k') | components/update_client/test_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698