| 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 39b72663414857cf1cfa4029cef733d4c56085a2..a1d43097feb23c90f6e84c8cd02da066bc17096d 100644
|
| --- a/chrome/browser/services/gcm/gcm_profile_service.h
|
| +++ b/chrome/browser/services/gcm/gcm_profile_service.h
|
| @@ -126,8 +126,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;
|
|
|