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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 void FinalizeGlobalMemoryDumpIfAllProcessesReplied(); | 160 void FinalizeGlobalMemoryDumpIfAllProcessesReplied(); |
161 | 161 |
162 void OnWatchEventMatched(); | 162 void OnWatchEventMatched(); |
163 | 163 |
164 void SetEnabledOnFileThread( | 164 void SetEnabledOnFileThread( |
165 const base::trace_event::TraceConfig& trace_config, | 165 const base::trace_event::TraceConfig& trace_config, |
166 int mode, | 166 int mode, |
167 const base::Closure& callback); | 167 const base::Closure& callback); |
168 void SetDisabledOnFileThread(const base::Closure& callback); | 168 void SetDisabledOnFileThread(const base::Closure& callback); |
169 void OnStartAgentTracingDone( | 169 void OnStartAgentTracingDone( |
170 const base::trace_event::TraceConfig& trace_config, | 170 const base::trace_event::TraceConfig& trace_config); |
171 const StartTracingDoneCallback& callback); | |
172 void StopTracingAfterClockSync(); | 171 void StopTracingAfterClockSync(); |
173 void OnStopTracingDone(); | 172 void OnStopTracingDone(); |
174 void OnStartMonitoringDone( | 173 void OnStartMonitoringDone( |
175 const base::trace_event::TraceConfig& trace_config, | 174 const base::trace_event::TraceConfig& trace_config, |
176 const StartMonitoringDoneCallback& callback); | 175 const StartMonitoringDoneCallback& callback); |
177 void OnStopMonitoringDone(const StopMonitoringDoneCallback& callback); | 176 void OnStopMonitoringDone(const StopMonitoringDoneCallback& callback); |
178 | 177 |
179 void OnMonitoringStateChanged(bool is_monitoring); | 178 void OnMonitoringStateChanged(bool is_monitoring); |
180 | 179 |
181 int GetUniqueClockSyncID(); | 180 int GetUniqueClockSyncID(); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 std::set<TracingUI*> tracing_uis_; | 232 std::set<TracingUI*> tracing_uis_; |
234 scoped_refptr<TraceDataSink> trace_data_sink_; | 233 scoped_refptr<TraceDataSink> trace_data_sink_; |
235 scoped_refptr<TraceDataSink> monitoring_data_sink_; | 234 scoped_refptr<TraceDataSink> monitoring_data_sink_; |
236 | 235 |
237 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); | 236 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); |
238 }; | 237 }; |
239 | 238 |
240 } // namespace content | 239 } // namespace content |
241 | 240 |
242 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 241 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
OLD | NEW |