summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history.h
diff options
context:
space:
mode:
authormrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 19:25:58 +0000
committermrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 19:25:58 +0000
commit5c86ada8d84f6e67d17b027d347052ef451241c4 (patch)
treea52e511aa41f5a0b5221bbb16a1f99892c6c2e7b /chrome/browser/history/history.h
parent7c9c9dcd65b5fe4b5b5d223e096eb4b68164fed2 (diff)
downloadchromium_src-5c86ada8d84f6e67d17b027d347052ef451241c4.zip
chromium_src-5c86ada8d84f6e67d17b027d347052ef451241c4.tar.gz
chromium_src-5c86ada8d84f6e67d17b027d347052ef451241c4.tar.bz2
Incorporate 'quick' history provider index as an autocomplete provider in preparation for the replacement of the current history_url_provider. This step refactors the history provider code a bit, introduces the replacement class (history-quick_provider), and adds a unittest template. Note that the 'quick' provider will only support the fast, synchronous autocomplete pass. Once the quick provider has been completed the current history_url_provider will be replaced. In the meantime, the latter will remain in operation in order to provide the slower history results.
BUG=None TEST=None Review URL: http://codereview.chromium.org/3017008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54354 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history.h')
-rw-r--r--chrome/browser/history/history.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index 8da542c..121d573 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -51,6 +51,7 @@ class TypedUrlDataTypeController;
namespace history {
class InMemoryHistoryBackend;
+class InMemoryURLIndex;
class HistoryBackend;
class HistoryDatabase;
struct HistoryDetails;
@@ -151,6 +152,8 @@ class HistoryService : public CancelableRequestProvider,
// TODO(brettw) this should return the InMemoryHistoryBackend.
history::URLDatabase* InMemoryDatabase();
+ history::InMemoryURLIndex* InMemoryIndex();
+
// Navigation ----------------------------------------------------------------
// Adds the given canonical URL to history with the current time as the visit