summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp/bindings/tests/struct_with_traits_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/public/cpp/bindings/tests/struct_with_traits_impl.h')
-rw-r--r--mojo/public/cpp/bindings/tests/struct_with_traits_impl.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/mojo/public/cpp/bindings/tests/struct_with_traits_impl.h b/mojo/public/cpp/bindings/tests/struct_with_traits_impl.h
index d56dae5..b10c8b3 100644
--- a/mojo/public/cpp/bindings/tests/struct_with_traits_impl.h
+++ b/mojo/public/cpp/bindings/tests/struct_with_traits_impl.h
@@ -47,32 +47,6 @@ class StructWithTraitsImpl {
};
} // namespace test
-
-template <>
-struct StructTraits<test::StructWithTraits, test::StructWithTraitsImpl> {
- // Deserialization to test::StructTraitsImpl.
- static bool Read(test::StructWithTraits_Reader r,
- test::StructWithTraitsImpl* out);
-
- // Fields in test::StructWithTraits.
- // See src/mojo/public/interfaces/bindings/tests/test_native_types.mojom.
- static bool f_bool(const test::StructWithTraitsImpl& value) {
- return value.get_bool();
- }
-
- static uint32_t f_uint32(const test::StructWithTraitsImpl& value) {
- return value.get_uint32();
- }
-
- static uint64_t f_uint64(const test::StructWithTraitsImpl& value) {
- return value.get_uint64();
- }
-
- static base::StringPiece f_string(const test::StructWithTraitsImpl& value) {
- return value.get_string();
- }
-};
-
} // namespace mojo
#endif // MOJO_PUBLIC_CPP_BINDINGS_TESTS_STRUCT_WITH_TRAITS_IMPL_H_