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

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

Issue 2776223002: Adds UKM for autofill attributes in form_structure. (Closed)
Patch Set: Adds UKM for autofill attributes in form_structure. Created 3 years, 9 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 b13144267eba9f4eb0b2b5d39b280df0a5604bd8..c2d31b1b771743f16baab3e92e2d0123e71c4620 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -1924,7 +1924,9 @@ bool AutofillManager::ParseForm(const FormData& form,
// as long as receivers don't take ownership.
form_structures_.push_back(std::move(form_structure));
*parsed_form_structure = form_structures_.back().get();
- (*parsed_form_structure)->DetermineHeuristicTypes();
+ (*parsed_form_structure)
+ ->DetermineHeuristicTypes(client_->GetUkmService(),
+ pending_upload_request_url_);
Mathieu 2017/03/27 18:58:55 FormStructure::source_url is what you need, so can
csashi 2017/03/27 23:37:43 Done.
return true;
}

Powered by Google App Engine
This is Rietveld 408576698