Index: chrome/browser/history/in_memory_history_backend.h |
=================================================================== |
--- chrome/browser/history/in_memory_history_backend.h (revision 108223) |
+++ chrome/browser/history/in_memory_history_backend.h (working copy) |
@@ -70,6 +70,9 @@ |
const content::NotificationSource& source, |
const content::NotificationDetails& details); |
+ // Return the quick history index. |
+ history::InMemoryURLIndex* InMemoryIndex() const { return index_.get(); } |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteAll); |
@@ -93,6 +96,9 @@ |
// initialization. |
Profile* profile_; |
+ // The index used for quick history lookups. |
+ scoped_ptr<history::InMemoryURLIndex> index_; |
+ |
DISALLOW_COPY_AND_ASSIGN(InMemoryHistoryBackend); |
}; |