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

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

Issue 65343006: Use TracingController for startup tracing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « components/tracing/child_trace_message_filter.cc ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ipc/ipc_channel_handle.h" 11 #include "ipc/ipc_channel_handle.h"
12 #include "ipc/ipc_message_macros.h" 12 #include "ipc/ipc_message_macros.h"
13 #include "ipc/ipc_message_utils.h" 13 #include "ipc/ipc_message_utils.h"
14 #include "ipc/ipc_platform_file.h" 14 #include "ipc/ipc_platform_file.h"
15 15
16 #define IPC_MESSAGE_START TracingMsgStart 16 #define IPC_MESSAGE_START TracingMsgStart
17 17
18 // Sent to all child processes to enable trace event recording. 18 // Sent to all child processes to enable trace event recording.
19 IPC_MESSAGE_CONTROL4(TracingMsg_BeginTracing, 19 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing,
20 std::string /* category_filter_str */, 20 std::string /* category_filter_str */,
21 base::TimeTicks /* browser_time */, 21 base::TimeTicks /* browser_time */,
22 int /* base::debug::TraceLog::Options */, 22 int /* base::debug::TraceLog::Options */)
23 bool /* tracing_startup */)
24 23
25 // Sent to all child processes to disable trace event recording. 24 // Sent to all child processes to disable trace event recording.
26 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing) 25 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing)
27 26
28 // Sent to all child processes to start monitoring. 27 // Sent to all child processes to start monitoring.
29 IPC_MESSAGE_CONTROL3(TracingMsg_EnableMonitoring, 28 IPC_MESSAGE_CONTROL3(TracingMsg_EnableMonitoring,
30 std::string /* category_filter_str */, 29 std::string /* category_filter_str */,
31 base::TimeTicks /* browser_time */, 30 base::TimeTicks /* browser_time */,
32 int /* base::debug::TraceLog::Options */) 31 int /* base::debug::TraceLog::Options */)
33 32
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 67
69 // Child processes send back trace data of the current monitoring 68 // Child processes send back trace data of the current monitoring
70 // in JSON chunks. 69 // in JSON chunks.
71 IPC_MESSAGE_CONTROL1(TracingHostMsg_MonitoringTraceDataCollected, 70 IPC_MESSAGE_CONTROL1(TracingHostMsg_MonitoringTraceDataCollected,
72 std::string /*json trace data*/) 71 std::string /*json trace data*/)
73 72
74 // Reply to TracingMsg_GetTraceBufferPercentFull. 73 // Reply to TracingMsg_GetTraceBufferPercentFull.
75 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceBufferPercentFullReply, 74 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceBufferPercentFullReply,
76 float /*trace buffer percent full*/) 75 float /*trace buffer percent full*/)
77 76
OLDNEW
« no previous file with comments | « components/tracing/child_trace_message_filter.cc ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698