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

Unified Diff: components/gcm_driver/common/gcm_messages.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 side-by-side diff with in-line comments
Download patch
Index: components/gcm_driver/common/gcm_messages.h
diff --git a/components/gcm_driver/common/gcm_messages.h b/components/gcm_driver/common/gcm_messages.h
index a6a071cc8c1ef37d4b29a54df131a0e347d23a47..24be478e798f93195fc62a5ac017b9a73ff09501 100644
--- a/components/gcm_driver/common/gcm_messages.h
+++ b/components/gcm_driver/common/gcm_messages.h
@@ -18,6 +18,7 @@ typedef std::map<std::string, std::string> MessageData;
// Message to be delivered to the other party.
struct GCM_DRIVER_EXPORT OutgoingMessage {
OutgoingMessage();
+ OutgoingMessage(const OutgoingMessage& other);
~OutgoingMessage();
// Message ID.
@@ -32,6 +33,7 @@ struct GCM_DRIVER_EXPORT OutgoingMessage {
// Message being received from the other party.
struct GCM_DRIVER_EXPORT IncomingMessage {
IncomingMessage();
+ IncomingMessage(const IncomingMessage& other);
~IncomingMessage();
MessageData data;

Powered by Google App Engine
This is Rietveld 408576698