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

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

Issue 2971783002: Skeleton for showing "Show all saved passwords row" for Linux/CrOs/Windows platforms (Closed)
Patch Set: . Created 3 years, 5 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/browser/autofill_external_delegate.cc
diff --git a/components/autofill/core/browser/autofill_external_delegate.cc b/components/autofill/core/browser/autofill_external_delegate.cc
index 27e046d10b6aeebc5ee1cfa138dcd5180538ca2a..05b2ebbe198cba36d8a0c93507dddb0eba1a748a 100644
--- a/components/autofill/core/browser/autofill_external_delegate.cc
+++ b/components/autofill/core/browser/autofill_external_delegate.cc
@@ -228,10 +228,12 @@ void AutofillExternalDelegate::DidAcceptSuggestion(const base::string16& value,
manager_->client()->ScanCreditCard(base::Bind(
&AutofillExternalDelegate::OnCreditCardScanned, GetWeakPtr()));
} else if (identifier == POPUP_ITEM_ID_CREDIT_CARD_SIGNIN_PROMO) {
- manager_->client()->StartSigninFlow();
+ manager_->client()->ExecuteCommand(
+ autofill::POPUP_ITEM_ID_CREDIT_CARD_SIGNIN_PROMO);
} else if (identifier == POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE) {
AutofillMetrics::LogShowedHttpNotSecureExplanation();
- manager_->client()->ShowHttpNotSecureExplanation();
+ manager_->client()->ExecuteCommand(
+ autofill::POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE);
} else {
if (identifier > 0) // Denotes an Autofill suggestion.
AutofillMetrics::LogAutofillSuggestionAcceptedIndex(position);

Powered by Google App Engine
This is Rietveld 408576698