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

Unified Diff: components/update_client/ping_manager.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: Fix for 0u literal. 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
Index: components/update_client/ping_manager.h
diff --git a/components/update_client/ping_manager.h b/components/update_client/ping_manager.h
index d5a6311d4cb1f352aff12e3127c433c7b2a19342..c907e7df2bbf0143158145926972cfae84180527 100644
--- a/components/update_client/ping_manager.h
+++ b/components/update_client/ping_manager.h
@@ -19,7 +19,11 @@ class PingManager {
explicit PingManager(const scoped_refptr<Configurator>& config);
virtual ~PingManager();
- virtual void SendPing(const CrxUpdateItem* item);
+ // Sends a fire and forget ping for the |item|. Returns true if the
+ // ping is queued up and may be sent in the future, or false, if an error
+ // occurs right away. The ping itself is not persisted and it will be
+ // discarded if it can't be sent for any reason.
+ virtual bool SendPing(const CrxUpdateItem* item);
private:
const scoped_refptr<Configurator> config_;

Powered by Google App Engine
This is Rietveld 408576698