• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "mojo/public/cpp/bindings/tests/struct_with_traits_impl.h"
6 
7 namespace mojo {
8 namespace test {
9 
NestedStructWithTraitsImpl()10 NestedStructWithTraitsImpl::NestedStructWithTraitsImpl() {}
NestedStructWithTraitsImpl(int32_t in_value)11 NestedStructWithTraitsImpl::NestedStructWithTraitsImpl(int32_t in_value)
12     : value(in_value) {}
13 
StructWithTraitsImpl()14 StructWithTraitsImpl::StructWithTraitsImpl() {}
15 
~StructWithTraitsImpl()16 StructWithTraitsImpl::~StructWithTraitsImpl() {}
17 
18 StructWithTraitsImpl::StructWithTraitsImpl(const StructWithTraitsImpl& other) =
19     default;
20 
PassByValueStructWithTraitsImpl()21 PassByValueStructWithTraitsImpl::PassByValueStructWithTraitsImpl() {}
22 
23 PassByValueStructWithTraitsImpl::PassByValueStructWithTraitsImpl(
24     PassByValueStructWithTraitsImpl&& other) = default;
25 
~PassByValueStructWithTraitsImpl()26 PassByValueStructWithTraitsImpl::~PassByValueStructWithTraitsImpl() {}
27 
28 }  // namespace test
29 }  // namespace mojo
30