Searched refs:InMemoryURLIndex (Results 1 – 11 of 11) sorted by relevance
120 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 …]
50 const size_t InMemoryURLIndex::kNoCachedResultForTerm = -1;75 struct InMemoryURLIndex::TermCharWordSet {137 InMemoryURLIndex::InMemoryURLIndex(const FilePath& history_dir) in InMemoryURLIndex() function in history::InMemoryURLIndex143 InMemoryURLIndex::InMemoryURLIndex() in InMemoryURLIndex() function in history::InMemoryURLIndex147 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 …]
96 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);
33 class InMemoryURLIndex; variable74 history::InMemoryURLIndex* InMemoryIndex() const { return index_.get(); } in InMemoryIndex()100 scoped_ptr<history::InMemoryURLIndex> index_;
5 // InMemoryURLIndex caching protocol buffers.8 // InMemoryURLIndex are written to a disk-based cache using the
48 index_.reset(new InMemoryURLIndex(history_dir)); in Init()
55 class InMemoryURLIndex; variable160 history::InMemoryURLIndex* InMemoryIndex();
227 history::InMemoryURLIndex* HistoryService::InMemoryIndex() { in InMemoryIndex()
31 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()
63 history::InMemoryURLIndex* GetIndex();72 void SetIndexForTesting(history::InMemoryURLIndex* index);77 scoped_ptr<history::InMemoryURLIndex> index_for_testing_;
150 history::InMemoryURLIndex* index = in FillData()151 new history::InMemoryURLIndex(FilePath(FILE_PATH_LITERAL("/dummy"))); in FillData()