chromium/mojo/public/cpp/bindings/tests/test_native_types.h

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_TEST_NATIVE_TYPES_H_
#define MOJO_PUBLIC_CPP_BINDINGS_TESTS_TEST_NATIVE_TYPES_H_

#include <string>

#include "ipc/ipc_message.h"
#include "ipc/ipc_param_traits.h"
#include "mojo/public/cpp/system/message_pipe.h"

namespace mojo {
namespace test {

class TestNativeStruct {};

class TestNativeStructWithAttachments {};

}  // namespace test
}  // namespace mojo

namespace IPC {

template <>
struct ParamTraits<mojo::test::TestNativeStruct> {};

template <>
struct ParamTraits<mojo::test::TestNativeStructWithAttachments> {};

}  // namespace IPC

#endif  // MOJO_PUBLIC_CPP_BINDINGS_TESTS_TEST_NATIVE_TYPES_H_