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

Unified Diff: components/update_client/update_checker.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/test_configurator.cc ('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/update_checker.h
diff --git a/components/update_client/update_checker.h b/components/update_client/update_checker.h
index 1de7f0cf79da5454e619ffdfaae4ae975056f750..1f0eb99389c62b5f5200064894870068f6ebd158 100644
--- a/components/update_client/update_checker.h
+++ b/components/update_client/update_checker.h
@@ -25,7 +25,9 @@ struct CrxUpdateItem;
class UpdateChecker {
public:
using UpdateCheckCallback =
- base::Callback<void(int error, const UpdateResponse::Results& results)>;
+ base::Callback<void(int error,
+ const UpdateResponse::Results& results,
+ int retry_after_sec)>;
using Factory =
scoped_ptr<UpdateChecker> (*)(const scoped_refptr<Configurator>& config);
« no previous file with comments | « components/update_client/test_configurator.cc ('k') | components/update_client/update_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698