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(); |