| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Singly or multiply-included shared traits file depending on circumstances. | 5 // Singly or multiply-included shared traits file depending on circumstances. |
| 6 // This allows the use of Autofill IPC serialization macros in more than one IPC | 6 // This allows the use of Autofill IPC serialization macros in more than one IPC |
| 7 // message file. | 7 // message file. |
| 8 #ifndef COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ | 8 #ifndef COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ |
| 9 #define COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ | 9 #define COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ |
| 10 | 10 |
| 11 #include "components/autofill/core/common/password_form.h" | 11 #include "components/autofill/core/common/password_form.h" |
| 12 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
| 13 #include "url/ipc/url_param_traits.h" |
| 14 #include "url/origin.h" |
| 13 | 15 |
| 14 IPC_ENUM_TRAITS_MAX_VALUE(autofill::PasswordForm::Type, | 16 IPC_ENUM_TRAITS_MAX_VALUE(autofill::PasswordForm::Type, |
| 15 autofill::PasswordForm::TYPE_LAST) | 17 autofill::PasswordForm::TYPE_LAST) |
| 16 | 18 |
| 17 IPC_STRUCT_TRAITS_BEGIN(autofill::FormData) | 19 IPC_STRUCT_TRAITS_BEGIN(autofill::FormData) |
| 18 IPC_STRUCT_TRAITS_MEMBER(name) | 20 IPC_STRUCT_TRAITS_MEMBER(name) |
| 19 IPC_STRUCT_TRAITS_MEMBER(origin) | 21 IPC_STRUCT_TRAITS_MEMBER(origin) |
| 20 IPC_STRUCT_TRAITS_MEMBER(action) | 22 IPC_STRUCT_TRAITS_MEMBER(action) |
| 21 IPC_STRUCT_TRAITS_MEMBER(is_form_tag) | 23 IPC_STRUCT_TRAITS_MEMBER(is_form_tag) |
| 22 IPC_STRUCT_TRAITS_MEMBER(is_formless_checkout) | 24 IPC_STRUCT_TRAITS_MEMBER(is_formless_checkout) |
| (...skipping 24 matching lines...) Expand all Loading... |
| 47 IPC_STRUCT_TRAITS_MEMBER(blacklisted_by_user) | 49 IPC_STRUCT_TRAITS_MEMBER(blacklisted_by_user) |
| 48 IPC_STRUCT_TRAITS_MEMBER(type) | 50 IPC_STRUCT_TRAITS_MEMBER(type) |
| 49 IPC_STRUCT_TRAITS_MEMBER(times_used) | 51 IPC_STRUCT_TRAITS_MEMBER(times_used) |
| 50 IPC_STRUCT_TRAITS_MEMBER(form_data) | 52 IPC_STRUCT_TRAITS_MEMBER(form_data) |
| 51 IPC_STRUCT_TRAITS_MEMBER(layout) | 53 IPC_STRUCT_TRAITS_MEMBER(layout) |
| 52 IPC_STRUCT_TRAITS_MEMBER(was_parsed_using_autofill_predictions) | 54 IPC_STRUCT_TRAITS_MEMBER(was_parsed_using_autofill_predictions) |
| 53 IPC_STRUCT_TRAITS_MEMBER(does_look_like_signup_form) | 55 IPC_STRUCT_TRAITS_MEMBER(does_look_like_signup_form) |
| 54 IPC_STRUCT_TRAITS_END() | 56 IPC_STRUCT_TRAITS_END() |
| 55 | 57 |
| 56 #endif // COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ | 58 #endif // COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ |
| OLD | NEW |