| 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 SERVICES_TRACING_TRACING_APP_H_ | 5 #ifndef SERVICES_TRACING_TRACING_APP_H_ |
| 6 #define SERVICES_TRACING_TRACING_APP_H_ | 6 #define 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/common/interface_ptr_set.h" | 11 #include "mojo/common/interface_ptr_set.h" |
| 12 #include "mojo/common/weak_binding_set.h" | |
| 13 #include "mojo/public/cpp/application/application_delegate.h" | 12 #include "mojo/public/cpp/application/application_delegate.h" |
| 14 #include "mojo/public/cpp/application/application_impl.h" | 13 #include "mojo/public/cpp/application/application_impl.h" |
| 15 #include "mojo/public/cpp/bindings/strong_binding.h" | 14 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 16 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" | 15 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" |
| 17 #include "services/tracing/collector_impl.h" | 16 #include "services/tracing/collector_impl.h" |
| 18 #include "services/tracing/trace_data_sink.h" | 17 #include "services/tracing/trace_data_sink.h" |
| 19 | 18 |
| 20 namespace tracing { | 19 namespace tracing { |
| 21 | 20 |
| 22 class TracingApp : public mojo::ApplicationDelegate, | 21 class TracingApp : public mojo::ApplicationDelegate, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 48 mojo::Binding<TraceCoordinator> coordinator_binding_; | 47 mojo::Binding<TraceCoordinator> coordinator_binding_; |
| 49 bool tracing_active_; | 48 bool tracing_active_; |
| 50 mojo::String tracing_categories_; | 49 mojo::String tracing_categories_; |
| 51 | 50 |
| 52 DISALLOW_COPY_AND_ASSIGN(TracingApp); | 51 DISALLOW_COPY_AND_ASSIGN(TracingApp); |
| 53 }; | 52 }; |
| 54 | 53 |
| 55 } // namespace tracing | 54 } // namespace tracing |
| 56 | 55 |
| 57 #endif // SERVICES_TRACING_TRACING_APP_H_ | 56 #endif // SERVICES_TRACING_TRACING_APP_H_ |
| OLD | NEW |