summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete_history_manager.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-03 00:30:59 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-03 00:30:59 +0000
commitb143821ab651df119648c0a201b6ab4bf616a500 (patch)
treebb9946d52d2d1937bbfc3d2de641a0fabca80c3f /chrome/browser/autocomplete_history_manager.h
parent89098b14454bd3e9ec38c98084e1e0488de67fb3 (diff)
downloadchromium_src-b143821ab651df119648c0a201b6ab4bf616a500.zip
chromium_src-b143821ab651df119648c0a201b6ab4bf616a500.tar.gz
chromium_src-b143821ab651df119648c0a201b6ab4bf616a500.tar.bz2
AutoFill: Use the FormManager cache to send forms to the AutoFillManager.
Remove the FormFieldValues class and replace its usage with FormData. BUG=38325,33032 TEST=none Review URL: http://codereview.chromium.org/1606005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete_history_manager.h')
-rw-r--r--chrome/browser/autocomplete_history_manager.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/autocomplete_history_manager.h b/chrome/browser/autocomplete_history_manager.h
index 1d6966f..2f8fe5e 100644
--- a/chrome/browser/autocomplete_history_manager.h
+++ b/chrome/browser/autocomplete_history_manager.h
@@ -12,8 +12,8 @@
#include "chrome/browser/webdata/web_data_service.h"
namespace webkit_glue {
-class FormFieldValues;
-}
+struct FormData;
+} // namespace webkit_glue
class Profile;
class TabContents;
@@ -30,8 +30,7 @@ class AutocompleteHistoryManager
Profile* profile();
// RenderViewHostDelegate::Autocomplete implementation.
- virtual void FormFieldValuesSubmitted(
- const webkit_glue::FormFieldValues& form);
+ virtual void FormSubmitted(const webkit_glue::FormData& form);
virtual bool GetAutocompleteSuggestions(int query_id,
const string16& name,
const string16& prefix);
@@ -44,7 +43,7 @@ class AutocompleteHistoryManager
private:
void CancelPendingQuery();
- void StoreFormEntriesInWebDatabase(const webkit_glue::FormFieldValues& form);
+ void StoreFormEntriesInWebDatabase(const webkit_glue::FormData& form);
void SendSuggestions(const WDTypedResult* suggestions);
TabContents* tab_contents_;