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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 872713005: autofill - Keep showing form preview while card unmasking prompt is up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 11 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 | « components/autofill/core/browser/autofill_manager.h ('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/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index b9123d0674c4f40feaa014629ccaeed59e2d437e..69eb42ac0206b1761d0751eaee1b2ee1c5b7d7c1 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -649,6 +649,10 @@ void AutofillManager::RemoveAutocompleteEntry(const base::string16& name,
autocomplete_history_manager_->OnRemoveAutocompleteEntry(name, value);
}
+bool AutofillManager::IsShowingUnmaskPrompt() {
+ return unmasking_card_.Compare(CreditCard()) != 0;
+}
+
const std::vector<FormStructure*>& AutofillManager::GetFormStructures() {
return form_structures_.get();
}
« no previous file with comments | « components/autofill/core/browser/autofill_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698