diff options
author | ssid <ssid@chromium.org> | 2015-02-09 08:02:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-09 16:03:13 +0000 |
commit | b2e3ececdfdc5ce1037d1bb648a7ff0f1d38f508 (patch) | |
tree | 098f6c0ae836aaed55cdf92b1a9ff5358779746a /content/browser/tracing/tracing_controller_impl.h | |
parent | fe2e3e76fe7842c9cdcf5c3aaa62081a564c42a2 (diff) | |
download | chromium_src-b2e3ececdfdc5ce1037d1bb648a7ff0f1d38f508.zip chromium_src-b2e3ececdfdc5ce1037d1bb648a7ff0f1d38f508.tar.gz chromium_src-b2e3ececdfdc5ce1037d1bb648a7ff0f1d38f508.tar.bz2 |
Mechanical rename of base::debug -> base::trace_event for /content
This is the last stage of the trace_event directory restructuring.
This is part of a set of 3 CLs which is moving tracing clients to use
the new base::trace_event namespace.
See crrev.com/837303004 and the related bug for motivations.
BUG=451032
TBR=jam@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/892213004
Cr-Commit-Position: refs/heads/master@{#315310}
Diffstat (limited to 'content/browser/tracing/tracing_controller_impl.h')
-rw-r--r-- | content/browser/tracing/tracing_controller_impl.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/content/browser/tracing/tracing_controller_impl.h b/content/browser/tracing/tracing_controller_impl.h index 330b928..a5563a8 100644 --- a/content/browser/tracing/tracing_controller_impl.h +++ b/content/browser/tracing/tracing_controller_impl.h @@ -28,19 +28,20 @@ class TracingControllerImpl : public TracingController { // TracingController implementation. bool GetCategories(const GetCategoriesDoneCallback& callback) override; - bool EnableRecording(const base::debug::CategoryFilter& category_filter, - const base::debug::TraceOptions& trace_options, + bool EnableRecording(const base::trace_event::CategoryFilter& category_filter, + const base::trace_event::TraceOptions& trace_options, const EnableRecordingDoneCallback& callback) override; bool DisableRecording(const scoped_refptr<TraceDataSink>& sink) override; - bool EnableMonitoring(const base::debug::CategoryFilter& category_filter, - const base::debug::TraceOptions& trace_options, - const EnableMonitoringDoneCallback& callback) override; + bool EnableMonitoring( + const base::trace_event::CategoryFilter& category_filter, + const base::trace_event::TraceOptions& trace_options, + const EnableMonitoringDoneCallback& callback) override; bool DisableMonitoring( const DisableMonitoringDoneCallback& callback) override; void GetMonitoringStatus( bool* out_enabled, - base::debug::CategoryFilter* out_category_filter, - base::debug::TraceOptions* out_trace_options) override; + base::trace_event::CategoryFilter* out_category_filter, + base::trace_event::TraceOptions* out_trace_options) override; bool CaptureMonitoringSnapshot( const scoped_refptr<TraceDataSink>& sink) override; bool GetTraceBufferUsage( @@ -117,23 +118,24 @@ class TracingControllerImpl : public TracingController { TraceMessageFilter* trace_message_filter); void OnTraceLogStatusReply(TraceMessageFilter* trace_message_filter, - const base::debug::TraceLogStatus& status); + const base::trace_event::TraceLogStatus& status); void OnWatchEventMatched(); void SetEnabledOnFileThread( - const base::debug::CategoryFilter& category_filter, + const base::trace_event::CategoryFilter& category_filter, int mode, - const base::debug::TraceOptions& trace_options, + const base::trace_event::TraceOptions& trace_options, const base::Closure& callback); void SetDisabledOnFileThread(const base::Closure& callback); - void OnEnableRecordingDone(const base::debug::CategoryFilter& category_filter, - const base::debug::TraceOptions& trace_options, - const EnableRecordingDoneCallback& callback); + void OnEnableRecordingDone( + const base::trace_event::CategoryFilter& category_filter, + const base::trace_event::TraceOptions& trace_options, + const EnableRecordingDoneCallback& callback); void OnDisableRecordingDone(); void OnEnableMonitoringDone( - const base::debug::CategoryFilter& category_filter, - const base::debug::TraceOptions& trace_options, + const base::trace_event::CategoryFilter& category_filter, + const base::trace_event::TraceOptions& trace_options, const EnableMonitoringDoneCallback& callback); void OnDisableMonitoringDone(const DisableMonitoringDoneCallback& callback); @@ -158,7 +160,7 @@ class TracingControllerImpl : public TracingController { #endif bool is_recording_; bool is_monitoring_; - base::debug::TraceOptions trace_options_; + base::trace_event::TraceOptions trace_options_; GetCategoriesDoneCallback pending_get_categories_done_callback_; GetTraceBufferUsageCallback pending_trace_buffer_usage_callback_; |