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

Side by Side Diff: services/tracing/public/cpp/trace_provider_impl.h

Issue 1878893002: Move //mojo/services tracing & catalog to //services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@63move
Patch Set: . Created 4 years, 8 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
OLDNEW
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_PUBLIC_CPP_TRACE_PROVIDER_IMPL_H_ 5 #ifndef SERVICES_TRACING_PUBLIC_CPP_TRACE_PROVIDER_IMPL_H_
6 #define MOJO_SERVICES_TRACING_PUBLIC_CPP_TRACE_PROVIDER_IMPL_H_ 6 #define SERVICES_TRACING_PUBLIC_CPP_TRACE_PROVIDER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted_memory.h" 9 #include "base/memory/ref_counted_memory.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "mojo/public/cpp/bindings/binding.h" 11 #include "mojo/public/cpp/bindings/binding.h"
12 #include "mojo/public/cpp/bindings/interface_request.h" 12 #include "mojo/public/cpp/bindings/interface_request.h"
13 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" 13 #include "services/tracing/public/interfaces/tracing.mojom.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 16
17 class TraceProviderImpl : public tracing::TraceProvider { 17 class TraceProviderImpl : public tracing::TraceProvider {
18 public: 18 public:
19 TraceProviderImpl(); 19 TraceProviderImpl();
20 ~TraceProviderImpl() override; 20 ~TraceProviderImpl() override;
21 21
22 void Bind(InterfaceRequest<tracing::TraceProvider> request); 22 void Bind(InterfaceRequest<tracing::TraceProvider> request);
23 23
(...skipping 17 matching lines...) Expand all
41 Binding<tracing::TraceProvider> binding_; 41 Binding<tracing::TraceProvider> binding_;
42 bool tracing_forced_; 42 bool tracing_forced_;
43 tracing::TraceRecorderPtr recorder_; 43 tracing::TraceRecorderPtr recorder_;
44 44
45 base::WeakPtrFactory<TraceProviderImpl> weak_factory_; 45 base::WeakPtrFactory<TraceProviderImpl> weak_factory_;
46 DISALLOW_COPY_AND_ASSIGN(TraceProviderImpl); 46 DISALLOW_COPY_AND_ASSIGN(TraceProviderImpl);
47 }; 47 };
48 48
49 } // namespace mojo 49 } // namespace mojo
50 50
51 #endif // MOJO_SERVICES_TRACING_PUBLIC_CPP_TRACE_PROVIDER_IMPL_H_ 51 #endif // SERVICES_TRACING_PUBLIC_CPP_TRACE_PROVIDER_IMPL_H_
OLDNEW
« no previous file with comments | « services/tracing/public/cpp/switches.cc ('k') | services/tracing/public/cpp/trace_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698