[AF][Sticky Bubble] Don't dismiss bubble upon page navigation
Add an experiment flag and change the navigation logic for upstream
bubble and card migration bubble.
New sets of metrics will be added in the following CL.
Bug: 1070799
Change-Id: I7c81b1b568ea10c179c402aeb9be9a3002496370
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2149696
Commit-Queue: Siyu An <[email protected]>
Reviewed-by: Jared Saul <[email protected]>
Reviewed-by: Vasilii Sukhanov <[email protected]>
Cr-Commit-Position: refs/heads/master@{#759376}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index df3a4ce..dcaf39a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -5239,6 +5239,13 @@
flag_descriptions::kEnableAutofillCacheServerCardInfoDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutofillCacheServerCardInfo)},
+ {"autofill-enable-sticky-payments-bubble",
+ flag_descriptions::kAutofillEnableStickyPaymentsBubbleName,
+ flag_descriptions::kAutofillEnableStickyPaymentsBubbleDescription,
+ kOsDesktop,
+ FEATURE_VALUE_TYPE(
+ autofill::features::kAutofillEnableStickyPaymentsBubble)},
+
// NOTE: Adding a new flag requires adding a corresponding entry to enum
// "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag
// Histograms" in tools/metrics/histograms/README.md (run the