| 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> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 bool* out_enabled, | 43 bool* out_enabled, |
| 44 base::trace_event::TraceConfig* out_trace_config) override; | 44 base::trace_event::TraceConfig* out_trace_config) override; |
| 45 bool CaptureMonitoringSnapshot( | 45 bool CaptureMonitoringSnapshot( |
| 46 const scoped_refptr<TraceDataSink>& sink) override; | 46 const scoped_refptr<TraceDataSink>& sink) override; |
| 47 bool GetTraceBufferUsage( | 47 bool GetTraceBufferUsage( |
| 48 const GetTraceBufferUsageCallback& callback) override; | 48 const GetTraceBufferUsageCallback& callback) override; |
| 49 bool SetWatchEvent(const std::string& category_name, | 49 bool SetWatchEvent(const std::string& category_name, |
| 50 const std::string& event_name, | 50 const std::string& event_name, |
| 51 const WatchEventCallback& callback) override; | 51 const WatchEventCallback& callback) override; |
| 52 bool CancelWatchEvent() override; | 52 bool CancelWatchEvent() override; |
| 53 bool IsRecording() const override; |
| 53 | 54 |
| 54 void RegisterTracingUI(TracingUI* tracing_ui); | 55 void RegisterTracingUI(TracingUI* tracing_ui); |
| 55 void UnregisterTracingUI(TracingUI* tracing_ui); | 56 void UnregisterTracingUI(TracingUI* tracing_ui); |
| 56 | 57 |
| 57 // base::trace_event::MemoryDumpManagerDelegate implementation. | 58 // base::trace_event::MemoryDumpManagerDelegate implementation. |
| 58 void RequestGlobalMemoryDump( | 59 void RequestGlobalMemoryDump( |
| 59 const base::trace_event::MemoryDumpRequestArgs& args, | 60 const base::trace_event::MemoryDumpRequestArgs& args, |
| 60 const base::trace_event::MemoryDumpCallback& callback) override; | 61 const base::trace_event::MemoryDumpCallback& callback) override; |
| 61 bool IsCoordinatorProcess() const override; | 62 bool IsCoordinatorProcess() const override; |
| 62 | 63 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 std::set<TracingUI*> tracing_uis_; | 193 std::set<TracingUI*> tracing_uis_; |
| 193 scoped_refptr<TraceDataSink> trace_data_sink_; | 194 scoped_refptr<TraceDataSink> trace_data_sink_; |
| 194 scoped_refptr<TraceDataSink> monitoring_data_sink_; | 195 scoped_refptr<TraceDataSink> monitoring_data_sink_; |
| 195 | 196 |
| 196 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); | 197 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 } // namespace content | 200 } // namespace content |
| 200 | 201 |
| 201 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 202 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
| OLD | NEW |