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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 size_t approximate_event_count_; | 184 size_t approximate_event_count_; |
185 | 185 |
186 // Pending acks for memory RequestGlobalDumpPoint. | 186 // Pending acks for memory RequestGlobalDumpPoint. |
187 int pending_memory_dump_ack_count_; | 187 int pending_memory_dump_ack_count_; |
188 int failed_memory_dump_count_; | 188 int failed_memory_dump_count_; |
189 TraceMessageFilterSet pending_memory_dump_filters_; | 189 TraceMessageFilterSet pending_memory_dump_filters_; |
190 uint64_t pending_memory_dump_guid_; | 190 uint64_t pending_memory_dump_guid_; |
191 base::trace_event::MemoryDumpCallback pending_memory_dump_callback_; | 191 base::trace_event::MemoryDumpCallback pending_memory_dump_callback_; |
192 | 192 |
193 std::vector<base::trace_event::TracingAgent*> additional_tracing_agents_; | 193 std::vector<base::trace_event::TracingAgent*> additional_tracing_agents_; |
194 int clock_sync_id_; | |
195 int pending_clock_sync_ack_count_; | 194 int pending_clock_sync_ack_count_; |
196 base::OneShotTimer clock_sync_timer_; | 195 base::OneShotTimer clock_sync_timer_; |
197 | 196 |
198 bool is_tracing_; | 197 bool is_tracing_; |
199 bool is_monitoring_; | 198 bool is_monitoring_; |
200 | 199 |
201 GetCategoriesDoneCallback pending_get_categories_done_callback_; | 200 GetCategoriesDoneCallback pending_get_categories_done_callback_; |
202 GetTraceBufferUsageCallback pending_trace_buffer_usage_callback_; | 201 GetTraceBufferUsageCallback pending_trace_buffer_usage_callback_; |
203 | 202 |
204 std::string watch_category_name_; | 203 std::string watch_category_name_; |
205 std::string watch_event_name_; | 204 std::string watch_event_name_; |
206 WatchEventCallback watch_event_callback_; | 205 WatchEventCallback watch_event_callback_; |
207 | 206 |
208 base::ObserverList<TraceMessageFilterObserver> | 207 base::ObserverList<TraceMessageFilterObserver> |
209 trace_message_filter_observers_; | 208 trace_message_filter_observers_; |
210 | 209 |
211 std::set<std::string> known_category_groups_; | 210 std::set<std::string> known_category_groups_; |
212 std::set<TracingUI*> tracing_uis_; | 211 std::set<TracingUI*> tracing_uis_; |
213 scoped_refptr<TraceDataSink> trace_data_sink_; | 212 scoped_refptr<TraceDataSink> trace_data_sink_; |
214 scoped_refptr<TraceDataSink> monitoring_data_sink_; | 213 scoped_refptr<TraceDataSink> monitoring_data_sink_; |
215 | 214 |
216 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); | 215 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); |
217 }; | 216 }; |
218 | 217 |
219 } // namespace content | 218 } // namespace content |
220 | 219 |
221 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 220 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
OLD | NEW |