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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "mojo/public/cpp/bindings/binding_set.h" | 13 #include "mojo/public/cpp/bindings/binding_set.h" |
14 #include "mojo/public/cpp/bindings/interface_ptr_set.h" | 14 #include "mojo/public/cpp/bindings/interface_ptr_set.h" |
15 #include "mojo/public/cpp/bindings/strong_binding.h" | 15 #include "mojo/public/cpp/bindings/strong_binding.h" |
16 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" | 16 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" |
17 #include "mojo/services/tracing/trace_data_sink.h" | 17 #include "mojo/services/tracing/trace_data_sink.h" |
18 #include "mojo/services/tracing/trace_recorder_impl.h" | 18 #include "mojo/services/tracing/trace_recorder_impl.h" |
19 #include "mojo/shell/public/cpp/interface_factory.h" | 19 #include "services/shell/public/cpp/interface_factory.h" |
20 #include "mojo/shell/public/cpp/shell_client.h" | 20 #include "services/shell/public/cpp/shell_client.h" |
21 | 21 |
22 namespace tracing { | 22 namespace tracing { |
23 | 23 |
24 class TracingApp | 24 class TracingApp |
25 : public mojo::ShellClient, | 25 : public mojo::ShellClient, |
26 public mojo::InterfaceFactory<TraceCollector>, | 26 public mojo::InterfaceFactory<TraceCollector>, |
27 public TraceCollector, | 27 public TraceCollector, |
28 public mojo::InterfaceFactory<StartupPerformanceDataCollector>, | 28 public mojo::InterfaceFactory<StartupPerformanceDataCollector>, |
29 public StartupPerformanceDataCollector { | 29 public StartupPerformanceDataCollector { |
30 public: | 30 public: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 StartupPerformanceTimes startup_performance_times_; | 72 StartupPerformanceTimes startup_performance_times_; |
73 bool tracing_active_; | 73 bool tracing_active_; |
74 mojo::String tracing_categories_; | 74 mojo::String tracing_categories_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(TracingApp); | 76 DISALLOW_COPY_AND_ASSIGN(TracingApp); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace tracing | 79 } // namespace tracing |
80 | 80 |
81 #endif // MOJO_SERVICES_TRACING_TRACING_APP_H_ | 81 #endif // MOJO_SERVICES_TRACING_TRACING_APP_H_ |
OLD | NEW |