OLD | NEW |
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 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/debug/trace_event_impl.h" | |
11 #include "base/sync_socket.h" | 10 #include "base/sync_socket.h" |
| 11 #include "base/trace_event/trace_event_impl.h" |
12 #include "ipc/ipc_channel_handle.h" | 12 #include "ipc/ipc_channel_handle.h" |
13 #include "ipc/ipc_message_macros.h" | 13 #include "ipc/ipc_message_macros.h" |
14 #include "ipc/ipc_message_utils.h" | 14 #include "ipc/ipc_message_utils.h" |
15 #include "ipc/ipc_platform_file.h" | 15 #include "ipc/ipc_platform_file.h" |
16 | 16 |
17 #define IPC_MESSAGE_START TracingMsgStart | 17 #define IPC_MESSAGE_START TracingMsgStart |
18 | 18 |
19 IPC_STRUCT_TRAITS_BEGIN(base::debug::TraceLogStatus) | 19 IPC_STRUCT_TRAITS_BEGIN(base::debug::TraceLogStatus) |
20 IPC_STRUCT_TRAITS_MEMBER(event_capacity) | 20 IPC_STRUCT_TRAITS_MEMBER(event_capacity) |
21 IPC_STRUCT_TRAITS_MEMBER(event_count) | 21 IPC_STRUCT_TRAITS_MEMBER(event_count) |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 std::string /*json trace data*/) | 71 std::string /*json trace data*/) |
72 | 72 |
73 // Child processes send back trace data of the current monitoring | 73 // Child processes send back trace data of the current monitoring |
74 // in JSON chunks. | 74 // in JSON chunks. |
75 IPC_MESSAGE_CONTROL1(TracingHostMsg_MonitoringTraceDataCollected, | 75 IPC_MESSAGE_CONTROL1(TracingHostMsg_MonitoringTraceDataCollected, |
76 std::string /*json trace data*/) | 76 std::string /*json trace data*/) |
77 | 77 |
78 // Reply to TracingMsg_GetTraceLogStatus. | 78 // Reply to TracingMsg_GetTraceLogStatus. |
79 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceLogStatusReply, | 79 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceLogStatusReply, |
80 base::debug::TraceLogStatus /*status of the trace log*/) | 80 base::debug::TraceLogStatus /*status of the trace log*/) |
OLD | NEW |