| 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 28 matching lines...) Expand all Loading... |
| 39 IPC_ENUM_TRAITS_MAX_VALUE(base::trace_event::MemoryDumpLevelOfDetail, | 39 IPC_ENUM_TRAITS_MAX_VALUE(base::trace_event::MemoryDumpLevelOfDetail, |
| 40 base::trace_event::MemoryDumpLevelOfDetail::LAST) | 40 base::trace_event::MemoryDumpLevelOfDetail::LAST) |
| 41 | 41 |
| 42 IPC_ENUM_TRAITS_MAX_VALUE( | 42 IPC_ENUM_TRAITS_MAX_VALUE( |
| 43 base::trace_event::MemoryDumpType, | 43 base::trace_event::MemoryDumpType, |
| 44 static_cast<int>(base::trace_event::MemoryDumpType::LAST)) | 44 static_cast<int>(base::trace_event::MemoryDumpType::LAST)) |
| 45 | 45 |
| 46 // Sent to all child processes to enable trace event recording. | 46 // Sent to all child processes to enable trace event recording. |
| 47 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, | 47 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, |
| 48 std::string /* trace_config_str */, | 48 std::string /* trace_config_str */, |
| 49 base::TraceTicks /* browser_time */, | 49 base::TimeTicks /* browser_time */, |
| 50 uint64 /* Tracing process id (hash of child id) */) | 50 uint64 /* Tracing process id (hash of child id) */) |
| 51 | 51 |
| 52 // Sent to all child processes to disable trace event recording. | 52 // Sent to all child processes to disable trace event recording. |
| 53 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing) | 53 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing) |
| 54 | 54 |
| 55 // Sent to all child processes to cancel trace event recording. | 55 // Sent to all child processes to cancel trace event recording. |
| 56 IPC_MESSAGE_CONTROL0(TracingMsg_CancelTracing) | 56 IPC_MESSAGE_CONTROL0(TracingMsg_CancelTracing) |
| 57 | 57 |
| 58 // Sent to all child processes to start monitoring. | 58 // Sent to all child processes to start monitoring. |
| 59 IPC_MESSAGE_CONTROL2(TracingMsg_EnableMonitoring, | 59 IPC_MESSAGE_CONTROL2(TracingMsg_EnableMonitoring, |
| 60 std::string /* trace_config_str */, | 60 std::string /* trace_config_str */, |
| 61 base::TraceTicks /* browser_time */) | 61 base::TimeTicks /* browser_time */) |
| 62 | 62 |
| 63 // Sent to all child processes to stop monitoring. | 63 // Sent to all child processes to stop monitoring. |
| 64 IPC_MESSAGE_CONTROL0(TracingMsg_DisableMonitoring) | 64 IPC_MESSAGE_CONTROL0(TracingMsg_DisableMonitoring) |
| 65 | 65 |
| 66 // Sent to all child processes to capture the current monitorint snapshot. | 66 // Sent to all child processes to capture the current monitorint snapshot. |
| 67 IPC_MESSAGE_CONTROL0(TracingMsg_CaptureMonitoringSnapshot) | 67 IPC_MESSAGE_CONTROL0(TracingMsg_CaptureMonitoringSnapshot) |
| 68 | 68 |
| 69 // Sent to all child processes to get trace buffer fullness. | 69 // Sent to all child processes to get trace buffer fullness. |
| 70 IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceLogStatus) | 70 IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceLogStatus) |
| 71 | 71 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 // Reply to TracingMsg_ProcessMemoryDumpRequest. | 130 // Reply to TracingMsg_ProcessMemoryDumpRequest. |
| 131 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, | 131 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, |
| 132 uint64 /* dump_guid */, | 132 uint64 /* dump_guid */, |
| 133 bool /* success */) | 133 bool /* success */) |
| 134 | 134 |
| 135 IPC_MESSAGE_CONTROL1(TracingHostMsg_TriggerBackgroundTrace, | 135 IPC_MESSAGE_CONTROL1(TracingHostMsg_TriggerBackgroundTrace, |
| 136 std::string /* name */) | 136 std::string /* name */) |
| 137 | 137 |
| 138 IPC_MESSAGE_CONTROL0(TracingHostMsg_AbortBackgroundTrace) | 138 IPC_MESSAGE_CONTROL0(TracingHostMsg_AbortBackgroundTrace) |
| OLD | NEW |