Reland "Reland "[AF] Add account indication footer to AutofillSaveCardInfoBar""
This reverts commit cd50c5655c6c1bb7d1d2c40908313174554c1e34.
Reason for revert: Relanding with tests removed, as discussed offline
Original change's description:
> Revert "Reland "[AF] Add account indication footer to AutofillSaveCardInfoBar""
>
> This reverts commit 6e85e7a4603787886fa8fc58b597e2b570e1bbc8.
>
> Reason for revert: crbug.com/1147678
>
> Original change's description:
> > Reland "[AF] Add account indication footer to AutofillSaveCardInfoBar"
> >
> > This is a reland of ba7d881429d42944c172ca7ca13938f78d5c4f1f. Two changes were made:
> > 1) A null pointer check is added to AutofillSaveCardInfoBar.java, and
> > 2) In AutofillUpstreamTest.java, startMainActivityWithURL() is replaced with loadUrl().
> >
> > Original change's description:
> > > [AF] Add account indication footer to AutofillSaveCardInfoBar
> > >
> > > The footer is shown only to signed-in users have more than one account, and who do not sync.
> > >
> > > Screenshot with feature enabled in light mode:
> > > https://screenshot.googleplex.com/ApVmkMVQakM6ai9
> > >
> > > Screenshot with feature enabled in dark mode:
> > > https://screenshot.googleplex.com/BJB2jUuGoH3T5jM
> > >
> > > Bug: 1135847, 1146186
> > > Change-Id: Ia2e031a48920e44e66503fab62f26ed87b8e1d92
> > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2496184
> > > Commit-Queue: Anne Lim <[email protected]>
> > > Reviewed-by: Marc Treib <[email protected]>
> > > Reviewed-by: Matthew Jones <[email protected]>
> > > Reviewed-by: Jared Saul <[email protected]>
> > > Cr-Commit-Position: refs/heads/master@{#823710}
> >
> > Bug: 1135847
> > Change-Id: Ifd9d514234a3af82330686373578f54ffd3427c8
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2522219
> > Commit-Queue: Anne Lim <[email protected]>
> > Reviewed-by: Matthew Jones <[email protected]>
> > Reviewed-by: Jared Saul <[email protected]>
> > Reviewed-by: Marc Treib <[email protected]>
> > Cr-Commit-Position: refs/heads/master@{#825853}
>
> [email protected],[email protected],[email protected],[email protected],[email protected]
>
> Change-Id: I09677d00d3c73763eb0c95ba56fee01bedbb149a
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 1135847, 1147678
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531084
> Reviewed-by: Wei-Yin Chen (陳威尹) <[email protected]>
> Commit-Queue: Wei-Yin Chen (陳威尹) <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#826176}
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
# Not skipping CQ checks because this is a reland.
Bug: 1135847
Bug: 1147678
Change-Id: I0277fa6869b760612b960b47eca7ba6114efeef0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2533277
Reviewed-by: Marc Treib <[email protected]>
Reviewed-by: Jared Saul <[email protected]>
Reviewed-by: Matthew Jones <[email protected]>
Reviewed-by: Anne Lim <[email protected]>
Commit-Queue: Anne Lim <[email protected]>
Cr-Commit-Position: refs/heads/master@{#826550}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 85a3429..6bbcb95 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -524,6 +524,12 @@
"When enabled, a footer indicating user's e-mail address will appear at "
"the bottom of corresponding password InfoBars.";
+const char kEnableAutofillSaveCardInfoBarAccountIndicationFooterName[] =
+ "Display SaveCardInfoBar footer with account indication information";
+const char kEnableAutofillSaveCardInfoBarAccountIndicationFooterDescription[] =
+ "When enabled, a footer indicating user's e-mail address will appear at "
+ "the bottom of SaveCardInfoBar.";
+
const char kEnableAutofillCreditCardCvcPromptGoogleLogoName[] =
"Enable Google Pay branding on CVC prompt on Android";
const char kEnableAutofillCreditCardCvcPromptGoogleLogoDescription[] =