| // Copyright (c) 2018 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. |
| // |
| |
| // Get basic type definitions. |
| #define IPC_MESSAGE_IMPL |
| #undef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #include "chromecast/common/extensions_api/cast_extension_messages.h" |
| #include "content/public/common/common_param_traits.h" |
| #ifndef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #error "Failed to include header chromecast/common/extensions_api/" |
| "chrome_extension_messages.h" |
| #endif |
| |
| // Generate constructors. |
| #include "ipc/struct_constructor_macros.h" |
| #undef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #include "chromecast/common/extensions_api/cast_extension_messages.h" |
| #include "content/public/common/common_param_traits.h" |
| #ifndef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #error "Failed to include header chromecast/common/extensions_api/" |
| "chrome_extension_messages.h" |
| #endif |
| |
| // Generate destructors. |
| #include "ipc/struct_destructor_macros.h" |
| #undef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #include "chromecast/common/extensions_api/cast_extension_messages.h" |
| #include "content/public/common/common_param_traits.h" |
| #ifndef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #error "Failed to include header chromecast/common/extensions_api/" |
| "chrome_extension_messages.h" |
| #endif |
| |
| // Generate param traits write methods. |
| #include "ipc/param_traits_write_macros.h" |
| namespace IPC { |
| #undef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #include "chromecast/common/extensions_api/cast_extension_messages.h" |
| #include "content/public/common/common_param_traits.h" |
| #ifndef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #error "Failed to include header chromecast/common/extensions_api/" |
| "chrome_extension_messages.h" |
| #endif |
| } // namespace IPC |
| |
| // Generate param traits read methods. |
| #include "ipc/param_traits_read_macros.h" |
| namespace IPC { |
| #undef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #include "chromecast/common/extensions_api/cast_extension_messages.h" |
| #include "content/public/common/common_param_traits.h" |
| #ifndef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #error "Failed to include header chromecast/common/extensions_api/" |
| "chrome_extension_messages.h" |
| #endif |
| } // namespace IPC |
| |
| // Generate param traits log methods. |
| #include "ipc/param_traits_log_macros.h" |
| namespace IPC { |
| #undef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #include "chromecast/common/extensions_api/cast_extension_messages.h" |
| #include "content/public/common/common_param_traits.h" |
| #ifndef CHROMECAST_COMMON_EXTENSIONS_API_CAST_EXTENSION_MESSAGES_H_ |
| #error "Failed to include header chromecast/common/extensions_api/" |
| "chrome_extension_messages.h" |
| #endif |
| } // namespace IPC |