| 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_COMMON_TRACING_CONTROLLER_IMPL_H_ | 5 #ifndef MOJO_COMMON_TRACING_CONTROLLER_IMPL_H_ |
| 6 #define MOJO_COMMON_TRACING_CONTROLLER_IMPL_H_ | 6 #define MOJO_COMMON_TRACING_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted_memory.h" | 8 #include "base/memory/ref_counted_memory.h" |
| 9 #include "mojo/services/tracing/tracing.mojom.h" | 9 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" |
| 10 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" | 10 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" |
| 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
| 12 | 12 |
| 13 namespace mojo { | 13 namespace mojo { |
| 14 | 14 |
| 15 class TraceControllerImpl : public tracing::TraceController { | 15 class TraceControllerImpl : public tracing::TraceController { |
| 16 public: | 16 public: |
| 17 explicit TraceControllerImpl( | 17 explicit TraceControllerImpl( |
| 18 InterfaceRequest<tracing::TraceController> request); | 18 InterfaceRequest<tracing::TraceController> request); |
| 19 | 19 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 tracing::TraceDataCollectorPtr collector_; | 31 tracing::TraceDataCollectorPtr collector_; |
| 32 StrongBinding<tracing::TraceController> binding_; | 32 StrongBinding<tracing::TraceController> binding_; |
| 33 | 33 |
| 34 DISALLOW_COPY_AND_ASSIGN(TraceControllerImpl); | 34 DISALLOW_COPY_AND_ASSIGN(TraceControllerImpl); |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } // namespace mojo | 37 } // namespace mojo |
| 38 | 38 |
| 39 #endif // MOJO_COMMON_TRACING_CONTROLLER_IMPL_H_ | 39 #endif // MOJO_COMMON_TRACING_CONTROLLER_IMPL_H_ |
| OLD | NEW |