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

Side by Side Diff: mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc

Issue 2228733002: Mojo C++ bindings: add test cases for union custom typemapping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@86_union_traits
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
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() {} 10 NestedStructWithTraitsImpl::NestedStructWithTraitsImpl() {}
(...skipping 10 matching lines...) Expand all
21 MoveOnlyStructWithTraitsImpl::MoveOnlyStructWithTraitsImpl() {} 21 MoveOnlyStructWithTraitsImpl::MoveOnlyStructWithTraitsImpl() {}
22 22
23 MoveOnlyStructWithTraitsImpl::MoveOnlyStructWithTraitsImpl( 23 MoveOnlyStructWithTraitsImpl::MoveOnlyStructWithTraitsImpl(
24 MoveOnlyStructWithTraitsImpl&& other) = default; 24 MoveOnlyStructWithTraitsImpl&& other) = default;
25 25
26 MoveOnlyStructWithTraitsImpl::~MoveOnlyStructWithTraitsImpl() {} 26 MoveOnlyStructWithTraitsImpl::~MoveOnlyStructWithTraitsImpl() {}
27 27
28 MoveOnlyStructWithTraitsImpl& MoveOnlyStructWithTraitsImpl::operator=( 28 MoveOnlyStructWithTraitsImpl& MoveOnlyStructWithTraitsImpl::operator=(
29 MoveOnlyStructWithTraitsImpl&& other) = default; 29 MoveOnlyStructWithTraitsImpl&& other) = default;
30 30
31 UnionWithTraitsInt32::~UnionWithTraitsInt32() {}
32
33 UnionWithTraitsStruct::~UnionWithTraitsStruct() {}
34
31 } // namespace test 35 } // namespace test
32 } // namespace mojo 36 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698