| 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 #ifndef MOJO_SERVICES_TRACING_TRACING_APP_H_ | 5 #ifndef MOJO_SERVICES_TRACING_TRACING_APP_H_ |
| 6 #define MOJO_SERVICES_TRACING_TRACING_APP_H_ | 6 #define MOJO_SERVICES_TRACING_TRACING_APP_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| 11 #include "mojo/application/public/cpp/application_delegate.h" | 11 #include "mojo/application/public/cpp/application_delegate.h" |
| 12 #include "mojo/application/public/cpp/interface_factory.h" | 12 #include "mojo/application/public/cpp/interface_factory.h" |
| 13 #include "mojo/common/weak_binding_set.h" | 13 #include "mojo/common/weak_binding_set.h" |
| 14 #include "mojo/common/weak_interface_ptr_set.h" | 14 #include "mojo/common/weak_interface_ptr_set.h" |
| 15 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 15 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" | 16 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" |
| 16 #include "mojo/services/tracing/trace_data_sink.h" | 17 #include "mojo/services/tracing/trace_data_sink.h" |
| 17 #include "mojo/services/tracing/trace_recorder_impl.h" | 18 #include "mojo/services/tracing/trace_recorder_impl.h" |
| 18 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | |
| 19 | 19 |
| 20 namespace tracing { | 20 namespace tracing { |
| 21 | 21 |
| 22 class TracingApp | 22 class TracingApp |
| 23 : public mojo::ApplicationDelegate, | 23 : public mojo::ApplicationDelegate, |
| 24 public mojo::InterfaceFactory<TraceCollector>, | 24 public mojo::InterfaceFactory<TraceCollector>, |
| 25 public TraceCollector, | 25 public TraceCollector, |
| 26 public mojo::InterfaceFactory<StartupPerformanceDataCollector>, | 26 public mojo::InterfaceFactory<StartupPerformanceDataCollector>, |
| 27 public StartupPerformanceDataCollector { | 27 public StartupPerformanceDataCollector { |
| 28 public: | 28 public: |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 StartupPerformanceTimes startup_performance_times_; | 70 StartupPerformanceTimes startup_performance_times_; |
| 71 bool tracing_active_; | 71 bool tracing_active_; |
| 72 mojo::String tracing_categories_; | 72 mojo::String tracing_categories_; |
| 73 | 73 |
| 74 DISALLOW_COPY_AND_ASSIGN(TracingApp); | 74 DISALLOW_COPY_AND_ASSIGN(TracingApp); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace tracing | 77 } // namespace tracing |
| 78 | 78 |
| 79 #endif // MOJO_SERVICES_TRACING_TRACING_APP_H_ | 79 #endif // MOJO_SERVICES_TRACING_TRACING_APP_H_ |
| OLD | NEW |