Home
last modified time | relevance | path

Searched refs:InMemoryURLIndex (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/history/
Din_memory_url_index_unittest.cc120 InMemoryURLIndex::String16Vector Make1Term(const char* term) { in Make1Term()
121 InMemoryURLIndex::String16Vector terms; in Make1Term()
126 InMemoryURLIndex::String16Vector Make2Terms(const char* term_1, in Make2Terms()
128 InMemoryURLIndex::String16Vector terms; in Make2Terms()
134 scoped_ptr<InMemoryURLIndex> url_index_;
163 url_index_.reset(new InMemoryURLIndex(FilePath(FILE_PATH_LITERAL("/dummy")))); in TEST_F()
175 url_index_.reset(new InMemoryURLIndex); in TEST_F()
186 url_index_.reset(new InMemoryURLIndex(FilePath(FILE_PATH_LITERAL("/dummy")))); in TEST_F()
188 InMemoryURLIndex::String16Vector terms; in TEST_F()
246 url_index_.reset(new InMemoryURLIndex(FilePath(FILE_PATH_LITERAL("/dummy")))); in TEST_F()
[all …]
Din_memory_url_index.cc50 const size_t InMemoryURLIndex::kNoCachedResultForTerm = -1;
75 struct InMemoryURLIndex::TermCharWordSet {
137 InMemoryURLIndex::InMemoryURLIndex(const FilePath& history_dir) in InMemoryURLIndex() function in history::InMemoryURLIndex
143 InMemoryURLIndex::InMemoryURLIndex() in InMemoryURLIndex() function in history::InMemoryURLIndex
147 InMemoryURLIndex::~InMemoryURLIndex() {} in ~InMemoryURLIndex()
151 bool InMemoryURLIndex::Init(history::URLDatabase* history_db, in Init()
158 void InMemoryURLIndex::ShutDown() { in ShutDown()
163 bool InMemoryURLIndex::IndexRow(const URLRow& row) { in IndexRow()
197 bool InMemoryURLIndex::ReloadFromHistory(history::URLDatabase* history_db, in ReloadFromHistory()
222 void InMemoryURLIndex::ClearPrivateData() { in ClearPrivateData()
[all …]
Din_memory_url_index.h96 class InMemoryURLIndex {
101 explicit InMemoryURLIndex(const FilePath& history_dir);
102 ~InMemoryURLIndex();
192 InMemoryURLIndex();
240 AddHistoryMatch(const InMemoryURLIndex& index,
249 const InMemoryURLIndex& index_;
405 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex);
Din_memory_history_backend.h33 class InMemoryURLIndex; variable
74 history::InMemoryURLIndex* InMemoryIndex() const { return index_.get(); } in InMemoryIndex()
100 scoped_ptr<history::InMemoryURLIndex> index_;
Din_memory_url_index_cache.proto5 // InMemoryURLIndex caching protocol buffers.
8 // InMemoryURLIndex are written to a disk-based cache using the
Din_memory_history_backend.cc48 index_.reset(new InMemoryURLIndex(history_dir)); in Init()
Dhistory.h55 class InMemoryURLIndex; variable
160 history::InMemoryURLIndex* InMemoryIndex();
Dhistory.cc227 history::InMemoryURLIndex* HistoryService::InMemoryIndex() { in InMemoryIndex()
/external/chromium/chrome/browser/autocomplete/
Dhistory_quick_provider.cc31 using history::InMemoryURLIndex;
93 history::InMemoryURLIndex::String16Vector terms( in DoAutocomplete()
94 InMemoryURLIndex::WordVectorFromString16(term_string, false)); in DoAutocomplete()
163 InMemoryURLIndex::OffsetsFromTermMatches(history_match.url_matches); in QuickMatchToACMatch()
168 InMemoryURLIndex::ReplaceOffsetsInTermMatches(history_match.url_matches, in QuickMatchToACMatch()
180 history::InMemoryURLIndex* HistoryQuickProvider::GetIndex() { in GetIndex()
193 history::InMemoryURLIndex* index) { in SetIndexForTesting()
Dhistory_quick_provider.h63 history::InMemoryURLIndex* GetIndex();
72 void SetIndexForTesting(history::InMemoryURLIndex* index);
77 scoped_ptr<history::InMemoryURLIndex> index_for_testing_;
Dhistory_quick_provider_unittest.cc150 history::InMemoryURLIndex* index = in FillData()
151 new history::InMemoryURLIndex(FilePath(FILE_PATH_LITERAL("/dummy"))); in FillData()