diff options
Diffstat (limited to 'chromium/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc')
-rw-r--r-- | chromium/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chromium/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc b/chromium/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc index becc1289c2b..afa749b6d1b 100644 --- a/chromium/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc +++ b/chromium/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc @@ -8,6 +8,7 @@ #include "base/strings/utf_string_conversions.h" #include "base/values.h" +#include "components/autofill/core/browser/autofill_experiments.h" #include "components/autofill/core/browser/credit_card.h" #include "components/autofill/core/browser/legal_message_line.h" #include "components/autofill/core/common/autofill_constants.h" @@ -95,8 +96,11 @@ base::string16 AutofillSaveCardInfoBarDelegateMobile::GetTitleText() const { base::string16 AutofillSaveCardInfoBarDelegateMobile::GetDescriptionText() const { - return l10n_util::GetStringUTF16( - IDS_AUTOFILL_SAVE_CARD_PROMPT_UPLOAD_EXPLANATION_V2); + return IsAutofillUpstreamUpdatePromptExplanationExperimentEnabled() + ? l10n_util::GetStringUTF16( + IDS_AUTOFILL_SAVE_CARD_PROMPT_UPLOAD_EXPLANATION_V3) + : l10n_util::GetStringUTF16( + IDS_AUTOFILL_SAVE_CARD_PROMPT_UPLOAD_EXPLANATION_V2); } int AutofillSaveCardInfoBarDelegateMobile::GetIconId() const { |