Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: chrome/browser/history/in_memory_history_backend.h

Issue 8437035: Revert 108207 - HQP Refactoring (in Preparation for SQLite Cache) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/history/in_memory_history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/history/in_memory_history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698