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

Side by Side Diff: components/gcm_driver/gcm_activity.h

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Contains relevant data of a message decryption failure. 67 // Contains relevant data of a message decryption failure.
68 struct DecryptionFailureActivity : Activity { 68 struct DecryptionFailureActivity : Activity {
69 DecryptionFailureActivity(); 69 DecryptionFailureActivity();
70 ~DecryptionFailureActivity() override; 70 ~DecryptionFailureActivity() override;
71 71
72 std::string app_id; 72 std::string app_id;
73 }; 73 };
74 74
75 struct RecordedActivities { 75 struct RecordedActivities {
76 RecordedActivities(); 76 RecordedActivities();
77 RecordedActivities(const RecordedActivities& other);
77 virtual ~RecordedActivities(); 78 virtual ~RecordedActivities();
78 79
79 std::vector<CheckinActivity> checkin_activities; 80 std::vector<CheckinActivity> checkin_activities;
80 std::vector<ConnectionActivity> connection_activities; 81 std::vector<ConnectionActivity> connection_activities;
81 std::vector<RegistrationActivity> registration_activities; 82 std::vector<RegistrationActivity> registration_activities;
82 std::vector<ReceivingActivity> receiving_activities; 83 std::vector<ReceivingActivity> receiving_activities;
83 std::vector<SendingActivity> sending_activities; 84 std::vector<SendingActivity> sending_activities;
84 std::vector<DecryptionFailureActivity> decryption_failure_activities; 85 std::vector<DecryptionFailureActivity> decryption_failure_activities;
85 }; 86 };
86 87
87 } // namespace gcm 88 } // namespace gcm
88 89
89 #endif // COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_ 90 #endif // COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698