Index: components/tracing/test/proto_zero_generation_unittest.cc |
diff --git a/components/tracing/test/proto_zero_generation_unittest.cc b/components/tracing/test/proto_zero_generation_unittest.cc |
index cc2be35c03a6d2b089819ce25d41fc613877a1ae..eb6e8f759ff918ec143a4340cc002f94062fd9a4 100644 |
--- a/components/tracing/test/proto_zero_generation_unittest.cc |
+++ b/components/tracing/test/proto_zero_generation_unittest.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "components/tracing/test/example_proto/library.pbzero.h" |
#include "components/tracing/test/example_proto/test_messages.pbzero.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -12,6 +13,10 @@ using foo::bar::CamelCaseFields; |
TEST(ProtoZeroTest, Simple) { |
// TODO(kraynov) Put tests in the next CL (crbug.com/608721). |
+ |
+ // Test the includes for indirect public import: library.pbzero.h -> |
+ // library_internals/galaxies.pbzero.h -> upper_import.pbzero.h . |
+ EXPECT_LE(0u, sizeof(foo::bar::TrickyPublicImport)); |
} |
TEST(ProtoZeroTest, FieldNumbers) { |