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

Unified Diff: mojo/services/tracing/trace_recorder_impl.h

Issue 1878893002: Move //mojo/services tracing & catalog to //services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@63move
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 | « mojo/services/tracing/trace_data_sink.cc ('k') | mojo/services/tracing/trace_recorder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/tracing/trace_recorder_impl.h
diff --git a/mojo/services/tracing/trace_recorder_impl.h b/mojo/services/tracing/trace_recorder_impl.h
deleted file mode 100644
index 55640e1c1f5b2f83e3ceac4eb77266937cd878bd..0000000000000000000000000000000000000000
--- a/mojo/services/tracing/trace_recorder_impl.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2015 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 MOJO_SERVICES_TRACING_TRACE_RECORDER_IMPL_H_
-#define MOJO_SERVICES_TRACING_TRACE_RECORDER_IMPL_H_
-
-#include "base/macros.h"
-#include "mojo/public/cpp/bindings/binding.h"
-#include "mojo/public/cpp/bindings/string.h"
-#include "mojo/services/tracing/public/interfaces/tracing.mojom.h"
-#include "mojo/services/tracing/trace_data_sink.h"
-
-namespace tracing {
-
-class TraceRecorderImpl : public TraceRecorder {
- public:
- TraceRecorderImpl(mojo::InterfaceRequest<TraceRecorder> request,
- TraceDataSink* sink);
- ~TraceRecorderImpl() override;
-
- // TryRead attempts to read a single chunk from the TraceRecorder pipe if one
- // is available and passes it to the TraceDataSink. Returns immediately if no
- // chunk is available.
- void TryRead();
-
- // TraceRecorderHandle returns the handle value of the TraceRecorder
- // binding which can be used to wait until chunks are available.
- mojo::Handle TraceRecorderHandle() const;
-
- private:
- // tracing::TraceRecorder implementation.
- void Record(const mojo::String& json) override;
-
- TraceDataSink* sink_;
- mojo::Binding<TraceRecorder> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(TraceRecorderImpl);
-};
-
-} // namespace tracing
-
-#endif // MOJO_SERVICES_TRACING_TRACE_RECORDER_IMPL_H_
« no previous file with comments | « mojo/services/tracing/trace_data_sink.cc ('k') | mojo/services/tracing/trace_recorder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698