Index: mojo/services/tracing/trace_recorder_impl.cc |
diff --git a/mojo/services/tracing/trace_recorder_impl.cc b/mojo/services/tracing/trace_recorder_impl.cc |
deleted file mode 100644 |
index 92dd95c40863e6f1765e7be1c22a5af2d6e92098..0000000000000000000000000000000000000000 |
--- a/mojo/services/tracing/trace_recorder_impl.cc |
+++ /dev/null |
@@ -1,31 +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. |
- |
-#include "mojo/services/tracing/trace_recorder_impl.h" |
- |
-#include <utility> |
- |
-namespace tracing { |
- |
-TraceRecorderImpl::TraceRecorderImpl( |
- mojo::InterfaceRequest<TraceRecorder> request, |
- TraceDataSink* sink) |
- : sink_(sink), binding_(this, std::move(request)) {} |
- |
-TraceRecorderImpl::~TraceRecorderImpl() { |
-} |
- |
-void TraceRecorderImpl::TryRead() { |
- binding_.WaitForIncomingMethodCall(MojoDeadline(0)); |
-} |
- |
-mojo::Handle TraceRecorderImpl::TraceRecorderHandle() const { |
- return binding_.handle(); |
-} |
- |
-void TraceRecorderImpl::Record(const mojo::String& json) { |
- sink_->AddChunk(json.To<std::string>()); |
-} |
- |
-} // namespace tracing |