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

Unified Diff: content/common/child_process_messages.h

Issue 10837082: implement SetWatchEvent and WaitForEvent for trace-based-tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleaned up and fixed a bug Created 8 years, 4 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
Index: content/common/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index 140396924e104d14909a56e4accc4ff9b5c56306..3bbd9fcc88da460ebb8c3e13e635f8ad0887fb5c 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -83,6 +83,15 @@ IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing)
// Sent to all child processes to get trace buffer fullness.
IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull)
+// Sent to all child processes to set watch event.
+IPC_MESSAGE_CONTROL3(ChildProcessMsg_SetWatchEvent,
+ std::string /* category_name */,
+ std::string /* event_name */,
+ int /* num_occurrences */)
+
+// Sent to all child processes to clear watch event.
+IPC_MESSAGE_CONTROL0(ChildProcessMsg_CancelWatchEvent)
+
// Tell the child process to enable or disable the profiler status.
IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus,
tracked_objects::ThreadData::Status /* profiler status */)
@@ -117,7 +126,8 @@ IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_EndTracingAck,
std::vector<std::string> /* known_categories */)
// Sent if the trace buffer becomes full.
-IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull)
+IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceNotification,
+ int /* base::debug::TraceLog::Notification */)
// Child processes send trace data back in JSON chunks.
IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected,

Powered by Google App Engine
This is Rietveld 408576698