Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: components/tracing/tracing_messages.h

Issue 868603007: Mechanical rename of base::debug -> base::trace_event [final pass]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part3_1
Patch Set: Fixing win file. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 #include "base/trace_event/trace_event_impl.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::trace_event::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)
22 IPC_STRUCT_TRAITS_END() 22 IPC_STRUCT_TRAITS_END()
23 23
24 // Sent to all child processes to enable trace event recording. 24 // Sent to all child processes to enable trace event recording.
25 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, 25 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing,
26 std::string /* category_filter_str */, 26 std::string /* category_filter_str */,
27 base::TimeTicks /* browser_time */, 27 base::TimeTicks /* browser_time */,
28 std::string /* base::debug::TraceOptions */) 28 std::string /* base::trace_event::TraceOptions */)
29 29
30 // Sent to all child processes to disable trace event recording. 30 // Sent to all child processes to disable trace event recording.
31 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing) 31 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing)
32 32
33 // Sent to all child processes to start monitoring. 33 // Sent to all child processes to start monitoring.
34 IPC_MESSAGE_CONTROL3(TracingMsg_EnableMonitoring, 34 IPC_MESSAGE_CONTROL3(TracingMsg_EnableMonitoring,
35 std::string /* category_filter_str */, 35 std::string /* category_filter_str */,
36 base::TimeTicks /* browser_time */, 36 base::TimeTicks /* browser_time */,
37 std::string /* base::debug::TraceOptions */) 37 std::string /* base::trace_event::TraceOptions */)
38 38
39 // Sent to all child processes to stop monitoring. 39 // Sent to all child processes to stop monitoring.
40 IPC_MESSAGE_CONTROL0(TracingMsg_DisableMonitoring) 40 IPC_MESSAGE_CONTROL0(TracingMsg_DisableMonitoring)
41 41
42 // Sent to all child processes to capture the current monitorint snapshot. 42 // Sent to all child processes to capture the current monitorint snapshot.
43 IPC_MESSAGE_CONTROL0(TracingMsg_CaptureMonitoringSnapshot) 43 IPC_MESSAGE_CONTROL0(TracingMsg_CaptureMonitoringSnapshot)
44 44
45 // Sent to all child processes to get trace buffer fullness. 45 // Sent to all child processes to get trace buffer fullness.
46 IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceLogStatus) 46 IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceLogStatus)
47 47
(...skipping 21 matching lines...) Expand all
69 // Child processes send back trace data in JSON chunks. 69 // Child processes send back trace data in JSON chunks.
70 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceDataCollected, 70 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceDataCollected,
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(
80 base::debug::TraceLogStatus /*status of the trace log*/) 80 TracingHostMsg_TraceLogStatusReply,
81 base::trace_event::TraceLogStatus /*status of the trace log*/)
OLDNEW
« no previous file with comments | « components/tracing/child_trace_message_filter.cc ('k') | gpu/command_buffer/service/gpu_state_tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698