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

Unified Diff: services/dart/dart_tracing.cc

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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/dart/dart_tracing.h ('k') | services/gfx/compositor/compositor_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/dart_tracing.cc
diff --git a/services/dart/dart_tracing.cc b/services/dart/dart_tracing.cc
index 45104c60c7f540639e324d89fa18fc789612d5ec..bf5b9a7b3bdb166f281f72255bc4834d381611ef 100644
--- a/services/dart/dart_tracing.cc
+++ b/services/dart/dart_tracing.cc
@@ -133,9 +133,9 @@ DartTracingImpl::DartTracingImpl() {
DartTracingImpl::~DartTracingImpl() {
}
-void DartTracingImpl::Initialize(mojo::ApplicationImpl* app) {
+void DartTracingImpl::Initialize(mojo::Shell* shell) {
tracing::TraceProviderRegistryPtr registry;
- ConnectToService(app->shell(), "mojo:tracing", GetProxy(&registry));
+ ConnectToService(shell, "mojo:tracing", GetProxy(&registry));
mojo::InterfaceHandle<tracing::TraceProvider> provider;
provider_impl_.Bind(GetProxy(&provider));
« no previous file with comments | « services/dart/dart_tracing.h ('k') | services/gfx/compositor/compositor_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698