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

Side by Side Diff: mojo/services/tracing/tracing_app.h

Issue 1139123006: Fork the mojo shell interfaces used by Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 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
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_TRACING_APP_H_ 5 #ifndef MOJO_SERVICES_TRACING_TRACING_APP_H_
6 #define MOJO_SERVICES_TRACING_TRACING_APP_H_ 6 #define MOJO_SERVICES_TRACING_TRACING_APP_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "mojo/application/public/cpp/application_delegate.h"
10 #include "mojo/application/public/cpp/interface_factory.h"
9 #include "mojo/common/weak_binding_set.h" 11 #include "mojo/common/weak_binding_set.h"
10 #include "mojo/common/weak_interface_ptr_set.h" 12 #include "mojo/common/weak_interface_ptr_set.h"
11 #include "mojo/public/cpp/application/application_delegate.h"
12 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
13 #include "mojo/services/tracing/tracing.mojom.h" 14 #include "mojo/services/tracing/tracing.mojom.h"
14 #include "third_party/mojo/src/mojo/public/cpp/application/interface_factory.h"
15 15
16 namespace tracing { 16 namespace tracing {
17 17
18 class CollectorImpl; 18 class CollectorImpl;
19 class TraceDataSink; 19 class TraceDataSink;
20 20
21 class TracingApp : public mojo::ApplicationDelegate, 21 class TracingApp : public mojo::ApplicationDelegate,
22 public mojo::InterfaceFactory<TraceCoordinator>, 22 public mojo::InterfaceFactory<TraceCoordinator>,
23 public TraceCoordinator { 23 public TraceCoordinator {
24 public: 24 public:
(...skipping 20 matching lines...) Expand all
45 ScopedVector<CollectorImpl> collector_impls_; 45 ScopedVector<CollectorImpl> collector_impls_;
46 mojo::WeakInterfacePtrSet<TraceController> controller_ptrs_; 46 mojo::WeakInterfacePtrSet<TraceController> controller_ptrs_;
47 mojo::WeakBindingSet<TraceCoordinator> coordinator_bindings_; 47 mojo::WeakBindingSet<TraceCoordinator> coordinator_bindings_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(TracingApp); 49 DISALLOW_COPY_AND_ASSIGN(TracingApp);
50 }; 50 };
51 51
52 } // namespace tracing 52 } // namespace tracing
53 53
54 #endif // MOJO_SERVICES_TRACING_TRACING_APP_H_ 54 #endif // MOJO_SERVICES_TRACING_TRACING_APP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698