summaryrefslogtreecommitdiffstats
path: root/webkit/glue/password_form.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 19:25:42 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 19:25:42 +0000
commit00e3f152083aea092353b3d284c368b48136f33c (patch)
tree081df57119ba9301bebd7c7091efc4acab5accc9 /webkit/glue/password_form.h
parent4e6f2f037e6d1956bc431ac37a72d8e6871586d8 (diff)
downloadchromium_src-00e3f152083aea092353b3d284c368b48136f33c.zip
chromium_src-00e3f152083aea092353b3d284c368b48136f33c.tar.gz
chromium_src-00e3f152083aea092353b3d284c368b48136f33c.tar.bz2
Convert some structures in webkit/glue to string16.
R=yaar BUG=none TEST=none Review URL: http://codereview.chromium.org/305002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29549 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/password_form.h')
-rw-r--r--webkit/glue/password_form.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/webkit/glue/password_form.h b/webkit/glue/password_form.h
index df41be8..b07576d 100644
--- a/webkit/glue/password_form.h
+++ b/webkit/glue/password_form.h
@@ -75,35 +75,35 @@ struct PasswordForm {
// possible.
//
// When parsing an HTML form, this must always be set.
- std::wstring submit_element;
+ string16 submit_element;
// The name of the username input element. Optional (improves scoring).
//
// When parsing an HTML form, this must always be set.
- std::wstring username_element;
+ string16 username_element;
// The username. Optional.
//
// When parsing an HTML form, this is typically empty unless the site
// has implemented some form of autofill.
- std::wstring username_value;
+ string16 username_value;
// The name of the password input element, Optional (improves scoring).
//
// When parsing an HTML form, this must always be set.
- std::wstring password_element;
+ string16 password_element;
// The password. Required.
//
// When parsing an HTML form, this is typically empty.
- std::wstring password_value;
+ string16 password_value;
// If the form was a change password form, the name of the
// 'old password' input element. Optional.
- std::wstring old_password_element;
+ string16 old_password_element;
// The old password. Optional.
- std::wstring old_password_value;
+ string16 old_password_value;
// Whether or not this login was saved under an HTTPS session with a valid
// SSL cert. We will never match or autofill a PasswordForm where
@@ -143,7 +143,7 @@ struct PasswordForm {
};
// Map username to PasswordForm* for convenience. See password_form_manager.h.
-typedef std::map<std::wstring, PasswordForm*> PasswordFormMap;
+typedef std::map<string16, PasswordForm*> PasswordFormMap;
} // namespace webkit_glue