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..8684fbc393dc18c9895dd7e6705441cacaebcbfe 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 EventInProgress(); |
Peter Beverloo
2017/01/12 16:03:27
micro nits: (1) IsEventInProgress() and (2) make i
harkness
2017/01/16 12:20:37
Done.
|
+ |
// Start recording a new connection attempt. This should never be called if |
// a connection attempt is already ongoing. |
void StartConnectionAttempt(); |