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

Unified Diff: components/autofill/core/common/password_form.h

Issue 107383002: Use base namespace for string16 in components and cloud_print. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/common/password_form.h
diff --git a/components/autofill/core/common/password_form.h b/components/autofill/core/common/password_form.h
index 668adf6b26c9f9017805b2a6c11a1a3c6be5825f..0a3d801c28139355a845a26658f940789567040c 100644
--- a/components/autofill/core/common/password_form.h
+++ b/components/autofill/core/common/password_form.h
@@ -95,42 +95,42 @@ struct PasswordForm {
// possible.
//
// When parsing an HTML form, this must always be set.
- string16 submit_element;
+ base::string16 submit_element;
// The name of the username input element. Optional (improves scoring).
//
// When parsing an HTML form, this must always be set.
- string16 username_element;
+ base::string16 username_element;
// The username. Optional.
//
// When parsing an HTML form, this is typically empty unless the site
// has implemented some form of autofill.
- string16 username_value;
+ base::string16 username_value;
// This member is populated in cases where we there are multiple input
// elements that could possibly be the username. Used when our heuristics for
// determining the username are incorrect. Optional.
//
// When parsing an HTML form, this is typically empty.
- std::vector<string16> other_possible_usernames;
+ std::vector<base::string16> other_possible_usernames;
// The name of the password input element, Optional (improves scoring).
//
// When parsing an HTML form, this must always be set.
- string16 password_element;
+ base::string16 password_element;
// The password. Required.
//
// When parsing an HTML form, this is typically empty.
- string16 password_value;
+ base::string16 password_value;
// If the form was a change password form, the name of the
// 'old password' input element. Optional.
- string16 old_password_element;
+ base::string16 old_password_element;
// The old password. Optional.
- string16 old_password_value;
+ base::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
@@ -196,7 +196,7 @@ struct PasswordForm {
};
// Map username to PasswordForm* for convenience. See password_form_manager.h.
-typedef std::map<string16, PasswordForm*> PasswordFormMap;
+typedef std::map<base::string16, PasswordForm*> PasswordFormMap;
// For testing.
std::ostream& operator<<(std::ostream& os,
« no previous file with comments | « components/autofill/core/common/form_field_data.cc ('k') | components/breakpad/app/hard_error_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698