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

Unified Diff: google_apis/gcm/engine/connection_event_tracker.h

Issue 2628733004: Update ConnectionEventTracker to check if there is an in progress attempt. (Closed)
Patch Set: Rebase and fix nits Created 3 years, 11 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 | « no previous file | google_apis/gcm/engine/connection_event_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/connection_event_tracker.h
diff --git a/google_apis/gcm/engine/connection_event_tracker.h b/google_apis/gcm/engine/connection_event_tracker.h
index 2e1827379590e6809b9380c8e90464be7a13af41..6c3a54d52d1e430a3329a1bb277dfbbcbed65197 100644
--- a/google_apis/gcm/engine/connection_event_tracker.h
+++ b/google_apis/gcm/engine/connection_event_tracker.h
@@ -22,6 +22,9 @@ class GCM_EXPORT ConnectionEventTracker {
ConnectionEventTracker();
~ConnectionEventTracker();
+ // Returns a boolean indicating whether an attempt is currently in progress.
+ bool IsEventInProgress() const;
+
// Start recording a new connection attempt. This should never be called if
// a connection attempt is already ongoing.
void StartConnectionAttempt();
« no previous file with comments | « no previous file | google_apis/gcm/engine/connection_event_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698