Index: chrome/browser/services/gcm/gcm_profile_service.h |
diff --git a/chrome/browser/services/gcm/gcm_profile_service.h b/chrome/browser/services/gcm/gcm_profile_service.h |
index b6f7598055168e773c735aa11cd31221741aad72..7f887bab33777b96dd180f59b94de4a356a589eb 100644 |
--- a/chrome/browser/services/gcm/gcm_profile_service.h |
+++ b/chrome/browser/services/gcm/gcm_profile_service.h |
@@ -132,8 +132,13 @@ class GCMProfileService : public KeyedService, |
bool IsGCMClientReady() const; |
// Get GCM client internal states and statistics. If it has not been created |
- // then stats won't be modified. |
- void RequestGCMStatistics(RequestGCMStatisticsCallback callback); |
+ // then stats won't be modified. If clear_logs is true then activity logs will |
+ // be cleared before the stats are returned. |
+ void RequestGCMStatistics(RequestGCMStatisticsCallback callback, |
+ bool clear_logs); |
+ |
+ // Enables/disables GCM activity recording, and then returns the stats. |
+ void SetGCMRecording(RequestGCMStatisticsCallback callback, bool recording); |
private: |
friend class GCMProfileServiceTestConsumer; |