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

Unified Diff: components/tracing/tracing_messages.h

Issue 1243743002: Slow Reports - Add message filter to trigger background traces from child processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merged into TraceMessageFilter. Created 5 years, 5 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: components/tracing/tracing_messages.h
diff --git a/components/tracing/tracing_messages.h b/components/tracing/tracing_messages.h
index 88c7834064b08bc1d9f7aec40e3d10949350b0e8..7750879aa483455c02a53a5eb5d6c28a0e832418 100644
--- a/components/tracing/tracing_messages.h
+++ b/components/tracing/tracing_messages.h
@@ -7,6 +7,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/metrics/histogram.h"
#include "base/sync_socket.h"
#include "base/trace_event/memory_dump_request_args.h"
#include "base/trace_event/trace_event_impl.h"
@@ -75,6 +76,13 @@ IPC_MESSAGE_CONTROL2(TracingMsg_GlobalMemoryDumpResponse,
uint64 /* dump_guid */,
bool /* success */)
+IPC_MESSAGE_CONTROL2(TracingMsg_SetUMACallback,
+ std::string /* histogram_name */,
+ base::HistogramBase::Sample /* histogram_value */)
+
+IPC_MESSAGE_CONTROL1(TracingMsg_ClearUMACallback,
+ std::string /* histogram_name */)
+
// Sent everytime when a watch event is matched.
IPC_MESSAGE_CONTROL0(TracingHostMsg_WatchEventMatched)
@@ -110,3 +118,6 @@ IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest,
IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse,
uint64 /* dump_guid */,
bool /* success */)
+
+IPC_MESSAGE_CONTROL1(TracingHostMsg_TriggerBackgroundTrace,
+ std::string /* name */)

Powered by Google App Engine
This is Rietveld 408576698