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

Side by Side Diff: ipc/ipc_message_utils.h

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « gpu/ipc/common/memory_stats.cc ('k') | ipc/ipc_message_utils.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 IPC_IPC_MESSAGE_UTILS_H_ 5 #ifndef IPC_IPC_MESSAGE_UTILS_H_
6 #define IPC_IPC_MESSAGE_UTILS_H_ 6 #define IPC_IPC_MESSAGE_UTILS_H_
7 7
8 #include <limits.h> 8 #include <limits.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 48
49 namespace IPC { 49 namespace IPC {
50 50
51 struct ChannelHandle; 51 struct ChannelHandle;
52 52
53 // ----------------------------------------------------------------------------- 53 // -----------------------------------------------------------------------------
54 // How we send IPC message logs across channels. 54 // How we send IPC message logs across channels.
55 struct IPC_EXPORT LogData { 55 struct IPC_EXPORT LogData {
56 LogData(); 56 LogData();
57 LogData(const LogData& other);
57 ~LogData(); 58 ~LogData();
58 59
59 std::string channel; 60 std::string channel;
60 int32_t routing_id; 61 int32_t routing_id;
61 uint32_t type; // "User-defined" message type, from ipc_message.h. 62 uint32_t type; // "User-defined" message type, from ipc_message.h.
62 std::string flags; 63 std::string flags;
63 int64_t sent; // Time that the message was sent (i.e. at Send()). 64 int64_t sent; // Time that the message was sent (i.e. at Send()).
64 int64_t receive; // Time before it was dispatched (i.e. before calling 65 int64_t receive; // Time before it was dispatched (i.e. before calling
65 // OnMessageReceived). 66 // OnMessageReceived).
66 int64_t dispatch; // Time after it was dispatched (i.e. after calling 67 int64_t dispatch; // Time after it was dispatched (i.e. after calling
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 template <class ReplyParamType> 1085 template <class ReplyParamType>
1085 inline void LogReplyParamsToMessage(const ReplyParamType& reply_params, 1086 inline void LogReplyParamsToMessage(const ReplyParamType& reply_params,
1086 const Message* msg) {} 1087 const Message* msg) {}
1087 1088
1088 inline void ConnectMessageAndReply(const Message* msg, Message* reply) {} 1089 inline void ConnectMessageAndReply(const Message* msg, Message* reply) {}
1089 #endif 1090 #endif
1090 1091
1091 } // namespace IPC 1092 } // namespace IPC
1092 1093
1093 #endif // IPC_IPC_MESSAGE_UTILS_H_ 1094 #endif // IPC_IPC_MESSAGE_UTILS_H_
OLDNEW
« no previous file with comments | « gpu/ipc/common/memory_stats.cc ('k') | ipc/ipc_message_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698