diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 21:23:48 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 21:23:48 +0000 |
commit | 04bf3ad5acb81f9e932449dabd19708826774898 (patch) | |
tree | 956fda2d966a3f45ade61e61dbf1cf7ed65b0f63 /webkit/glue/password_form.cc | |
parent | 8708aa43fa34e36056f06d970dc7f1a5ebc48a87 (diff) | |
download | chromium_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.cc')
-rw-r--r-- | webkit/glue/password_form.cc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/webkit/glue/password_form.cc b/webkit/glue/password_form.cc new file mode 100644 index 0000000..97777dc --- /dev/null +++ b/webkit/glue/password_form.cc @@ -0,0 +1,36 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "webkit/glue/password_form.h" + +namespace webkit_glue { + +PasswordForm::PasswordForm() + : scheme(SCHEME_HTML), + ssl_valid(false), + preferred(false), + blacklisted_by_user(false) { +} + +PasswordForm::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() { +} + +} // namespace webkit_glue |