Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: components/gcm_driver/fake_gcm_client.cc

Issue 1627723002: Revert of List message decryption failures on chrome://gcm-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/gcm_driver/fake_gcm_client.h ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « components/gcm_driver/fake_gcm_client.h ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698