Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / components / nacl / common / nacl_types_param_traits.cc
1 // Copyright 2014 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 // Get basic type definitions.
6 #define IPC_MESSAGE_IMPL
7 #include "components/nacl/common/nacl_types_param_traits.h"
8
9 // Generate constructors.
10 #include "ipc/struct_constructor_macros.h"
11 #undef COMPONENTS_NACL_COMMON_NACL_TYPES_PARAM_TRAITS_H_
12 #include "components/nacl/common/nacl_types_param_traits.h"
13
14 // Generate destructors.
15 #include "ipc/struct_destructor_macros.h"
16 #undef COMPONENTS_NACL_COMMON_NACL_TYPES_PARAM_TRAITS_H_
17 #include "components/nacl/common/nacl_types_param_traits.h"
18
19 // Generate param traits write methods.
20 #include "ipc/param_traits_write_macros.h"
21 namespace IPC {
22 #undef COMPONENTS_NACL_COMMON_NACL_TYPES_PARAM_TRAITS_H_
23 #include "components/nacl/common/nacl_types_param_traits.h"
24 }  // namespace IPC
25
26 // Generate param traits read methods.
27 #include "ipc/param_traits_read_macros.h"
28 namespace IPC {
29 #undef COMPONENTS_NACL_COMMON_NACL_TYPES_PARAM_TRAITS_H_
30 #include "components/nacl/common/nacl_types_param_traits.h"
31 }  // namespace IPC
32
33 // Generate param traits log methods.
34 #include "ipc/param_traits_log_macros.h"
35 namespace IPC {
36 #undef COMPONENTS_NACL_COMMON_NACL_TYPES_PARAM_TRAITS_H_
37 #include "components/nacl/common/nacl_types_param_traits.h"
38 }  // namespace IPC