| 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/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
| 11 #include "base/sync_socket.h" | 11 #include "base/sync_socket.h" |
| 12 #include "base/trace_event/memory_dump_request_args.h" | 12 #include "base/trace_event/memory_dump_request_args.h" |
| 13 #include "base/trace_event/trace_event_impl.h" | 13 #include "base/trace_event/trace_event_impl.h" |
| 14 #include "components/tracing/tracing_export.h" |
| 14 #include "ipc/ipc_channel_handle.h" | 15 #include "ipc/ipc_channel_handle.h" |
| 15 #include "ipc/ipc_message_macros.h" | 16 #include "ipc/ipc_message_macros.h" |
| 16 #include "ipc/ipc_message_utils.h" | 17 #include "ipc/ipc_message_utils.h" |
| 17 #include "ipc/ipc_platform_file.h" | 18 #include "ipc/ipc_platform_file.h" |
| 18 | 19 |
| 20 #undef IPC_MESSAGE_EXPORT |
| 21 #define IPC_MESSAGE_EXPORT TRACING_EXPORT |
| 19 #define IPC_MESSAGE_START TracingMsgStart | 22 #define IPC_MESSAGE_START TracingMsgStart |
| 20 | 23 |
| 21 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::TraceLogStatus) | 24 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::TraceLogStatus) |
| 22 IPC_STRUCT_TRAITS_MEMBER(event_capacity) | 25 IPC_STRUCT_TRAITS_MEMBER(event_capacity) |
| 23 IPC_STRUCT_TRAITS_MEMBER(event_count) | 26 IPC_STRUCT_TRAITS_MEMBER(event_count) |
| 24 IPC_STRUCT_TRAITS_END() | 27 IPC_STRUCT_TRAITS_END() |
| 25 | 28 |
| 26 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::MemoryDumpRequestArgs) | 29 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::MemoryDumpRequestArgs) |
| 27 IPC_STRUCT_TRAITS_MEMBER(dump_guid) | 30 IPC_STRUCT_TRAITS_MEMBER(dump_guid) |
| 28 IPC_STRUCT_TRAITS_MEMBER(dump_type) | 31 IPC_STRUCT_TRAITS_MEMBER(dump_type) |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest, | 126 IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest, |
| 124 base::trace_event::MemoryDumpRequestArgs) | 127 base::trace_event::MemoryDumpRequestArgs) |
| 125 | 128 |
| 126 // Reply to TracingMsg_ProcessMemoryDumpRequest. | 129 // Reply to TracingMsg_ProcessMemoryDumpRequest. |
| 127 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, | 130 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, |
| 128 uint64 /* dump_guid */, | 131 uint64 /* dump_guid */, |
| 129 bool /* success */) | 132 bool /* success */) |
| 130 | 133 |
| 131 IPC_MESSAGE_CONTROL1(TracingHostMsg_TriggerBackgroundTrace, | 134 IPC_MESSAGE_CONTROL1(TracingHostMsg_TriggerBackgroundTrace, |
| 132 std::string /* name */) | 135 std::string /* name */) |
| OLD | NEW |