OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PUBLIC_CPP_TRACING_IMPL_H_ | 5 #ifndef SERVICES_TRACING_PUBLIC_CPP_TRACING_IMPL_H_ |
6 #define MOJO_SERVICES_TRACING_PUBLIC_CPP_TRACING_IMPL_H_ | 6 #define SERVICES_TRACING_PUBLIC_CPP_TRACING_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/services/tracing/public/cpp/trace_provider_impl.h" | |
10 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" | |
11 #include "services/shell/public/cpp/interface_factory.h" | 9 #include "services/shell/public/cpp/interface_factory.h" |
| 10 #include "services/tracing/public/cpp/trace_provider_impl.h" |
| 11 #include "services/tracing/public/interfaces/tracing.mojom.h" |
12 | 12 |
13 namespace mojo { | 13 namespace mojo { |
14 | 14 |
15 class Connection; | 15 class Connection; |
16 class Connector; | 16 class Connector; |
17 | 17 |
18 // Connects to mojo:tracing during your Application's Initialize() call once | 18 // Connects to mojo:tracing during your Application's Initialize() call once |
19 // per process. | 19 // per process. |
20 // | 20 // |
21 // We need to deal with multiple ways of packaging mojo applications | 21 // We need to deal with multiple ways of packaging mojo applications |
(...skipping 18 matching lines...) Expand all Loading... |
40 InterfaceRequest<tracing::TraceProvider> request) override; | 40 InterfaceRequest<tracing::TraceProvider> request) override; |
41 | 41 |
42 scoped_ptr<Connection> connection_; | 42 scoped_ptr<Connection> connection_; |
43 TraceProviderImpl provider_impl_; | 43 TraceProviderImpl provider_impl_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(TracingImpl); | 45 DISALLOW_COPY_AND_ASSIGN(TracingImpl); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace mojo | 48 } // namespace mojo |
49 | 49 |
50 #endif // MOJO_SERVICES_TRACING_PUBLIC_CPP_TRACING_IMPL_H_ | 50 #endif // SERVICES_TRACING_PUBLIC_CPP_TRACING_IMPL_H_ |
OLD | NEW |