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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_
6 #define COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_ 6 #define COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Contains relevant data of a send-message step. 57 // Contains relevant data of a send-message step.
58 struct SendingActivity : Activity { 58 struct SendingActivity : Activity {
59 SendingActivity(); 59 SendingActivity();
60 ~SendingActivity() override; 60 ~SendingActivity() override;
61 61
62 std::string app_id; 62 std::string app_id;
63 std::string receiver_id; 63 std::string receiver_id;
64 std::string message_id; 64 std::string message_id;
65 }; 65 };
66 66
67 // Contains relevant data of a message decryption failure.
68 struct DecryptionFailureActivity : Activity {
69 DecryptionFailureActivity();
70 ~DecryptionFailureActivity() override;
71
72 std::string app_id;
73 };
74
67 struct RecordedActivities { 75 struct RecordedActivities {
68 RecordedActivities(); 76 RecordedActivities();
69 virtual ~RecordedActivities(); 77 virtual ~RecordedActivities();
70 78
71 std::vector<CheckinActivity> checkin_activities; 79 std::vector<CheckinActivity> checkin_activities;
72 std::vector<ConnectionActivity> connection_activities; 80 std::vector<ConnectionActivity> connection_activities;
73 std::vector<RegistrationActivity> registration_activities; 81 std::vector<RegistrationActivity> registration_activities;
74 std::vector<ReceivingActivity> receiving_activities; 82 std::vector<ReceivingActivity> receiving_activities;
75 std::vector<SendingActivity> sending_activities; 83 std::vector<SendingActivity> sending_activities;
84 std::vector<DecryptionFailureActivity> decryption_failure_activities;
76 }; 85 };
77 86
78 } // namespace gcm 87 } // namespace gcm
79 88
80 #endif // COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_ 89 #endif // COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_
OLDNEW
« 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