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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

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_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 9a399a0b7dcb549f51163b1e674dfe857d0ae734..b29e5c21b1dbdb51a180da98d19c4cdabf98e188 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -1326,6 +1326,11 @@ void AutofillManager::ImportFormData(const FormStructure& submitted_form) {
return;
}
+ if (IsAutofillUpstreamShowNewUiExperimentEnabled()) {
+ upload_request_.active_experiments.push_back(
+ kAutofillUpstreamShowNewUi.name);
+ }
+
// All required data is available, start the upload process.
payments_client_->GetUploadDetails(upload_request_.profiles,
upload_request_.active_experiments,

Powered by Google App Engine
This is Rietveld 408576698