| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mojo/public/cpp/bindings/tests/struct_with_traits_impl.h" | 5 #include "mojo/public/cpp/bindings/tests/struct_with_traits_impl.h" |
| 6 | 6 |
| 7 namespace mojo { | 7 namespace mojo { |
| 8 namespace test { | 8 namespace test { |
| 9 | 9 |
| 10 NestedStructWithTraitsImpl::NestedStructWithTraitsImpl() {} |
| 11 NestedStructWithTraitsImpl::NestedStructWithTraitsImpl(int32_t in_value) |
| 12 : value(in_value) {} |
| 13 |
| 10 StructWithTraitsImpl::StructWithTraitsImpl() {} | 14 StructWithTraitsImpl::StructWithTraitsImpl() {} |
| 11 | 15 |
| 12 StructWithTraitsImpl::~StructWithTraitsImpl() {} | 16 StructWithTraitsImpl::~StructWithTraitsImpl() {} |
| 13 | 17 |
| 14 PassByValueStructWithTraitsImpl::PassByValueStructWithTraitsImpl() {} | 18 PassByValueStructWithTraitsImpl::PassByValueStructWithTraitsImpl() {} |
| 15 | 19 |
| 16 PassByValueStructWithTraitsImpl::PassByValueStructWithTraitsImpl( | 20 PassByValueStructWithTraitsImpl::PassByValueStructWithTraitsImpl( |
| 17 PassByValueStructWithTraitsImpl&& other) = default; | 21 PassByValueStructWithTraitsImpl&& other) = default; |
| 18 | 22 |
| 19 PassByValueStructWithTraitsImpl::~PassByValueStructWithTraitsImpl() {} | 23 PassByValueStructWithTraitsImpl::~PassByValueStructWithTraitsImpl() {} |
| 20 | 24 |
| 21 } // namespace test | 25 } // namespace test |
| 22 } // namespace mojo | 26 } // namespace mojo |
| OLD | NEW |