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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
13 #include "base/trace_event/memory_dump_manager.h" | 13 #include "base/trace_event/memory_dump_manager.h" |
| 14 #include "content/browser/tracing/file_tracing_provider_impl.h" |
14 #include "content/public/browser/tracing_controller.h" | 15 #include "content/public/browser/tracing_controller.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 class RefCountedString; | 18 class RefCountedString; |
18 class RefCountedMemory; | 19 class RefCountedMemory; |
19 } | 20 } |
20 | 21 |
21 namespace content { | 22 namespace content { |
22 | 23 |
23 class TraceMessageFilter; | 24 class TraceMessageFilter; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 GetTraceBufferUsageCallback pending_trace_buffer_usage_callback_; | 193 GetTraceBufferUsageCallback pending_trace_buffer_usage_callback_; |
193 | 194 |
194 std::string watch_category_name_; | 195 std::string watch_category_name_; |
195 std::string watch_event_name_; | 196 std::string watch_event_name_; |
196 WatchEventCallback watch_event_callback_; | 197 WatchEventCallback watch_event_callback_; |
197 | 198 |
198 std::set<std::string> known_category_groups_; | 199 std::set<std::string> known_category_groups_; |
199 std::set<TracingUI*> tracing_uis_; | 200 std::set<TracingUI*> tracing_uis_; |
200 scoped_refptr<TraceDataSink> trace_data_sink_; | 201 scoped_refptr<TraceDataSink> trace_data_sink_; |
201 scoped_refptr<TraceDataSink> monitoring_data_sink_; | 202 scoped_refptr<TraceDataSink> monitoring_data_sink_; |
| 203 |
| 204 FileTracingProviderImpl file_tracing_provider_; |
| 205 |
202 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); | 206 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); |
203 }; | 207 }; |
204 | 208 |
205 } // namespace content | 209 } // namespace content |
206 | 210 |
207 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 211 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
OLD | NEW |