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

Unified Diff: content/browser/tracing/trace_message_filter.cc

Issue 2440443002: tracing: remove WatchEvent feature (Closed)
Patch Set: Created 4 years, 2 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 | « components/tracing/common/tracing_messages.h ('k') | content/browser/tracing/tracing_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tracing/trace_message_filter.cc
diff --git a/content/browser/tracing/trace_message_filter.cc b/content/browser/tracing/trace_message_filter.cc
index 4062970c276bc5cb0deccc05c9b86b92716fe753..70089d96101dafd2f90e6fb321a4ca21167f5eb4 100644
--- a/content/browser/tracing/trace_message_filter.cc
+++ b/content/browser/tracing/trace_message_filter.cc
@@ -44,8 +44,6 @@ bool TraceMessageFilter::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_HANDLER(TracingHostMsg_EndTracingAck, OnEndTracingAck)
IPC_MESSAGE_HANDLER(TracingHostMsg_TraceDataCollected,
OnTraceDataCollected)
- IPC_MESSAGE_HANDLER(TracingHostMsg_WatchEventMatched,
- OnWatchEventMatched)
IPC_MESSAGE_HANDLER(TracingHostMsg_TraceLogStatusReply,
OnTraceLogStatusReply)
IPC_MESSAGE_HANDLER(TracingHostMsg_GlobalMemoryDumpRequest,
@@ -89,15 +87,6 @@ void TraceMessageFilter::SendGetTraceLogStatus() {
Send(new TracingMsg_GetTraceLogStatus);
}
-void TraceMessageFilter::SendSetWatchEvent(const std::string& category_name,
- const std::string& event_name) {
- Send(new TracingMsg_SetWatchEvent(category_name, event_name));
-}
-
-void TraceMessageFilter::SendCancelWatchEvent() {
- Send(new TracingMsg_CancelWatchEvent);
-}
-
// Called by TracingControllerImpl, which handles the multiprocess coordination.
void TraceMessageFilter::SendProcessMemoryDumpRequest(
const base::trace_event::MemoryDumpRequestArgs& args) {
@@ -134,10 +123,6 @@ void TraceMessageFilter::OnTraceDataCollected(const std::string& data) {
TracingControllerImpl::GetInstance()->OnTraceDataCollected(data_ptr);
}
-void TraceMessageFilter::OnWatchEventMatched() {
- TracingControllerImpl::GetInstance()->OnWatchEventMatched();
-}
-
void TraceMessageFilter::OnTraceLogStatusReply(
const base::trace_event::TraceLogStatus& status) {
if (is_awaiting_buffer_percent_full_ack_) {
« no previous file with comments | « components/tracing/common/tracing_messages.h ('k') | content/browser/tracing/tracing_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698