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 ba8ec65de163e7c101589591040152119b622c31..e74ca96caa65dc75aeaa79375748f320749e7046 100644 |
--- a/content/browser/tracing/trace_message_filter.cc |
+++ b/content/browser/tracing/trace_message_filter.cc |
@@ -57,12 +57,12 @@ bool TraceMessageFilter::OnMessageReceived(const IPC::Message& message) { |
} |
void TraceMessageFilter::SendBeginTracing( |
- const std::string& category_filter_str, |
- base::debug::TraceLog::Options options) { |
+ const base::debug::CategoryFilter& category_filter, |
+ const base::debug::TraceOptions& options) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- Send(new TracingMsg_BeginTracing(category_filter_str, |
+ Send(new TracingMsg_BeginTracing(category_filter.ToString(), |
base::TimeTicks::NowFromSystemTraceTime(), |
- options)); |
+ options.ToString())); |
} |
void TraceMessageFilter::SendEndTracing() { |
@@ -73,12 +73,12 @@ void TraceMessageFilter::SendEndTracing() { |
} |
void TraceMessageFilter::SendEnableMonitoring( |
- const std::string& category_filter_str, |
- base::debug::TraceLog::Options options) { |
+ const base::debug::CategoryFilter& category_filter, |
+ const base::debug::TraceOptions& options) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- Send(new TracingMsg_EnableMonitoring(category_filter_str, |
+ Send(new TracingMsg_EnableMonitoring(category_filter.ToString(), |
base::TimeTicks::NowFromSystemTraceTime(), |
- options)); |
+ options.ToString())); |
} |
void TraceMessageFilter::SendDisableMonitoring() { |