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

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

Issue 22009003: [Autofill] Distinguish between native field types and potentially HTML field types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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_download.cc
diff --git a/components/autofill/core/browser/autofill_download.cc b/components/autofill/core/browser/autofill_download.cc
index c189596abbbeeb1eb9a57c9c2ea670d838b07acd..9bf81e2c72bbcb71c64492e642ff9cee3f67eb06 100644
--- a/components/autofill/core/browser/autofill_download.cc
+++ b/components/autofill/core/browser/autofill_download.cc
@@ -39,7 +39,7 @@ const size_t kMaxFormCacheSize = 16;
// into the Autofill server as experiment data.
static void LogFieldAssignments(
const FormStructure& form,
- const FieldTypeSet& available_field_types) {
+ const ServerFieldTypeSet& available_field_types) {
std::string form_xml;
if (!form.EncodeFieldAssignments(available_field_types, &form_xml))
return;
@@ -124,7 +124,7 @@ bool AutofillDownloadManager::StartQueryRequest(
bool AutofillDownloadManager::StartUploadRequest(
const FormStructure& form,
bool form_was_autofilled,
- const FieldTypeSet& available_field_types) {
+ const ServerFieldTypeSet& available_field_types) {
std::string form_xml;
if (!form.EncodeUploadRequest(available_field_types, form_was_autofilled,
&form_xml))
« no previous file with comments | « components/autofill/core/browser/autofill_download.h ('k') | components/autofill/core/browser/autofill_download_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698