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

Unified Diff: services/tracing/public/cpp/tracing_impl.h

Issue 2208783002: Make Tracing Service not use outgoing InterfaceProvider, update conventions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 | « services/tracing/public/cpp/trace_provider_impl.cc ('k') | services/tracing/public/cpp/tracing_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/public/cpp/tracing_impl.h
diff --git a/services/tracing/public/cpp/tracing_impl.h b/services/tracing/public/cpp/tracing_impl.h
deleted file mode 100644
index e8f2fee30c76b9d2fa548a7eaca9b850bf3f3379..0000000000000000000000000000000000000000
--- a/services/tracing/public/cpp/tracing_impl.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SERVICES_TRACING_PUBLIC_CPP_TRACING_IMPL_H_
-#define SERVICES_TRACING_PUBLIC_CPP_TRACING_IMPL_H_
-
-#include "base/macros.h"
-#include "services/shell/public/cpp/interface_factory.h"
-#include "services/tracing/public/cpp/trace_provider_impl.h"
-#include "services/tracing/public/interfaces/tracing.mojom.h"
-
-namespace shell {
-class Connection;
-class Connector;
-}
-
-namespace mojo {
-
-// Connects to mojo:tracing during your Service's OnStart() call once per
-// process.
-class TracingImpl : public shell::InterfaceFactory<tracing::TraceProvider> {
- public:
- TracingImpl();
- ~TracingImpl() override;
-
- // Connect to the Tracing service & provide tracing data on demand.
- void Initialize(shell::Connector* connector, const std::string& url);
-
- private:
- // InterfaceFactory<tracing::TraceProvider> implementation.
- void Create(const shell::Identity& remote_identity,
- tracing::TraceProviderRequest request) override;
-
- std::unique_ptr<shell::Connection> connection_;
- TraceProviderImpl provider_impl_;
-
- DISALLOW_COPY_AND_ASSIGN(TracingImpl);
-};
-
-} // namespace mojo
-
-#endif // SERVICES_TRACING_PUBLIC_CPP_TRACING_IMPL_H_
« no previous file with comments | « services/tracing/public/cpp/trace_provider_impl.cc ('k') | services/tracing/public/cpp/tracing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698