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 |
11 #include <list> | 11 #include <list> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
19 #include "base/trace_event/memory_dump_manager.h" | 19 #include "base/trace_event/memory_dump_manager.h" |
20 #include "base/trace_event/tracing_agent.h" | 20 #include "base/trace_event/tracing_agent.h" |
21 #include "content/public/browser/tracing_controller.h" | 21 #include "content/public/browser/tracing_controller.h" |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class RefCountedString; | 24 class RefCountedString; |
25 class RefCountedMemory; | |
26 } | 25 } |
27 | 26 |
28 namespace content { | 27 namespace content { |
29 | 28 |
30 class TraceMessageFilter; | 29 class TraceMessageFilter; |
31 class TracingUI; | 30 class TracingUI; |
32 | 31 |
33 // An implementation of this interface is passed when constructing a | 32 // An implementation of this interface is passed when constructing a |
34 // TraceDataSink, and receives chunks of the final trace data as it's being | 33 // TraceDataSink, and receives chunks of the final trace data as it's being |
35 // constructed. | 34 // constructed. |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 scoped_refptr<TraceDataSink> trace_data_sink_; | 242 scoped_refptr<TraceDataSink> trace_data_sink_; |
244 scoped_refptr<TraceDataSink> monitoring_data_sink_; | 243 scoped_refptr<TraceDataSink> monitoring_data_sink_; |
245 std::unique_ptr<base::DictionaryValue> metadata_; | 244 std::unique_ptr<base::DictionaryValue> metadata_; |
246 | 245 |
247 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); | 246 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); |
248 }; | 247 }; |
249 | 248 |
250 } // namespace content | 249 } // namespace content |
251 | 250 |
252 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 251 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
OLD | NEW |