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

Unified Diff: components/update_client/update_checker_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, 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
Index: components/update_client/update_checker_unittest.cc
diff --git a/components/update_client/update_checker_unittest.cc b/components/update_client/update_checker_unittest.cc
index 85457b9248f53241bb5d6e4f4a6bb635b79d228f..513ebdf03ed618b6417f6cc885d457ba98296204 100644
--- a/components/update_client/update_checker_unittest.cc
+++ b/components/update_client/update_checker_unittest.cc
@@ -47,7 +47,9 @@ class UpdateCheckerTest : public testing::Test {
void SetUp() override;
void TearDown() override;
- void UpdateCheckComplete(int error, const UpdateResponse::Results& results);
+ void UpdateCheckComplete(int error,
+ const UpdateResponse::Results& results,
+ int retry_after_sec);
protected:
void Quit();
@@ -129,7 +131,8 @@ void UpdateCheckerTest::Quit() {
void UpdateCheckerTest::UpdateCheckComplete(
int error,
- const UpdateResponse::Results& results) {
+ const UpdateResponse::Results& results,
+ int retry_after_sec) {
error_ = error;
results_ = results;
Quit();

Powered by Google App Engine
This is Rietveld 408576698