Index: components/gcm_driver/fake_gcm_client.cc |
diff --git a/components/gcm_driver/fake_gcm_client.cc b/components/gcm_driver/fake_gcm_client.cc |
index ecd7f357bad5caeddcf8909007df8ab76cc81f1b..9c1e3925f9ed889713878653a3bf0ce20d89afa7 100644 |
--- a/components/gcm_driver/fake_gcm_client.cc |
+++ b/components/gcm_driver/fake_gcm_client.cc |
@@ -158,26 +158,14 @@ |
weak_ptr_factory_.GetWeakPtr(), app_id, message)); |
} |
-void FakeGCMClient::RecordDecryptionFailure( |
- const std::string& app_id, |
- GCMEncryptionProvider::DecryptionFailure reason) { |
- recorder_.RecordDecryptionFailure(app_id, reason); |
-} |
- |
void FakeGCMClient::SetRecording(bool recording) { |
- recorder_.set_is_recording(recording); |
} |
void FakeGCMClient::ClearActivityLogs() { |
- recorder_.Clear(); |
} |
GCMClient::GCMStatistics FakeGCMClient::GetStatistics() const { |
- GCMClient::GCMStatistics statistics; |
- statistics.is_recording = recorder_.is_recording(); |
- |
- recorder_.CollectActivities(&statistics.recorded_activities); |
- return statistics; |
+ return GCMClient::GCMStatistics(); |
} |
void FakeGCMClient::SetAccountTokens( |