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

Unified Diff: chrome/common/automation_messages_internal.h

Issue 7866026: Added trace query code and wired tracing through BrowserProxy so tests can run traces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/test/automation/browser_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/automation_messages_internal.h
diff --git a/chrome/common/automation_messages_internal.h b/chrome/common/automation_messages_internal.h
index 55020c6574f69909e8818866a4d8eedd311e615e..3e559e265b253e75249feda19ea8dc07215b3ef1 100644
--- a/chrome/common/automation_messages_internal.h
+++ b/chrome/common/automation_messages_internal.h
@@ -1476,6 +1476,22 @@ IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_IsBrowserInApplicationMode,
bool /* is_application */,
bool /* success */)
+// Begin tracing.
+IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_BeginTracing,
+ std::vector<std::string> /* included_categories */,
+ std::vector<std::string> /* excluded_categories */,
+ bool /* success */)
+
+// End tracing (called after BeginTracing).
+IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_EndTracing,
+ bool /* success */)
+
+// End tracing (called after BeginTracing). Must keep calling until
+// remaining_chunks is 0, because IPC sends fail if the payload is too big.
+IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_GetTracingOutput,
+ std::string /* json_chunk */,
+ int /* remaining_chunks */)
+
// Renderer -> browser messages.
// Sent when the renderer has scheduled a client redirect to occur.
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/test/automation/browser_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698