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

Unified Diff: components/update_client/request_sender_unittest.cc

Issue 1740333002: Allow fallback from https to http for component update checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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.cc ('k') | components/update_client/test_configurator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/request_sender_unittest.cc
diff --git a/components/update_client/request_sender_unittest.cc b/components/update_client/request_sender_unittest.cc
index 5132fd9e92b28fd3c55c832dbbe97050c39f2fa6..55821324cbcace02f9e86998673efaef46cae94f 100644
--- a/components/update_client/request_sender_unittest.cc
+++ b/components/update_client/request_sender_unittest.cc
@@ -45,7 +45,9 @@ class RequestSenderTest : public testing::Test {
void SetUp() override;
void TearDown() override;
- void RequestSenderComplete(int error, const std::string& response);
+ void RequestSenderComplete(int error,
+ const std::string& response,
+ int retry_after_sec);
protected:
void Quit();
@@ -124,7 +126,8 @@ void RequestSenderTest::Quit() {
}
void RequestSenderTest::RequestSenderComplete(int error,
- const std::string& response) {
+ const std::string& response,
+ int retry_after_sec) {
error_ = error;
response_ = response;
« no previous file with comments | « components/update_client/request_sender.cc ('k') | components/update_client/test_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698