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

Unified Diff: components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc

Issue 2244893002: Remove the "card verified" message in PaymentRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
« no previous file with comments | « chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc
diff --git a/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc b/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc
index a7fdb3202347f9f45470235484959101e062cc30..738b5acbd8cddd38155559ec2fd4682a74bff17d 100644
--- a/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc
+++ b/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc
@@ -322,7 +322,8 @@ bool CardUnmaskPromptControllerImpl::InputExpirationIsValid(
base::TimeDelta CardUnmaskPromptControllerImpl::GetSuccessMessageDuration()
const {
- return base::TimeDelta::FromMilliseconds(500);
+ return base::TimeDelta::FromMilliseconds(
+ reason_ == AutofillClient::UNMASK_FOR_PAYMENT_REQUEST ? 0 : 500);
}
} // namespace autofill
« no previous file with comments | « chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698