Commit 3c0c1f30 authored by Jan Wilken Dörrie's avatar Jan Wilken Dörrie Committed by Commit Bot

[Passwords] Add TOO_MANY_PASSWORDS_AND_QUOTA_LIMIT case

This change adds a TOO_MANY_PASSWORDS_AND_QUOTA_LIMIT case to the
PasswordCheckState enum. This distinction is relevant for users that are
unable to use the online Password Checkup to check the passwords saved
in their Google account.

Bug: 1047726
Change-Id: If8b28c7db8cd9eb10e0de9e1291f3a97627db9d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2098682
Auto-Submit: Jan Wilken Dörrie <jdoerrie@chromium.org>
Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749358}
parent a6030bbf
...@@ -52,6 +52,9 @@ namespace passwordsPrivate { ...@@ -52,6 +52,9 @@ namespace passwordsPrivate {
TOO_MANY_PASSWORDS, TOO_MANY_PASSWORDS,
// The user hit the quota limit. // The user hit the quota limit.
QUOTA_LIMIT, QUOTA_LIMIT,
// The user has too many passwords saved and hit the quota limit. This is
// relevant for users that can't use the online Password Checkup.
TOO_MANY_PASSWORDS_AND_QUOTA_LIMIT,
// Any other error state. // Any other error state.
OTHER_ERROR OTHER_ERROR
}; };
......
...@@ -57,6 +57,7 @@ chrome.passwordsPrivate.PasswordCheckState = { ...@@ -57,6 +57,7 @@ chrome.passwordsPrivate.PasswordCheckState = {
NO_PASSWORDS: 'NO_PASSWORDS', NO_PASSWORDS: 'NO_PASSWORDS',
TOO_MANY_PASSWORDS: 'TOO_MANY_PASSWORDS', TOO_MANY_PASSWORDS: 'TOO_MANY_PASSWORDS',
QUOTA_LIMIT: 'QUOTA_LIMIT', QUOTA_LIMIT: 'QUOTA_LIMIT',
TOO_MANY_PASSWORDS_AND_QUOTA_LIMIT: 'TOO_MANY_PASSWORDS_AND_QUOTA_LIMIT',
OTHER_ERROR: 'OTHER_ERROR', OTHER_ERROR: 'OTHER_ERROR',
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment