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

Unified Diff: components/update_client/test_configurator.cc

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/test_configurator.h ('k') | components/update_client/update_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/test_configurator.cc
diff --git a/components/update_client/test_configurator.cc b/components/update_client/test_configurator.cc
index f36ba30fac334943911ae88be7214db15c7e894d..1e4e76ea7def9e06e8e6e9ec71c479b931e40eed 100644
--- a/components/update_client/test_configurator.cc
+++ b/components/update_client/test_configurator.cc
@@ -82,6 +82,10 @@ std::string TestConfigurator::ExtraRequestParams() const {
return "extra=\"foo\"";
}
+std::string TestConfigurator::GetDownloadPreference() const {
+ return download_preference_;
+}
+
net::URLRequestContextGetter* TestConfigurator::RequestContext() const {
return context_.get();
}
@@ -107,6 +111,11 @@ void TestConfigurator::SetInitialDelay(int seconds) {
initial_time_ = seconds;
}
+void TestConfigurator::SetDownloadPreference(
+ const std::string& download_preference) {
+ download_preference_ = download_preference;
+}
+
scoped_refptr<base::SequencedTaskRunner>
TestConfigurator::GetSequencedTaskRunner() const {
DCHECK(worker_task_runner_.get());
« no previous file with comments | « components/update_client/test_configurator.h ('k') | components/update_client/update_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698