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

Side by Side Diff: components/autofill/core/common/password_form.h

Issue 2096783002: [Autofill] Gender-neutral pronouns in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/renderer/autofill/password_autofill_agent_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // This should not be empty except for Android based credentials. 93 // This should not be empty except for Android based credentials.
94 // TODO(melandory): origin should be renamed in order to be consistent with 94 // TODO(melandory): origin should be renamed in order to be consistent with
95 // GURL definition of origin. 95 // GURL definition of origin.
96 GURL origin; 96 GURL origin;
97 97
98 // The action target of the form; like |origin| URL consists of the scheme, 98 // The action target of the form; like |origin| URL consists of the scheme,
99 // host, port and path; the rest is stripped. This is the primary data used by 99 // host, port and path; the rest is stripped. This is the primary data used by
100 // the PasswordManager for form autofill; that is, the action of the saved 100 // the PasswordManager for form autofill; that is, the action of the saved
101 // credentials must match the action of the form on the page to be autofilled. 101 // credentials must match the action of the form on the page to be autofilled.
102 // If this is empty / not available, it will result in a "restricted" IE-like 102 // If this is empty / not available, it will result in a "restricted" IE-like
103 // autofill policy, where we wait for the user to type in his username before 103 // autofill policy, where we wait for the user to type in their username
104 // autofilling the password. In these cases, after successful login the action 104 // before autofilling the password. In these cases, after successful login the
105 // URL will automatically be assigned by the PasswordManager. 105 // action URL will automatically be assigned by the PasswordManager.
106 // 106 //
107 // When parsing an HTML form, this must always be set. 107 // When parsing an HTML form, this must always be set.
108 GURL action; 108 GURL action;
109 109
110 // The web realm affiliated with the Android application, if the form is an 110 // The web realm affiliated with the Android application, if the form is an
111 // Android credential. Otherwise, the string is empty. If there are several 111 // Android credential. Otherwise, the string is empty. If there are several
112 // realms affiliated with the application, an arbitrary realm is chosen. 112 // realms affiliated with the application, an arbitrary realm is chosen.
113 // The field is filled out in PasswordStore's InjectAffiliatedWebRealms. 113 // The field is filled out in PasswordStore's InjectAffiliatedWebRealms.
114 // If there was no call of InjectAffiliatedWebRealms, the string is empty. 114 // If there was no call of InjectAffiliatedWebRealms, the string is empty.
115 std::string affiliated_web_realm; 115 std::string affiliated_web_realm;
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 using ConstPasswordFormMap = std::map<base::string16, const PasswordForm*>; 312 using ConstPasswordFormMap = std::map<base::string16, const PasswordForm*>;
313 313
314 // For testing. 314 // For testing.
315 std::ostream& operator<<(std::ostream& os, PasswordForm::Layout layout); 315 std::ostream& operator<<(std::ostream& os, PasswordForm::Layout layout);
316 std::ostream& operator<<(std::ostream& os, const PasswordForm& form); 316 std::ostream& operator<<(std::ostream& os, const PasswordForm& form);
317 std::ostream& operator<<(std::ostream& os, PasswordForm* form); 317 std::ostream& operator<<(std::ostream& os, PasswordForm* form);
318 318
319 } // namespace autofill 319 } // namespace autofill
320 320
321 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ 321 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/password_autofill_agent_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698