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

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

Issue 1165673002: [Startup Tracing] Hook up TraceConfig and remove CategoryFilter & TraceOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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/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 5d37f5fea635be8ba253baa2470bcf7bcacd57cd..1ded8e5fec3efdb75ac9f28d0ab9b8e310eb3006 100644
--- a/content/browser/tracing/trace_message_filter.cc
+++ b/content/browser/tracing/trace_message_filter.cc
@@ -61,12 +61,10 @@ bool TraceMessageFilter::OnMessageReceived(const IPC::Message& message) {
}
void TraceMessageFilter::SendBeginTracing(
- const base::trace_event::CategoryFilter& category_filter,
- const base::trace_event::TraceOptions& options) {
+ const base::trace_event::TraceConfig& trace_config) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- Send(new TracingMsg_BeginTracing(category_filter.ToString(),
- base::TraceTicks::Now(),
- options.ToString()));
+ Send(new TracingMsg_BeginTracing(trace_config.ToString(),
+ base::TraceTicks::Now()));
}
void TraceMessageFilter::SendEndTracing() {
@@ -77,12 +75,10 @@ void TraceMessageFilter::SendEndTracing() {
}
void TraceMessageFilter::SendEnableMonitoring(
- const base::trace_event::CategoryFilter& category_filter,
- const base::trace_event::TraceOptions& options) {
+ const base::trace_event::TraceConfig& trace_config) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- Send(new TracingMsg_EnableMonitoring(category_filter.ToString(),
- base::TraceTicks::Now(),
- options.ToString()));
+ Send(new TracingMsg_EnableMonitoring(trace_config.ToString(),
+ base::TraceTicks::Now()));
}
void TraceMessageFilter::SendDisableMonitoring() {
« no previous file with comments | « content/browser/tracing/trace_message_filter.h ('k') | content/browser/tracing/tracing_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698