OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // Pending acks for CaptureMonitoringSnapshot. | 150 // Pending acks for CaptureMonitoringSnapshot. |
151 int pending_capture_monitoring_snapshot_ack_count_; | 151 int pending_capture_monitoring_snapshot_ack_count_; |
152 TraceMessageFilterSet pending_capture_monitoring_filters_; | 152 TraceMessageFilterSet pending_capture_monitoring_filters_; |
153 // Pending acks for GetTraceBufferPercentFull. | 153 // Pending acks for GetTraceBufferPercentFull. |
154 int pending_trace_buffer_percent_full_ack_count_; | 154 int pending_trace_buffer_percent_full_ack_count_; |
155 TraceMessageFilterSet pending_trace_buffer_percent_full_filters_; | 155 TraceMessageFilterSet pending_trace_buffer_percent_full_filters_; |
156 float maximum_trace_buffer_percent_full_; | 156 float maximum_trace_buffer_percent_full_; |
157 | 157 |
158 bool is_recording_; | 158 bool is_recording_; |
159 bool is_monitoring_; | 159 bool is_monitoring_; |
| 160 TracingController::Options options_; |
160 | 161 |
161 GetCategoriesDoneCallback pending_get_categories_done_callback_; | 162 GetCategoriesDoneCallback pending_get_categories_done_callback_; |
162 TracingFileResultCallback pending_disable_recording_done_callback_; | 163 TracingFileResultCallback pending_disable_recording_done_callback_; |
163 TracingFileResultCallback pending_capture_monitoring_snapshot_done_callback_; | 164 TracingFileResultCallback pending_capture_monitoring_snapshot_done_callback_; |
164 GetTraceBufferPercentFullCallback pending_trace_buffer_percent_full_callback_; | 165 GetTraceBufferPercentFullCallback pending_trace_buffer_percent_full_callback_; |
165 | 166 |
166 std::string watch_category_name_; | 167 std::string watch_category_name_; |
167 std::string watch_event_name_; | 168 std::string watch_event_name_; |
168 WatchEventCallback watch_event_callback_; | 169 WatchEventCallback watch_event_callback_; |
169 | 170 |
170 std::set<std::string> known_category_groups_; | 171 std::set<std::string> known_category_groups_; |
171 std::set<TracingUI*> tracing_uis_; | 172 std::set<TracingUI*> tracing_uis_; |
172 scoped_ptr<ResultFile> result_file_; | 173 scoped_ptr<ResultFile> result_file_; |
173 scoped_ptr<ResultFile> monitoring_snapshot_file_; | 174 scoped_ptr<ResultFile> monitoring_snapshot_file_; |
174 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); | 175 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); |
175 }; | 176 }; |
176 | 177 |
177 } // namespace content | 178 } // namespace content |
178 | 179 |
179 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 180 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
OLD | NEW |