| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "mojo/services/tracing/tracing_app.h" | 5 #include "services/tracing/tracing_app.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
| 15 | 15 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 const GetStartupPerformanceTimesCallback& callback) { | 177 const GetStartupPerformanceTimesCallback& callback) { |
| 178 callback.Run(startup_performance_times_.Clone()); | 178 callback.Run(startup_performance_times_.Clone()); |
| 179 } | 179 } |
| 180 | 180 |
| 181 void TracingApp::AllDataCollected() { | 181 void TracingApp::AllDataCollected() { |
| 182 recorder_impls_.clear(); | 182 recorder_impls_.clear(); |
| 183 sink_.reset(); | 183 sink_.reset(); |
| 184 } | 184 } |
| 185 | 185 |
| 186 } // namespace tracing | 186 } // namespace tracing |
| OLD | NEW |