Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1159)

Side by Side Diff: mojo/common/tracing_impl.h

Issue 1928183002: Use TraceProviderRegistry in //services/dart/dart_tracing.*. (Closed) Base URL: https://github.com/domokit/mojo.git@work787_trace_provider_registry_2
Patch Set: gah Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | mojo/common/tracing_impl.cc » ('j') | services/dart/dart_tracing.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_COMMON_TRACING_IMPL_H_ 5 #ifndef MOJO_COMMON_TRACING_IMPL_H_
6 #define MOJO_COMMON_TRACING_IMPL_H_ 6 #define MOJO_COMMON_TRACING_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/common/trace_provider_impl.h" 9 #include "mojo/common/trace_provider_impl.h"
10 #include "mojo/public/cpp/application/service_provider_impl.h"
11 10
12 namespace mojo { 11 namespace mojo {
13 12
14 class ApplicationImpl; 13 class ApplicationImpl;
15 14
16 class TracingImpl { 15 class TracingImpl {
17 public: 16 public:
18 TracingImpl(); 17 TracingImpl();
19 ~TracingImpl(); 18 ~TracingImpl();
20 19
21 // This connects to the tracing service and registers ourselves to provide 20 // This connects to the tracing service and registers ourselves to provide
22 // tracing data on demand. 21 // tracing data on demand.
23 void Initialize(ApplicationImpl* app); 22 void Initialize(ApplicationImpl* app);
24 23
25 private: 24 private:
26 TraceProviderImpl provider_impl_; 25 TraceProviderImpl provider_impl_;
27 26
28 DISALLOW_COPY_AND_ASSIGN(TracingImpl); 27 DISALLOW_COPY_AND_ASSIGN(TracingImpl);
29 }; 28 };
30 29
31 } // namespace mojo 30 } // namespace mojo
32 31
33 #endif // MOJO_COMMON_TRACING_IMPL_H_ 32 #endif // MOJO_COMMON_TRACING_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/common/tracing_impl.cc » ('j') | services/dart/dart_tracing.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698