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

Unified Diff: chrome/browser/autocomplete/history_quick_provider.h

Issue 8359019: Create Private Data for InMemoryURLIndex (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
Index: chrome/browser/autocomplete/history_quick_provider.h
===================================================================
--- chrome/browser/autocomplete/history_quick_provider.h (revision 106401)
+++ chrome/browser/autocomplete/history_quick_provider.h (working copy)
@@ -81,7 +81,10 @@
bool is_url);
// Only for use in unittests. Takes ownership of |index|.
- void SetIndexForTesting(history::InMemoryURLIndex* index);
+ void set_index(history::InMemoryURLIndex* index) {
+ index_for_testing_.reset(index);
+ }
+
AutocompleteInput autocomplete_input_;
std::string languages_;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/history_quick_provider.cc » ('j') | chrome/browser/history/history_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698