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

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

Issue 425593002: Refactor trace_event_impl's SetEnabled to use TraceOptions. Propagate this through the whole stack. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Nat and Dan's comments. Use CategoryFilter for tracing_controller.h's APIs Created 6 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: content/browser/tracing/trace_message_filter.h
diff --git a/content/browser/tracing/trace_message_filter.h b/content/browser/tracing/trace_message_filter.h
index 4233fe04480117f81c1f320de365f33d5408b450..468d84dfa59eeb7f38ed33adb6f8b8da2662c972 100644
--- a/content/browser/tracing/trace_message_filter.h
+++ b/content/browser/tracing/trace_message_filter.h
@@ -24,11 +24,11 @@ class TraceMessageFilter : public BrowserMessageFilter {
virtual void OnChannelClosing() OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- void SendBeginTracing(const std::string& category_filter_str,
- base::debug::TraceLog::Options options);
+ void SendBeginTracing(const base::debug::CategoryFilter& category_filter_str,
+ base::debug::TraceOptions options);
nduca 2014/07/29 22:40:12 const base::debug::TraceOptions& options
void SendEndTracing();
- void SendEnableMonitoring(const std::string& category_filter_str,
- base::debug::TraceLog::Options options);
+ void SendEnableMonitoring(const base::debug::CategoryFilter& category_filter,
+ base::debug::TraceOptions options);
void SendDisableMonitoring();
void SendCaptureMonitoringSnapshot();
void SendGetTraceBufferPercentFull();

Powered by Google App Engine
This is Rietveld 408576698