OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
6 #define CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 6 #define CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 const base::TimeTicks& issue_ts, | 164 const base::TimeTicks& issue_ts, |
165 const base::TimeTicks& issue_end_ts); | 165 const base::TimeTicks& issue_end_ts); |
166 | 166 |
167 typedef std::set<scoped_refptr<TraceMessageFilter>> TraceMessageFilterSet; | 167 typedef std::set<scoped_refptr<TraceMessageFilter>> TraceMessageFilterSet; |
168 TraceMessageFilterSet trace_message_filters_; | 168 TraceMessageFilterSet trace_message_filters_; |
169 | 169 |
170 // Pending acks for StartTracing. | 170 // Pending acks for StartTracing. |
171 int pending_start_tracing_ack_count_; | 171 int pending_start_tracing_ack_count_; |
172 base::OneShotTimer start_tracing_timer_; | 172 base::OneShotTimer start_tracing_timer_; |
173 StartTracingDoneCallback start_tracing_done_callback_; | 173 StartTracingDoneCallback start_tracing_done_callback_; |
174 scoped_ptr<base::trace_event::TraceConfig> start_tracing_trace_config_; | 174 std::unique_ptr<base::trace_event::TraceConfig> start_tracing_trace_config_; |
175 | 175 |
176 // Pending acks for StopTracing. | 176 // Pending acks for StopTracing. |
177 int pending_stop_tracing_ack_count_; | 177 int pending_stop_tracing_ack_count_; |
178 TraceMessageFilterSet pending_stop_tracing_filters_; | 178 TraceMessageFilterSet pending_stop_tracing_filters_; |
179 | 179 |
180 // Pending acks for GetTraceLogStatus. | 180 // Pending acks for GetTraceLogStatus. |
181 int pending_trace_log_status_ack_count_; | 181 int pending_trace_log_status_ack_count_; |
182 TraceMessageFilterSet pending_trace_log_status_filters_; | 182 TraceMessageFilterSet pending_trace_log_status_filters_; |
183 float maximum_trace_buffer_usage_; | 183 float maximum_trace_buffer_usage_; |
184 size_t approximate_event_count_; | 184 size_t approximate_event_count_; |
(...skipping 27 matching lines...) Expand all Loading... |
212 std::set<TracingUI*> tracing_uis_; | 212 std::set<TracingUI*> tracing_uis_; |
213 scoped_refptr<TraceDataSink> trace_data_sink_; | 213 scoped_refptr<TraceDataSink> trace_data_sink_; |
214 scoped_refptr<TraceDataSink> monitoring_data_sink_; | 214 scoped_refptr<TraceDataSink> monitoring_data_sink_; |
215 | 215 |
216 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); | 216 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); |
217 }; | 217 }; |
218 | 218 |
219 } // namespace content | 219 } // namespace content |
220 | 220 |
221 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 221 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
OLD | NEW |