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

Unified Diff: services/tracing/tracing_app.h

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
Index: services/tracing/tracing_app.h
diff --git a/services/tracing/tracing_app.h b/services/tracing/tracing_app.h
index 19c88c21180ad5e34fa07a9f610efa927a352b49..7d50efb7bbdbc0cb6c4df2f562996812874a2d05 100644
--- a/services/tracing/tracing_app.h
+++ b/services/tracing/tracing_app.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
+#include "mojo/common/binding_set.h"
#include "mojo/common/interface_ptr_set.h"
#include "mojo/public/cpp/application/application_delegate.h"
#include "mojo/public/cpp/application/application_impl.h"
@@ -44,7 +45,7 @@ class TracingApp : public mojo::ApplicationDelegate,
scoped_ptr<TraceDataSink> sink_;
ScopedVector<TraceRecorderImpl> recorder_impls_;
mojo::InterfacePtrSet<TraceProvider> provider_ptrs_;
- mojo::Binding<TraceCollector> collector_binding_;
+ mojo::BindingSet<TraceCollector> collector_bindings_;
ppi 2015/12/20 15:36:21 Collector instances are "stateful", it is incorrec
jeffbrown 2015/12/20 20:52:58 Ahhh, then this whole class is somewhat problemati
ppi 2015/12/21 09:39:50 Yes, and the problems go deeper, down to C++ base:
bool tracing_active_;
mojo::String tracing_categories_;

Powered by Google App Engine
This is Rietveld 408576698