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

Side by Side Diff: components/autofill/common/autofill_messages.h

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile error for browsertests Created 7 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "components/autofill/common/autocheckout_status.h" 10 #include "components/autofill/common/autocheckout_status.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 IPC_STRUCT_TRAITS_MEMBER(fields) 77 IPC_STRUCT_TRAITS_MEMBER(fields)
78 IPC_STRUCT_TRAITS_END() 78 IPC_STRUCT_TRAITS_END()
79 79
80 IPC_STRUCT_TRAITS_BEGIN(autofill::UsernamesCollectionKey) 80 IPC_STRUCT_TRAITS_BEGIN(autofill::UsernamesCollectionKey)
81 IPC_STRUCT_TRAITS_MEMBER(username) 81 IPC_STRUCT_TRAITS_MEMBER(username)
82 IPC_STRUCT_TRAITS_MEMBER(password) 82 IPC_STRUCT_TRAITS_MEMBER(password)
83 IPC_STRUCT_TRAITS_END() 83 IPC_STRUCT_TRAITS_END()
84 84
85 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData) 85 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData)
86 IPC_STRUCT_TRAITS_MEMBER(basic_data) 86 IPC_STRUCT_TRAITS_MEMBER(basic_data)
87 IPC_STRUCT_TRAITS_MEMBER(additional_logins) 87 IPC_STRUCT_TRAITS_MEMBER(preferred_realm)
88 IPC_STRUCT_TRAITS_MEMBER(preferred_is_psl_origin_match)
89 IPC_STRUCT_TRAITS_MEMBER(additional_logins_passwords)
90 IPC_STRUCT_TRAITS_MEMBER(additional_logins_realms)
91 IPC_STRUCT_TRAITS_MEMBER(additional_logins_is_psl_origin_match)
88 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) 92 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames)
89 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) 93 IPC_STRUCT_TRAITS_MEMBER(wait_for_username)
90 IPC_STRUCT_TRAITS_END() 94 IPC_STRUCT_TRAITS_END()
91 95
92 IPC_ENUM_TRAITS(WebKit::WebFormElement::AutocompleteResult) 96 IPC_ENUM_TRAITS(WebKit::WebFormElement::AutocompleteResult)
93 97
94 // Autofill messages sent from the browser to the renderer. 98 // Autofill messages sent from the browser to the renderer.
95 99
96 // Request to parse all the forms without field count limit. 100 // Request to parse all the forms without field count limit.
97 IPC_MESSAGE_ROUTED0(AutofillMsg_GetAllForms) 101 IPC_MESSAGE_ROUTED0(AutofillMsg_GetAllForms)
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 int /* max length of the password */, 283 int /* max length of the password */,
280 content::PasswordForm) 284 content::PasswordForm)
281 285
282 // Instruct the browser that a password mapping has been found for a field. 286 // Instruct the browser that a password mapping has been found for a field.
283 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, 287 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
284 autofill::FormFieldData, /* the user name field */ 288 autofill::FormFieldData, /* the user name field */
285 autofill::PasswordFormFillData /* password pairings */) 289 autofill::PasswordFormFillData /* password pairings */)
286 290
287 // Instruct the browser to show a popup with the following suggestions from the 291 // Instruct the browser to show a popup with the following suggestions from the
288 // password manager. 292 // password manager.
289 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, 293 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
290 autofill::FormFieldData /* the form field */, 294 autofill::FormFieldData /* the form field */,
291 gfx::RectF /* input field bounds, window-relative */, 295 gfx::RectF /* input field bounds, window-relative */,
292 std::vector<base::string16> /* suggestions */) 296 std::vector<base::string16> /* suggestions */,
297 std::vector<base::string16> /* suggestions realms */)
293 298
294 // Inform browser of data list values for the curent field. 299 // Inform browser of data list values for the curent field.
295 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 300 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
296 std::vector<base::string16> /* values */, 301 std::vector<base::string16> /* values */,
297 std::vector<base::string16> /* labels */, 302 std::vector<base::string16> /* labels */,
298 std::vector<base::string16> /* icons */, 303 std::vector<base::string16> /* icons */,
299 std::vector<int> /* unique ids */) 304 std::vector<int> /* unique ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698