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

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

Issue 614023002: [Password manager] Relplace the FormFieldData vector from autofill::FormData with named fields… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated Vaclav's review comments. Created 6 years, 1 month 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
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 // 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 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 IPC_STRUCT_TRAITS_MEMBER(experiment_id) 70 IPC_STRUCT_TRAITS_MEMBER(experiment_id)
71 IPC_STRUCT_TRAITS_MEMBER(fields) 71 IPC_STRUCT_TRAITS_MEMBER(fields)
72 IPC_STRUCT_TRAITS_END() 72 IPC_STRUCT_TRAITS_END()
73 73
74 IPC_STRUCT_TRAITS_BEGIN(autofill::UsernamesCollectionKey) 74 IPC_STRUCT_TRAITS_BEGIN(autofill::UsernamesCollectionKey)
75 IPC_STRUCT_TRAITS_MEMBER(username) 75 IPC_STRUCT_TRAITS_MEMBER(username)
76 IPC_STRUCT_TRAITS_MEMBER(password) 76 IPC_STRUCT_TRAITS_MEMBER(password)
77 IPC_STRUCT_TRAITS_END() 77 IPC_STRUCT_TRAITS_END()
78 78
79 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData) 79 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData)
80 IPC_STRUCT_TRAITS_MEMBER(basic_data) 80 IPC_STRUCT_TRAITS_MEMBER(name)
81 IPC_STRUCT_TRAITS_MEMBER(origin)
82 IPC_STRUCT_TRAITS_MEMBER(action)
83 IPC_STRUCT_TRAITS_MEMBER(user_submitted)
84 IPC_STRUCT_TRAITS_MEMBER(username_field)
85 IPC_STRUCT_TRAITS_MEMBER(password_field)
81 IPC_STRUCT_TRAITS_MEMBER(preferred_realm) 86 IPC_STRUCT_TRAITS_MEMBER(preferred_realm)
82 IPC_STRUCT_TRAITS_MEMBER(additional_logins) 87 IPC_STRUCT_TRAITS_MEMBER(additional_logins)
83 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) 88 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames)
84 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) 89 IPC_STRUCT_TRAITS_MEMBER(wait_for_username)
85 IPC_STRUCT_TRAITS_END() 90 IPC_STRUCT_TRAITS_END()
86 91
87 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm) 92 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm)
88 IPC_STRUCT_TRAITS_MEMBER(password) 93 IPC_STRUCT_TRAITS_MEMBER(password)
89 IPC_STRUCT_TRAITS_MEMBER(realm) 94 IPC_STRUCT_TRAITS_MEMBER(realm)
90 IPC_STRUCT_TRAITS_END() 95 IPC_STRUCT_TRAITS_END()
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 295 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
291 autofill::FormFieldData /* the form field */, 296 autofill::FormFieldData /* the form field */,
292 gfx::RectF /* input field bounds, window-relative */, 297 gfx::RectF /* input field bounds, window-relative */,
293 std::vector<base::string16> /* suggestions */, 298 std::vector<base::string16> /* suggestions */,
294 std::vector<base::string16> /* realms */) 299 std::vector<base::string16> /* realms */)
295 300
296 // Inform browser of data list values for the curent field. 301 // Inform browser of data list values for the curent field.
297 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 302 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
298 std::vector<base::string16> /* values */, 303 std::vector<base::string16> /* values */,
299 std::vector<base::string16> /* labels */) 304 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698