summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/history_provider.h
diff options
context:
space:
mode:
authormrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 18:52:41 +0000
committermrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 18:52:41 +0000
commitbea5c46ef47c329892167eabc4cbefbc8e06d9a0 (patch)
treec7b545cb1ed730fb19db3b26eea2523fa7f36c66 /chrome/browser/autocomplete/history_provider.h
parent173e0ea38f7067dcb9b1b529b7f8e3bcc21f72f3 (diff)
downloadchromium_src-bea5c46ef47c329892167eabc4cbefbc8e06d9a0.zip
chromium_src-bea5c46ef47c329892167eabc4cbefbc8e06d9a0.tar.gz
chromium_src-bea5c46ef47c329892167eabc4cbefbc8e06d9a0.tar.bz2
HQP Refactoring (in Preparation for SQLite Cache)
1. Move ownership of the InMemoryURLIndex from the InMemoryHistoryBackend to the HistoryService, where it truly belongs. 2. Handle (by notification) URL visits, updates and deletes. Refactor use of NOTIFICATION_HISTORY_URLS_DELETED to provide the deleted URLRow so that row ID is available. 3. Correctly handle the adding and removing of page title words when a URL change is detected. 4. Other small cleanups. BUG=96731, 92718 TEST=Unit tests updated. TBR=atwilson (for profile_sync_service_typed_url_unittest.cc) Previously reviewed as: http://codereview.chromium.org/8384024/ Review URL: http://codereview.chromium.org/8451009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111378 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/history_provider.h')
-rw-r--r--chrome/browser/autocomplete/history_provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/history_provider.h b/chrome/browser/autocomplete/history_provider.h
index 7b145a2..cb081c3 100644
--- a/chrome/browser/autocomplete/history_provider.h
+++ b/chrome/browser/autocomplete/history_provider.h
@@ -46,6 +46,10 @@ class HistoryProvider : public AutocompleteProvider {
// |input.prevent_inline_autocomplete()| is true, or the input text contains
// trailing whitespace.
bool PreventInlineAutocomplete(const AutocompleteInput& input);
+
+ // Finds and removes the match from the current collection of matches and
+ // backing data.
+ void DeleteMatchFromMatches(const AutocompleteMatch& match);
};
#endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_