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

Side by Side Diff: services/dart/dart_tracing.h

Issue 2014043002: Make TracingImpl take a Shell* and args, instead of an ApplicationImpl*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 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 | « services/dart/content_handler_app.cc ('k') | services/dart/dart_tracing.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SERVICES_DART_DART_TRACING_H_ 5 #ifndef SERVICES_DART_DART_TRACING_H_
6 #define SERVICES_DART_DART_TRACING_H_ 6 #define SERVICES_DART_DART_TRACING_H_
7 7
8 #include "base/trace_event/trace_event.h" 8 #include "base/trace_event/trace_event.h"
9 #include "mojo/common/tracing_impl.h" 9 #include "mojo/common/tracing_impl.h"
10 #include "mojo/public/cpp/bindings/interface_request.h" 10 #include "mojo/public/cpp/bindings/interface_request.h"
(...skipping 30 matching lines...) Expand all
41 DISALLOW_COPY_AND_ASSIGN(DartTraceProvider); 41 DISALLOW_COPY_AND_ASSIGN(DartTraceProvider);
42 }; 42 };
43 43
44 class DartTracingImpl { 44 class DartTracingImpl {
45 public: 45 public:
46 DartTracingImpl(); 46 DartTracingImpl();
47 ~DartTracingImpl(); 47 ~DartTracingImpl();
48 48
49 // This connects to the tracing service and registers ourselves to provide 49 // This connects to the tracing service and registers ourselves to provide
50 // tracing data on demand. 50 // tracing data on demand.
51 void Initialize(mojo::ApplicationImpl* app); 51 void Initialize(mojo::Shell* shell);
52 52
53 private: 53 private:
54 DartTraceProvider provider_impl_; 54 DartTraceProvider provider_impl_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(DartTracingImpl); 56 DISALLOW_COPY_AND_ASSIGN(DartTracingImpl);
57 }; 57 };
58 58
59 } // namespace dart 59 } // namespace dart
60 60
61 #endif // SERVICES_DART_DART_TRACING_H_ 61 #endif // SERVICES_DART_DART_TRACING_H_
OLDNEW
« no previous file with comments | « services/dart/content_handler_app.cc ('k') | services/dart/dart_tracing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698