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

Unified Diff: content/public/browser/tracing_controller.h

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
« no previous file with comments | « content/common/gpu/client/gl_helper_unittest.cc ('k') | content/public/test/browser_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/tracing_controller.h
diff --git a/content/public/browser/tracing_controller.h b/content/public/browser/tracing_controller.h
index 70d608ce9b8eecda5ff632df31e38494fc4ccdda..9c68fcf3c8dc3ab016136f03362b3a2fa6708f81 100644
--- a/content/public/browser/tracing_controller.h
+++ b/content/public/browser/tracing_controller.h
@@ -111,8 +111,7 @@ class TracingController {
// |options| controls what kind of tracing is enabled.
typedef base::Callback<void()> EnableRecordingDoneCallback;
virtual bool EnableRecording(
- const base::trace_event::CategoryFilter& category_filter,
- const base::trace_event::TraceOptions& trace_options,
+ const base::trace_event::TraceConfig& trace_config,
const EnableRecordingDoneCallback& callback) = 0;
// Stop recording on all processes.
@@ -148,8 +147,7 @@ class TracingController {
// |options| controls what kind of tracing is enabled.
typedef base::Callback<void()> EnableMonitoringDoneCallback;
virtual bool EnableMonitoring(
- const base::trace_event::CategoryFilter& category_filter,
- const base::trace_event::TraceOptions& trace_options,
+ const base::trace_event::TraceConfig& trace_config,
const EnableMonitoringDoneCallback& callback) = 0;
// Stop monitoring on all processes.
@@ -163,8 +161,7 @@ class TracingController {
// Get the current monitoring configuration.
virtual void GetMonitoringStatus(
bool* out_enabled,
- base::trace_event::CategoryFilter* out_category_filter,
- base::trace_event::TraceOptions* out_trace_options) = 0;
+ base::trace_event::TraceConfig* out_trace_config) = 0;
// Get the current monitoring traced data.
//
« no previous file with comments | « content/common/gpu/client/gl_helper_unittest.cc ('k') | content/public/test/browser_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698