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

Unified Diff: components/update_client/test_configurator.h

Issue 1685323002: Implement CUP signing in UpdateClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and remove duplicated code comment. Created 4 years, 10 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/request_sender_unittest.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 2aa5ff2ad7735c014bd7fdee44019ec7ffa9867b..e4c72f2ae866621e0ea254e6a2b85c49cc240e7d 100644
--- a/components/update_client/test_configurator.h
+++ b/components/update_client/test_configurator.h
@@ -73,12 +73,14 @@ class TestConfigurator : public Configurator {
scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override;
bool DeltasEnabled() const override;
bool UseBackgroundDownloader() const override;
+ bool UseCupSigning() const override;
scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
const override;
void SetOnDemandTime(int seconds);
void SetInitialDelay(int seconds);
void SetDownloadPreference(const std::string& download_preference);
+ void SetUseCupSigning(bool use_cup_signing);
private:
friend class base::RefCountedThreadSafe<TestConfigurator>;
@@ -90,6 +92,7 @@ class TestConfigurator : public Configurator {
int initial_time_;
int ondemand_time_;
std::string download_preference_;
+ bool use_cup_signing_;
scoped_refptr<net::TestURLRequestContextGetter> context_;
« no previous file with comments | « components/update_client/request_sender_unittest.cc ('k') | components/update_client/test_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698