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

Unified Diff: components/tracing/core/trace_buffer_writer_unittest.cc

Issue 2303353002: Tracing v2: wire up stubs generated by the protozero protoc plugin (Closed)
Patch Set: petrcermak review Created 4 years, 3 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 | « components/tracing/core/trace_buffer_writer.cc ('k') | components/tracing/proto/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/tracing/core/trace_buffer_writer_unittest.cc
diff --git a/components/tracing/core/trace_buffer_writer_unittest.cc b/components/tracing/core/trace_buffer_writer_unittest.cc
index 154129c8321a7997bb3da09bf7a238d6a7aa045f..662ed52fe04b2eb78366bd4e42dcac49f80cb5a3 100644
--- a/components/tracing/core/trace_buffer_writer_unittest.cc
+++ b/components/tracing/core/trace_buffer_writer_unittest.cc
@@ -7,6 +7,7 @@
#include "base/memory/ptr_util.h"
#include "base/strings/string_number_conversions.h"
#include "components/tracing/core/trace_ring_buffer.h"
+#include "components/tracing/proto/event.pbzero.h"
#include "components/tracing/test/golden_protos/events_chunk.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -14,7 +15,7 @@ namespace tracing {
namespace v2 {
namespace {
-class MockEvent : public ::tracing::proto::Event {
+class MockEvent : public pbzero::tracing::proto::Event {
public:
static TraceEventHandle Add(TraceBufferWriter* writer, size_t event_size) {
TraceEventHandle handle = writer->AddEvent();
« no previous file with comments | « components/tracing/core/trace_buffer_writer.cc ('k') | components/tracing/proto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698