summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-11 18:42:57 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-11 18:42:57 +0000
commit84044aff41946e5af64daf769fc44745dc6d6eeb (patch)
tree330c53c1017aa476422cd2f343b968821fbf1599 /chrome/browser/renderer_host/render_view_host.cc
parent97eb2f108a817351bfbfd465176bfe2d033c85c8 (diff)
downloadchromium_src-84044aff41946e5af64daf769fc44745dc6d6eeb.zip
chromium_src-84044aff41946e5af64daf769fc44745dc6d6eeb.tar.gz
chromium_src-84044aff41946e5af64daf769fc44745dc6d6eeb.tar.bz2
Rename RenderViewHost::FormFieldHistorySuggestionsReturned to the more accurate AutocompleteSuggestionsReturned.
BUG=none TEST=none Review URL: http://codereview.chromium.org/601036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.cc')
-rw-r--r--chrome/browser/renderer_host/render_view_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index e235f50..2c1bdf2 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -1569,7 +1569,7 @@ void RenderViewHost::OnQueryFormFieldAutofill(int query_id,
query_id, field_name, user_text);
}
if (!ok)
- FormFieldHistorySuggestionsReturned(query_id, std::vector<string16>(), -1);
+ AutocompleteSuggestionsReturned(query_id, std::vector<string16>(), -1);
}
void RenderViewHost::OnRemoveAutofillEntry(const string16& field_name,
@@ -1580,7 +1580,7 @@ void RenderViewHost::OnRemoveAutofillEntry(const string16& field_name,
formfield_history_delegate->RemoveFormFieldHistoryEntry(field_name, value);
}
-void RenderViewHost::FormFieldHistorySuggestionsReturned(
+void RenderViewHost::AutocompleteSuggestionsReturned(
int query_id, const std::vector<string16>& suggestions,
int default_suggestion_index) {
Send(new ViewMsg_QueryFormFieldAutofill_ACK(