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_CORE_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ | 8 #ifndef COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ |
9 #define COMPONENTS_AUTOFILL_CORE_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 | 13 |
14 IPC_ENUM_TRAITS(autofill::PasswordForm::Type) | 14 IPC_ENUM_TRAITS(autofill::PasswordForm::Type) |
15 | 15 |
16 IPC_STRUCT_TRAITS_BEGIN(autofill::FormData) | 16 IPC_STRUCT_TRAITS_BEGIN(autofill::FormData) |
17 IPC_STRUCT_TRAITS_MEMBER(name) | 17 IPC_STRUCT_TRAITS_MEMBER(name) |
18 IPC_STRUCT_TRAITS_MEMBER(method) | 18 IPC_STRUCT_TRAITS_MEMBER(method) |
19 IPC_STRUCT_TRAITS_MEMBER(origin) | 19 IPC_STRUCT_TRAITS_MEMBER(origin) |
(...skipping 15 matching lines...) Expand all Loading... |
35 IPC_STRUCT_TRAITS_MEMBER(old_password_element) | 35 IPC_STRUCT_TRAITS_MEMBER(old_password_element) |
36 IPC_STRUCT_TRAITS_MEMBER(old_password_value) | 36 IPC_STRUCT_TRAITS_MEMBER(old_password_value) |
37 IPC_STRUCT_TRAITS_MEMBER(ssl_valid) | 37 IPC_STRUCT_TRAITS_MEMBER(ssl_valid) |
38 IPC_STRUCT_TRAITS_MEMBER(preferred) | 38 IPC_STRUCT_TRAITS_MEMBER(preferred) |
39 IPC_STRUCT_TRAITS_MEMBER(blacklisted_by_user) | 39 IPC_STRUCT_TRAITS_MEMBER(blacklisted_by_user) |
40 IPC_STRUCT_TRAITS_MEMBER(type) | 40 IPC_STRUCT_TRAITS_MEMBER(type) |
41 IPC_STRUCT_TRAITS_MEMBER(times_used) | 41 IPC_STRUCT_TRAITS_MEMBER(times_used) |
42 IPC_STRUCT_TRAITS_MEMBER(form_data) | 42 IPC_STRUCT_TRAITS_MEMBER(form_data) |
43 IPC_STRUCT_TRAITS_END() | 43 IPC_STRUCT_TRAITS_END() |
44 | 44 |
45 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ | 45 #endif // COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |