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 |