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

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

Issue 1375883002: Support Android username-only credentials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 years, 2 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 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 57a9d9dffa4289e557d7ed8dbefbb424858eb862..e114f0d4827d776946851546e58a4ac598b844db 100644
--- a/components/autofill/core/common/password_form.h
+++ b/components/autofill/core/common/password_form.h
@@ -53,12 +53,14 @@ struct PasswordForm {
// Enum to differentiate between HTML form based authentication, and dialogs
// using basic or digest schemes. Default is SCHEME_HTML. Only PasswordForms
// of the same Scheme will be matched/autofilled against each other.
- enum Scheme {
+ enum Scheme : int {
SCHEME_HTML,
SCHEME_BASIC,
SCHEME_DIGEST,
SCHEME_OTHER,
- SCHEME_LAST = SCHEME_OTHER
+ SCHEME_USERNAME_ONLY,
+
+ SCHEME_LAST = SCHEME_USERNAME_ONLY
} scheme;
// During form parsing, Chrome tries to partly understand the type of the form

Powered by Google App Engine
This is Rietveld 408576698