summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/form_structure.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 22:14:18 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 22:14:18 +0000
commit7127ca8f76464fbc40f578034254b0ce778a6dae (patch)
tree9bb797184c3a87445b34728c2dddf088fc461d03 /chrome/browser/autofill/form_structure.cc
parent77c93df6ab9299e0f28349966caf391f1d1d35e5 (diff)
downloadchromium_src-7127ca8f76464fbc40f578034254b0ce778a6dae.zip
chromium_src-7127ca8f76464fbc40f578034254b0ce778a6dae.tar.gz
chromium_src-7127ca8f76464fbc40f578034254b0ce778a6dae.tar.bz2
autofill: Rename AutoFillFieldType to AutofillFieldType.
BUG=72758 TEST=compiled locally and trybots Review URL: http://codereview.chromium.org/6592067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/form_structure.cc')
-rw-r--r--chrome/browser/autofill/form_structure.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/autofill/form_structure.cc b/chrome/browser/autofill/form_structure.cc
index 19356f3..acfa1e4 100644
--- a/chrome/browser/autofill/form_structure.cc
+++ b/chrome/browser/autofill/form_structure.cc
@@ -172,7 +172,7 @@ void FormStructure::ParseQueryResponse(const std::string& response_xml,
metric_logger.Log(AutofillMetrics::QUERY_RESPONSE_RECEIVED);
// Parse the field types from the server response to the query.
- std::vector<AutoFillFieldType> field_types;
+ std::vector<AutofillFieldType> field_types;
std::string experiment_id;
AutoFillQueryXmlParser parse_handler(&field_types, upload_required,
&experiment_id);
@@ -187,7 +187,7 @@ void FormStructure::ParseQueryResponse(const std::string& response_xml,
bool query_response_overrode_heuristics = false;
// Copy the field types into the actual form.
- std::vector<AutoFillFieldType>::iterator current_type = field_types.begin();
+ std::vector<AutofillFieldType>::iterator current_type = field_types.begin();
for (std::vector<FormStructure*>::const_iterator iter = forms.begin();
iter != forms.end(); ++iter) {
FormStructure* form = *iter;
@@ -213,7 +213,7 @@ void FormStructure::ParseQueryResponse(const std::string& response_xml,
// UNKNOWN_TYPE is reserved for use by the client.
DCHECK_NE(*current_type, UNKNOWN_TYPE);
- AutoFillFieldType heuristic_type = (*field)->type();
+ AutofillFieldType heuristic_type = (*field)->type();
(*field)->set_server_type(*current_type);
if (heuristic_type != (*field)->type())
query_response_overrode_heuristics = true;
@@ -370,7 +370,7 @@ void FormStructure::GetHeuristicAutoFillTypes() {
DCHECK(field);
FieldTypeMap::iterator iter = field_type_map.find(field->unique_name());
- AutoFillFieldType heuristic_auto_fill_type;
+ AutofillFieldType heuristic_auto_fill_type;
if (iter == field_type_map.end()) {
heuristic_auto_fill_type = UNKNOWN_TYPE;
} else {