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

Unified Diff: services/tracing/data_sink.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/BUILD.gn ('k') | services/tracing/data_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/data_sink.h
diff --git a/services/tracing/trace_data_sink.h b/services/tracing/data_sink.h
similarity index 60%
rename from services/tracing/trace_data_sink.h
rename to services/tracing/data_sink.h
index 6862faa08baaff8c8ab652b33ea08a20827c2093..dcca896169adbd648d9150a285e011eb7bc71639 100644
--- a/services/tracing/trace_data_sink.h
+++ b/services/tracing/data_sink.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_TRACING_TRACE_DATA_SINK_H_
-#define SERVICES_TRACING_TRACE_DATA_SINK_H_
+#ifndef SERVICES_TRACING_DATA_SINK_H_
+#define SERVICES_TRACING_DATA_SINK_H_
#include <string>
@@ -12,10 +12,10 @@
namespace tracing {
-class TraceDataSink {
+class DataSink {
public:
- explicit TraceDataSink(mojo::ScopedDataPipeProducerHandle pipe);
- ~TraceDataSink();
+ explicit DataSink(mojo::ScopedDataPipeProducerHandle pipe);
+ ~DataSink();
void AddChunk(const std::string& json);
@@ -23,9 +23,9 @@ class TraceDataSink {
mojo::ScopedDataPipeProducerHandle pipe_;
bool empty_;
- DISALLOW_COPY_AND_ASSIGN(TraceDataSink);
+ DISALLOW_COPY_AND_ASSIGN(DataSink);
};
} // namespace tracing
-#endif // SERVICES_TRACING_TRACE_DATA_SINK_H_
+#endif // SERVICES_TRACING_DATA_SINK_H_
« no previous file with comments | « services/tracing/BUILD.gn ('k') | services/tracing/data_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698