summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete_history_manager.h
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-16 02:18:28 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-16 02:18:28 +0000
commitdc9144fed7238ba56fa3f39158ef6d7267bd0a23 (patch)
treeff5adb0ff4c44ddeb3f92a8740a84aca1e38385b /chrome/browser/autocomplete_history_manager.h
parent48dbfb25992081e5c4c35bea85bf04ff13c6d042 (diff)
downloadchromium_src-dc9144fed7238ba56fa3f39158ef6d7267bd0a23.zip
chromium_src-dc9144fed7238ba56fa3f39158ef6d7267bd0a23.tar.gz
chromium_src-dc9144fed7238ba56fa3f39158ef6d7267bd0a23.tar.bz2
Revert 66214 - Display a warning when autofill is disabled for a website.
This depends on a WebKit change being tracked at https://bugs.webkit.org/show_bug.cgi?id=49291 BUG=58509 TEST=unit_tests --gtest_filter=AutoFillManagerTest.*:AutoFillHelperTest.* Review URL: http://codereview.chromium.org/4591001 TBR=isherman@chromium.org Review URL: http://codereview.chromium.org/4985003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete_history_manager.h')
-rw-r--r--chrome/browser/autocomplete_history_manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete_history_manager.h b/chrome/browser/autocomplete_history_manager.h
index 5752942..23493b3 100644
--- a/chrome/browser/autocomplete_history_manager.h
+++ b/chrome/browser/autocomplete_history_manager.h
@@ -28,7 +28,8 @@ class AutocompleteHistoryManager
// RenderViewHostDelegate::Autocomplete implementation.
virtual void FormSubmitted(const webkit_glue::FormData& form);
- virtual void GetAutocompleteSuggestions(const string16& name,
+ virtual bool GetAutocompleteSuggestions(int query_id,
+ const string16& name,
const string16& prefix);
virtual void RemoveAutocompleteEntry(const string16& name,
const string16& value);
@@ -58,6 +59,7 @@ class AutocompleteHistoryManager
// is queried on another thread, we record the query handle until we
// get called back.
WebDataService::Handle pending_query_handle_;
+ int query_id_;
DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager);
};