| 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/sync_socket.h" | 10 #include "base/sync_socket.h" | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 27 IPC_STRUCT_TRAITS_MEMBER(dump_type) | 27 IPC_STRUCT_TRAITS_MEMBER(dump_type) | 
| 28 IPC_STRUCT_TRAITS_END() | 28 IPC_STRUCT_TRAITS_END() | 
| 29 | 29 | 
| 30 IPC_ENUM_TRAITS_MAX_VALUE( | 30 IPC_ENUM_TRAITS_MAX_VALUE( | 
| 31     base::trace_event::MemoryDumpType, | 31     base::trace_event::MemoryDumpType, | 
| 32     static_cast<int>(base::trace_event::MemoryDumpType::LAST)) | 32     static_cast<int>(base::trace_event::MemoryDumpType::LAST)) | 
| 33 | 33 | 
| 34 // Sent to all child processes to enable trace event recording. | 34 // Sent to all child processes to enable trace event recording. | 
| 35 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, | 35 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, | 
| 36                      std::string /*  category_filter_str */, | 36                      std::string /*  category_filter_str */, | 
| 37                      base::TimeTicks /* browser_time */, | 37                      base::TraceTicks /* browser_time */, | 
| 38                      std::string /* base::trace_event::TraceOptions */) | 38                      std::string /* base::trace_event::TraceOptions */) | 
| 39 | 39 | 
| 40 // Sent to all child processes to disable trace event recording. | 40 // Sent to all child processes to disable trace event recording. | 
| 41 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing) | 41 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing) | 
| 42 | 42 | 
| 43 // Sent to all child processes to start monitoring. | 43 // Sent to all child processes to start monitoring. | 
| 44 IPC_MESSAGE_CONTROL3(TracingMsg_EnableMonitoring, | 44 IPC_MESSAGE_CONTROL3(TracingMsg_EnableMonitoring, | 
| 45                      std::string /*  category_filter_str */, | 45                      std::string /*  category_filter_str */, | 
| 46                      base::TimeTicks /* browser_time */, | 46                      base::TraceTicks /* browser_time */, | 
| 47                      std::string /* base::trace_event::TraceOptions */) | 47                      std::string /* base::trace_event::TraceOptions */) | 
| 48 | 48 | 
| 49 // Sent to all child processes to stop monitoring. | 49 // Sent to all child processes to stop monitoring. | 
| 50 IPC_MESSAGE_CONTROL0(TracingMsg_DisableMonitoring) | 50 IPC_MESSAGE_CONTROL0(TracingMsg_DisableMonitoring) | 
| 51 | 51 | 
| 52 // Sent to all child processes to capture the current monitorint snapshot. | 52 // Sent to all child processes to capture the current monitorint snapshot. | 
| 53 IPC_MESSAGE_CONTROL0(TracingMsg_CaptureMonitoringSnapshot) | 53 IPC_MESSAGE_CONTROL0(TracingMsg_CaptureMonitoringSnapshot) | 
| 54 | 54 | 
| 55 // Sent to all child processes to get trace buffer fullness. | 55 // Sent to all child processes to get trace buffer fullness. | 
| 56 IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceLogStatus) | 56 IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceLogStatus) | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 101     base::trace_event::TraceLogStatus /*status of the trace log*/) | 101     base::trace_event::TraceLogStatus /*status of the trace log*/) | 
| 102 | 102 | 
| 103 // Sent to the browser to initiate a global memory dump from a child process. | 103 // Sent to the browser to initiate a global memory dump from a child process. | 
| 104 IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest, | 104 IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest, | 
| 105                      base::trace_event::MemoryDumpRequestArgs) | 105                      base::trace_event::MemoryDumpRequestArgs) | 
| 106 | 106 | 
| 107 // Reply to TracingMsg_ProcessMemoryDumpRequest. | 107 // Reply to TracingMsg_ProcessMemoryDumpRequest. | 
| 108 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, | 108 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, | 
| 109                      uint64 /* dump_guid */, | 109                      uint64 /* dump_guid */, | 
| 110                      bool /* success */) | 110                      bool /* success */) | 
| OLD | NEW | 
|---|