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

Unified Diff: mojo/common/tracing_impl.h

Issue 1927973004: Use TraceProviderRegistry in //mojo/common/tracing_impl.*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | 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 8e14804b640354636ec151e1d230807843d2d207..e24dae06df4688f708e0444549d84ed2e5e76748 100644
--- a/mojo/common/tracing_impl.h
+++ b/mojo/common/tracing_impl.h
@@ -7,31 +7,22 @@
#include "base/macros.h"
#include "mojo/common/trace_provider_impl.h"
-#include "mojo/public/cpp/application/interface_factory.h"
#include "mojo/public/cpp/application/service_provider_impl.h"
-#include "mojo/services/tracing/interfaces/tracing.mojom.h"
namespace mojo {
class ApplicationImpl;
-class TracingImpl : public InterfaceFactory<tracing::TraceProvider> {
+class TracingImpl {
public:
TracingImpl();
- ~TracingImpl() override;
+ ~TracingImpl();
// This connects to the tracing service and registers ourselves to provide
// tracing data on demand.
void Initialize(ApplicationImpl* app);
private:
- // InterfaceFactory<tracing::TraceProvider> implementation.
- void Create(ApplicationConnection* connection,
- InterfaceRequest<tracing::TraceProvider> request) override;
-
- // Used to provide services *to* mojo:tracing.
- ServiceProviderImpl outgoing_sp_for_tracing_service_;
-
TraceProviderImpl provider_impl_;
DISALLOW_COPY_AND_ASSIGN(TracingImpl);
« no previous file with comments | « no previous file | mojo/common/tracing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698