| Index: services/preferences/public/cpp/preferences_struct_traits.h
|
| diff --git a/services/preferences/public/cpp/preferences_struct_traits.h b/services/preferences/public/cpp/preferences_struct_traits.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1c32ab53761ee7b5b704aaa5292e08cd251536a1
|
| --- /dev/null
|
| +++ b/services/preferences/public/cpp/preferences_struct_traits.h
|
| @@ -0,0 +1,38 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_STRUCT_TRAITS_H_
|
| +#define SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_STRUCT_TRAITS_H_
|
| +
|
| +#include "services/preferences/public/cpp/preferences_struct_traits_macros.h"
|
| +
|
| +// Generate param traits size methods.
|
| +#include "ipc/param_traits_size_macros.h"
|
| +namespace IPC {
|
| +#undef SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_STRUCT_TRAITS_MACROS_H_
|
| +#include "services/preferences/public/cpp/preferences_struct_traits_macros.h"
|
| +}
|
| +
|
| +// Generate param traits write methods.
|
| +#include "ipc/param_traits_write_macros.h"
|
| +namespace IPC {
|
| +#undef SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_STRUCT_TRAITS_MACROS_H_
|
| +#include "services/preferences/public/cpp/preferences_struct_traits_macros.h"
|
| +} // namespace IPC
|
| +
|
| +// Generate param traits read methods.
|
| +#include "ipc/param_traits_read_macros.h"
|
| +namespace IPC {
|
| +#undef SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_STRUCT_TRAITS_MACROS_H_
|
| +#include "services/preferences/public/cpp/preferences_struct_traits_macros.h"
|
| +} // namespace IPC
|
| +
|
| +// Generate param traits log methods.
|
| +#include "ipc/param_traits_log_macros.h"
|
| +namespace IPC {
|
| +#undef SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_STRUCT_TRAITS_MACROS_H_
|
| +#include "services/preferences/public/cpp/preferences_struct_traits_macros.h"
|
| +} // namespace IPC
|
| +
|
| +#endif // SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_STRUCT_TRAITS_H_
|
|
|