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

Unified Diff: ios/chrome/browser/ui/autofill/autofill_client_ios.mm

Issue 2839683002: Logs different SaveCardPrompt histogram names depending on if user (Closed)
Patch Set: Adds DCHECK for previous save card prompt user decision. Created 3 years, 8 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/common/autofill_pref_names.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/autofill/autofill_client_ios.mm
diff --git a/ios/chrome/browser/ui/autofill/autofill_client_ios.mm b/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
index 377e7e74fb09849e2fbf6c1efb312d0fe5f9d37c..763bc49bf23e1aedaba54b199f2cd09ff41fc562 100644
--- a/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
+++ b/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
@@ -118,7 +118,7 @@ void AutofillClientIOS::ConfirmSaveCreditCardLocally(
infobar_manager_->AddInfoBar(CreateSaveCardInfoBarMobile(
base::MakeUnique<AutofillSaveCardInfoBarDelegateMobile>(
false, card, std::unique_ptr<base::DictionaryValue>(nullptr),
- callback)));
+ callback, GetPrefs())));
}
void AutofillClientIOS::ConfirmSaveCreditCardToCloud(
@@ -128,7 +128,7 @@ void AutofillClientIOS::ConfirmSaveCreditCardToCloud(
const base::Closure& callback) {
infobar_manager_->AddInfoBar(CreateSaveCardInfoBarMobile(
base::MakeUnique<AutofillSaveCardInfoBarDelegateMobile>(
- true, card, std::move(legal_message), callback)));
+ true, card, std::move(legal_message), callback, GetPrefs())));
}
void AutofillClientIOS::ConfirmCreditCardFillAssist(
« no previous file with comments | « components/autofill/core/common/autofill_pref_names.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698