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

Unified Diff: components/autofill/core/browser/autofill_experiments.h

Issue 2955963002: Update Chrome Upstream flow to reflect new UI mocks (Closed)
Patch Set: Prevent AddNewUiFlagStateToRequestIfExperimentOn test from running on Android Created 3 years, 4 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_experiments.h
diff --git a/components/autofill/core/browser/autofill_experiments.h b/components/autofill/core/browser/autofill_experiments.h
index 0ae7639e9a464c161274181dfef5306a0ead468b..0a2f5c3629d9020300797c4cdca3b5f81213bc33 100644
--- a/components/autofill/core/browser/autofill_experiments.h
+++ b/components/autofill/core/browser/autofill_experiments.h
@@ -34,6 +34,7 @@ extern const base::Feature kAutofillCreditCardLastUsedDateDisplay;
extern const base::Feature kAutofillOfferLocalSaveIfServerCardManuallyEntered;
extern const base::Feature kAutofillSuppressDisusedAddresses;
extern const base::Feature kAutofillUpstreamRequestCvcIfMissing;
+extern const base::Feature kAutofillUpstreamShowNewUi;
extern const base::Feature kAutofillUpstreamUseAutofillProfileComparator;
extern const base::Feature kAutofillUpstreamUseNotRecentlyUsedAutofillProfile;
extern const char kCreditCardSigninPromoImpressionLimitParamKey[];
@@ -125,6 +126,10 @@ bool IsAutofillOfferLocalSaveIfServerCardManuallyEnteredExperimentEnabled();
// in the offer to save bubble if it was not detected during the checkout flow.
bool IsAutofillUpstreamRequestCvcIfMissingExperimentEnabled();
+// Returns whether the experiment is enabled where Chrome Upstream displays a
+// new save card bubble/infobar design.
+bool IsAutofillUpstreamShowNewUiExperimentEnabled();
+
// Returns the maximum time that could have elapsed since an address profile's
// most recent use for the adress profile to be included in the candidate set
// for card upload. Returns 0 if the experiment is not enabled.
« no previous file with comments | « chrome/browser/ui/views/autofill/save_card_bubble_views.cc ('k') | components/autofill/core/browser/autofill_experiments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698