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

Side by Side Diff: chrome/common/automation_messages_internal.h

Issue 67683003: Remove TraceController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
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 // Defines the IPC messages used by the automation interface. 5 // Defines the IPC messages used by the automation interface.
6 6
7 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous 7 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous
8 // messages), or one that's been assigned by the proxy (for calls 8 // messages), or one that's been assigned by the proxy (for calls
9 // which expect a response). The routing_id shouldn't be used for 9 // which expect a response). The routing_id shouldn't be used for
10 // any other purpose in these message types. 10 // any other purpose in these message types.
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 927
928 // Call BeginTracing on the browser TraceController. This will tell all 928 // Call BeginTracing on the browser TraceController. This will tell all
929 // processes to start collecting trace events via base/debug/trace_event.h. 929 // processes to start collecting trace events via base/debug/trace_event.h.
930 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_BeginTracing, 930 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_BeginTracing,
931 std::string /* category_patterns */, 931 std::string /* category_patterns */,
932 bool /* success */) 932 bool /* success */)
933 933
934 // End tracing (called after BeginTracing). This blocks until tracing has 934 // End tracing (called after BeginTracing). This blocks until tracing has
935 // stopped on all processes and all the events are ready to be retrieved. 935 // stopped on all processes and all the events are ready to be retrieved.
936 IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_EndTracing, 936 IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_EndTracing,
937 size_t /* num_trace_chunks */, 937 base::FilePath /* result_file_path */,
938 bool /* success */)
939
940 // Retrieve trace event data (called after EndTracing). Must call exactly
941 // |num_trace_chunks| times.
942 // TODO(jbates): See bug 100255, IPC send fails if message is too big. This
943 // code can be removed if that limitation is fixed.
944 IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_GetTracingOutput,
945 std::string /* trace_chunk */,
946 bool /* success */) 938 bool /* success */)
947 939
948 // Used on Mac OS X to read the number of active Mach ports used in the browser 940 // Used on Mac OS X to read the number of active Mach ports used in the browser
949 // process. 941 // process.
950 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_GetMachPortCount, 942 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_GetMachPortCount,
951 int /* number of Mach ports */) 943 int /* number of Mach ports */)
952 944
953 // Generic pyauto pattern to help avoid future addition of 945 // Generic pyauto pattern to help avoid future addition of
954 // automation messages. 946 // automation messages.
955 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequest, 947 IPC_SYNC_MESSAGE_CONTROL2_2(AutomationMsg_SendJSONRequest,
956 int /* window_index */, 948 int /* window_index */,
957 std::string /* JSON request */, 949 std::string /* JSON request */,
958 std::string /* JSON response */, 950 std::string /* JSON response */,
959 bool /* success */) 951 bool /* success */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698