| 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" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #define IPC_MESSAGE_START TracingMsgStart | 22 #define IPC_MESSAGE_START TracingMsgStart |
| 23 | 23 |
| 24 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::TraceLogStatus) | 24 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::TraceLogStatus) |
| 25 IPC_STRUCT_TRAITS_MEMBER(event_capacity) | 25 IPC_STRUCT_TRAITS_MEMBER(event_capacity) |
| 26 IPC_STRUCT_TRAITS_MEMBER(event_count) | 26 IPC_STRUCT_TRAITS_MEMBER(event_count) |
| 27 IPC_STRUCT_TRAITS_END() | 27 IPC_STRUCT_TRAITS_END() |
| 28 | 28 |
| 29 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::MemoryDumpRequestArgs) | 29 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::MemoryDumpRequestArgs) |
| 30 IPC_STRUCT_TRAITS_MEMBER(dump_guid) | 30 IPC_STRUCT_TRAITS_MEMBER(dump_guid) |
| 31 IPC_STRUCT_TRAITS_MEMBER(dump_type) | 31 IPC_STRUCT_TRAITS_MEMBER(dump_type) |
| 32 IPC_STRUCT_TRAITS_MEMBER(dump_args) | 32 IPC_STRUCT_TRAITS_MEMBER(level_of_detail) |
| 33 IPC_STRUCT_TRAITS_END() | 33 IPC_STRUCT_TRAITS_END() |
| 34 | 34 |
| 35 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::MemoryDumpArgs) | 35 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::MemoryDumpArgs) |
| 36 IPC_STRUCT_TRAITS_MEMBER(level_of_detail) | 36 IPC_STRUCT_TRAITS_MEMBER(level_of_detail) |
| 37 IPC_STRUCT_TRAITS_END() | 37 IPC_STRUCT_TRAITS_END() |
| 38 | 38 |
| 39 IPC_ENUM_TRAITS_MAX_VALUE( | 39 IPC_ENUM_TRAITS_MAX_VALUE(base::trace_event::MemoryDumpLevelOfDetail, |
| 40 base::trace_event::MemoryDumpArgs::LevelOfDetail, | 40 base::trace_event::MemoryDumpLevelOfDetail::LAST) |
| 41 base::trace_event::MemoryDumpArgs::LevelOfDetail::LAST) | |
| 42 | 41 |
| 43 IPC_ENUM_TRAITS_MAX_VALUE( | 42 IPC_ENUM_TRAITS_MAX_VALUE( |
| 44 base::trace_event::MemoryDumpType, | 43 base::trace_event::MemoryDumpType, |
| 45 static_cast<int>(base::trace_event::MemoryDumpType::LAST)) | 44 static_cast<int>(base::trace_event::MemoryDumpType::LAST)) |
| 46 | 45 |
| 47 // Sent to all child processes to enable trace event recording. | 46 // Sent to all child processes to enable trace event recording. |
| 48 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, | 47 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, |
| 49 std::string /* trace_config_str */, | 48 std::string /* trace_config_str */, |
| 50 base::TraceTicks /* browser_time */, | 49 base::TraceTicks /* browser_time */, |
| 51 uint64 /* Tracing process id (hash of child id) */) | 50 uint64 /* Tracing process id (hash of child id) */) |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest, | 125 IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest, |
| 127 base::trace_event::MemoryDumpRequestArgs) | 126 base::trace_event::MemoryDumpRequestArgs) |
| 128 | 127 |
| 129 // Reply to TracingMsg_ProcessMemoryDumpRequest. | 128 // Reply to TracingMsg_ProcessMemoryDumpRequest. |
| 130 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, | 129 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, |
| 131 uint64 /* dump_guid */, | 130 uint64 /* dump_guid */, |
| 132 bool /* success */) | 131 bool /* success */) |
| 133 | 132 |
| 134 IPC_MESSAGE_CONTROL1(TracingHostMsg_TriggerBackgroundTrace, | 133 IPC_MESSAGE_CONTROL1(TracingHostMsg_TriggerBackgroundTrace, |
| 135 std::string /* name */) | 134 std::string /* name */) |
| OLD | NEW |