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_ |