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

Unified Diff: services/tracing/recorder.cc

Issue 2852183002: Delete the tracing service (Closed)
Patch Set: Created 3 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 | « services/tracing/recorder.h ('k') | services/tracing/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/recorder.cc
diff --git a/services/tracing/recorder.cc b/services/tracing/recorder.cc
deleted file mode 100644
index f4d578da01eb1de44b3de6fa1ab408c8e80f2c6c..0000000000000000000000000000000000000000
--- a/services/tracing/recorder.cc
+++ /dev/null
@@ -1,25 +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 "services/tracing/recorder.h"
-
-namespace tracing {
-
-Recorder::Recorder(mojom::RecorderRequest request, DataSink* sink)
- : sink_(sink), binding_(this, std::move(request)) {}
-Recorder::~Recorder() {}
-
-void Recorder::TryRead() {
- binding_.WaitForIncomingMethodCall(MojoDeadline(0));
-}
-
-mojo::Handle Recorder::RecorderHandle() const {
- return binding_.handle();
-}
-
-void Recorder::Record(const std::string& json) {
- sink_->AddChunk(json);
-}
-
-} // namespace tracing
« no previous file with comments | « services/tracing/recorder.h ('k') | services/tracing/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698