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

Unified Diff: components/update_client/action_update_check.h

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/action_update.cc ('k') | components/update_client/action_update_check.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/action_update_check.h
diff --git a/components/update_client/action_update_check.h b/components/update_client/action_update_check.h
index 7576d64373669b6d2d16b83dfbc9a6b1b4421837..67fc4d12a055e9c54290aba7a7286f44c4050a86 100644
--- a/components/update_client/action_update_check.h
+++ b/components/update_client/action_update_check.h
@@ -36,7 +36,9 @@ class ActionUpdateCheck : public Action, private ActionImpl {
void Run(UpdateContext* update_context, Callback callback) override;
private:
- void UpdateCheckComplete(int error, const UpdateResponse::Results& results);
+ void UpdateCheckComplete(int error,
+ const UpdateResponse::Results& results,
+ int retry_after_sec);
void OnUpdateCheckSucceeded(const UpdateResponse::Results& results);
void OnUpdateCheckFailed(int error);
« no previous file with comments | « components/update_client/action_update.cc ('k') | components/update_client/action_update_check.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698