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

Unified Diff: components/gcm_driver/gcm_activity.h

Issue 1616113003: List message decryption failures on chrome://gcm-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after CL 1619053003 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_driver.cc ('k') | components/gcm_driver/gcm_activity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_activity.h
diff --git a/components/gcm_driver/gcm_activity.h b/components/gcm_driver/gcm_activity.h
index 55c12901315e42569c920d1affd8d77d2773352e..fb1c2292b83ea10ee9b44bab4d97fd8946ff4642 100644
--- a/components/gcm_driver/gcm_activity.h
+++ b/components/gcm_driver/gcm_activity.h
@@ -64,6 +64,14 @@ struct SendingActivity : Activity {
std::string message_id;
};
+// Contains relevant data of a message decryption failure.
+struct DecryptionFailureActivity : Activity {
+ DecryptionFailureActivity();
+ ~DecryptionFailureActivity() override;
+
+ std::string app_id;
+};
+
struct RecordedActivities {
RecordedActivities();
virtual ~RecordedActivities();
@@ -73,6 +81,7 @@ struct RecordedActivities {
std::vector<RegistrationActivity> registration_activities;
std::vector<ReceivingActivity> receiving_activities;
std::vector<SendingActivity> sending_activities;
+ std::vector<DecryptionFailureActivity> decryption_failure_activities;
};
} // namespace gcm
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.cc ('k') | components/gcm_driver/gcm_activity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698