summaryrefslogtreecommitdiffstats
path: root/webkit/glue/password_form.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 21:23:48 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 21:23:48 +0000
commit04bf3ad5acb81f9e932449dabd19708826774898 (patch)
tree956fda2d966a3f45ade61e61dbf1cf7ed65b0f63 /webkit/glue/password_form.h
parent8708aa43fa34e36056f06d970dc7f1a5ebc48a87 (diff)
downloadchromium_src-04bf3ad5acb81f9e932449dabd19708826774898.zip
chromium_src-04bf3ad5acb81f9e932449dabd19708826774898.tar.gz
chromium_src-04bf3ad5acb81f9e932449dabd19708826774898.tar.bz2
FBTF: Move code from headers into cc files.
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3219002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/password_form.h')
-rw-r--r--webkit/glue/password_form.h32
1 files changed, 6 insertions, 26 deletions
diff --git a/webkit/glue/password_form.h b/webkit/glue/password_form.h
index 57a54c1..c2967a4 100644
--- a/webkit/glue/password_form.h
+++ b/webkit/glue/password_form.h
@@ -32,9 +32,9 @@ namespace webkit_glue {
// about a particular "saved password entry" to our PasswordForm
// representation.
//
-// The field descriptions in the struct specification below are
-// intended to describe which fields are not strictly required when adding a saved
-// password entry to the database and how they can affect the matching process.
+// The field descriptions in the struct specification below are intended to
+// describe which fields are not strictly required when adding a saved password
+// entry to the database and how they can affect the matching process.
struct PasswordForm {
// Enum to differentiate between HTML form based authentication, and dialogs
@@ -135,29 +135,9 @@ struct PasswordForm {
// When parsing an HTML form, this is not used.
bool blacklisted_by_user;
- PasswordForm()
- : scheme(SCHEME_HTML),
- ssl_valid(false),
- preferred(false),
- blacklisted_by_user(false) {
- }
-
- PasswordForm(const WebKit::WebPasswordFormData& web_password_form)
- : scheme(SCHEME_HTML),
- signon_realm(web_password_form.signonRealm.utf8()),
- origin(web_password_form.origin),
- action(web_password_form.action),
- submit_element(web_password_form.submitElement),
- username_element(web_password_form.userNameElement),
- username_value(web_password_form.userNameValue),
- password_element(web_password_form.passwordElement),
- password_value(web_password_form.passwordValue),
- old_password_element(web_password_form.oldPasswordElement),
- old_password_value(web_password_form.oldPasswordValue),
- ssl_valid(false),
- preferred(false),
- blacklisted_by_user(false) {
- }
+ PasswordForm();
+ PasswordForm(const WebKit::WebPasswordFormData& web_password_form);
+ ~PasswordForm();
};
// Map username to PasswordForm* for convenience. See password_form_manager.h.