Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: components/autofill/content/common/autofill_param_traits_macros.h

Issue 365783002: Autofill: don't require POST method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove method_ member Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 13
14 IPC_ENUM_TRAITS_MAX_VALUE(autofill::PasswordForm::Type, 14 IPC_ENUM_TRAITS_MAX_VALUE(autofill::PasswordForm::Type,
15 autofill::PasswordForm::TYPE_LAST) 15 autofill::PasswordForm::TYPE_LAST)
16 16
17 IPC_STRUCT_TRAITS_BEGIN(autofill::FormData) 17 IPC_STRUCT_TRAITS_BEGIN(autofill::FormData)
18 IPC_STRUCT_TRAITS_MEMBER(name) 18 IPC_STRUCT_TRAITS_MEMBER(name)
19 IPC_STRUCT_TRAITS_MEMBER(method)
20 IPC_STRUCT_TRAITS_MEMBER(origin) 19 IPC_STRUCT_TRAITS_MEMBER(origin)
21 IPC_STRUCT_TRAITS_MEMBER(action) 20 IPC_STRUCT_TRAITS_MEMBER(action)
22 IPC_STRUCT_TRAITS_MEMBER(user_submitted) 21 IPC_STRUCT_TRAITS_MEMBER(user_submitted)
23 IPC_STRUCT_TRAITS_MEMBER(fields) 22 IPC_STRUCT_TRAITS_MEMBER(fields)
24 IPC_STRUCT_TRAITS_END() 23 IPC_STRUCT_TRAITS_END()
25 24
26 IPC_ENUM_TRAITS_MAX_VALUE(autofill::PasswordForm::Scheme, 25 IPC_ENUM_TRAITS_MAX_VALUE(autofill::PasswordForm::Scheme,
27 autofill::PasswordForm::SCHEME_LAST) 26 autofill::PasswordForm::SCHEME_LAST)
28 27
29 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordForm) 28 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordForm)
(...skipping 14 matching lines...) Expand all
44 IPC_STRUCT_TRAITS_MEMBER(preferred) 43 IPC_STRUCT_TRAITS_MEMBER(preferred)
45 IPC_STRUCT_TRAITS_MEMBER(blacklisted_by_user) 44 IPC_STRUCT_TRAITS_MEMBER(blacklisted_by_user)
46 IPC_STRUCT_TRAITS_MEMBER(type) 45 IPC_STRUCT_TRAITS_MEMBER(type)
47 IPC_STRUCT_TRAITS_MEMBER(times_used) 46 IPC_STRUCT_TRAITS_MEMBER(times_used)
48 IPC_STRUCT_TRAITS_MEMBER(form_data) 47 IPC_STRUCT_TRAITS_MEMBER(form_data)
49 // Excluding |use_additional_authentication| as it is only set and read in the 48 // Excluding |use_additional_authentication| as it is only set and read in the
50 // browser process and the renderer need not know about it. 49 // browser process and the renderer need not know about it.
51 IPC_STRUCT_TRAITS_END() 50 IPC_STRUCT_TRAITS_END()
52 51
53 #endif // COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_ 52 #endif // COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698