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

Unified Diff: mojo/common/tracing_impl.h

Issue 1254383016: ApplicationConnection lifetime management changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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 | « mojo/application/public/cpp/tests/service_registry_unittest.cc ('k') | mojo/common/tracing_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/tracing_impl.h
diff --git a/mojo/common/tracing_impl.h b/mojo/common/tracing_impl.h
index d159b01538587806c43a2131a988ac693a410586..629914783326a48e2896e6c8eb31f59ab9d70946 100644
--- a/mojo/common/tracing_impl.h
+++ b/mojo/common/tracing_impl.h
@@ -6,6 +6,7 @@
#define MOJO_COMMON_TRACING_IMPL_H_
#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
#include "mojo/application/public/cpp/interface_factory.h"
#include "mojo/services/tracing/tracing.mojom.h"
@@ -27,6 +28,8 @@ class TracingImpl : public InterfaceFactory<tracing::TraceController> {
void Create(ApplicationConnection* connection,
InterfaceRequest<tracing::TraceController> request) override;
+ scoped_ptr<ApplicationConnection> connection_;
+
DISALLOW_COPY_AND_ASSIGN(TracingImpl);
};
« no previous file with comments | « mojo/application/public/cpp/tests/service_registry_unittest.cc ('k') | mojo/common/tracing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698