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

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

Issue 12543010: Establish components/autofill and move some files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CHROME_COMMON_PASSWORD_FORM_FILL_DATA_H_ 5 #ifndef COMPONENTS_AUTOFILL_COMMON_PASSWORD_FORM_FILL_DATA_H_
6 #define CHROME_COMMON_PASSWORD_FORM_FILL_DATA_H_ 6 #define COMPONENTS_AUTOFILL_COMMON_PASSWORD_FORM_FILL_DATA_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/common/form_data.h" 11 #include "components/autofill/common/form_data.h"
12 #include "content/public/common/password_form.h" 12 #include "content/public/common/password_form.h"
13 13
14 // Structure used for autofilling password forms. 14 // Structure used for autofilling password forms.
15 // basic_data identifies the HTML form on the page and preferred username/ 15 // basic_data identifies the HTML form on the page and preferred username/
16 // password for login, while 16 // password for login, while
17 // additional_logins is a list of other matching user/pass pairs for the form. 17 // additional_logins is a list of other matching user/pass pairs for the form.
18 // wait_for_username tells us whether we need to wait for the user to enter 18 // wait_for_username tells us whether we need to wait for the user to enter
19 // a valid username before we autofill the password. By default, this is off 19 // a valid username before we autofill the password. By default, this is off
20 // unless the PasswordManager determined there is an additional risk 20 // unless the PasswordManager determined there is an additional risk
21 // associated with this form. This can happen, for example, if action URI's 21 // associated with this form. This can happen, for example, if action URI's
(...skipping 14 matching lines...) Expand all
36 // preferred_match should equal (address) one of matches. 36 // preferred_match should equal (address) one of matches.
37 // wait_for_username_before_autofill is true if we should not autofill 37 // wait_for_username_before_autofill is true if we should not autofill
38 // anything until the user typed in a valid username and blurred the field. 38 // anything until the user typed in a valid username and blurred the field.
39 void InitPasswordFormFillData( 39 void InitPasswordFormFillData(
40 const content::PasswordForm& form_on_page, 40 const content::PasswordForm& form_on_page,
41 const content::PasswordFormMap& matches, 41 const content::PasswordFormMap& matches,
42 const content::PasswordForm* const preferred_match, 42 const content::PasswordForm* const preferred_match,
43 bool wait_for_username_before_autofill, 43 bool wait_for_username_before_autofill,
44 PasswordFormFillData* result); 44 PasswordFormFillData* result);
45 45
46 #endif // CHROME_COMMON_PASSWORD_FORM_FILL_DATA_H__ 46 #endif // COMPONENTS_AUTOFILL_COMMON_PASSWORD_FORM_FILL_DATA_H__
OLDNEW
« no previous file with comments | « components/autofill/common/form_field_data_predictions.cc ('k') | components/autofill/common/password_form_fill_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698