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

Unified Diff: services/tracing/tracing_app.cc

Issue 1532893003: Tidy up the debugger. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-2
Patch Set: tidy up the debugger Created 5 years 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
« services/tracing/tracing_app.h ('K') | « services/tracing/tracing_app.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/tracing_app.cc
diff --git a/services/tracing/tracing_app.cc b/services/tracing/tracing_app.cc
index 8689d3a9a7752b11486380e3be0901fcfc71e8bf..6463c1362aa1e6000c22c333abf36a2ab48da543 100644
--- a/services/tracing/tracing_app.cc
+++ b/services/tracing/tracing_app.cc
@@ -10,11 +10,9 @@
namespace tracing {
-TracingApp::TracingApp() : collector_binding_(this), tracing_active_(false) {
-}
+TracingApp::TracingApp() : tracing_active_(false) {}
-TracingApp::~TracingApp() {
-}
+TracingApp::~TracingApp() {}
bool TracingApp::ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) {
@@ -40,7 +38,7 @@ bool TracingApp::ConfigureIncomingConnection(
// mojo::InterfaceFactory<TraceCollector> implementation.
void TracingApp::Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<TraceCollector> request) {
- collector_binding_.Bind(request.Pass());
+ collector_bindings_.AddBinding(this, request.Pass());
}
// tracing::TraceCollector implementation.
« services/tracing/tracing_app.h ('K') | « services/tracing/tracing_app.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698