history_querying_unittest.cc | 79 history_->QueryHistory(UTF8ToUTF16(text_query), options, &consumer_, 86 scoped_refptr<HistoryService> history_; member in class:history::HistoryQueryTest 94 history_ = new HistoryService; 95 if (!history_->Init(history_dir_, NULL)) { 96 history_ = NULL; // Tests should notice this NULL ptr & fail. 111 history_->AddPage(url, test_entries[i].time, id_scope, page_id, GURL(), 114 history_->SetPageTitle(url, UTF8ToUTF16(test_entries[i].title)); 115 history_->SetPageContents(url, UTF8ToUTF16(test_entries[i].body)); 120 if (history_.get()) { 121 history_->SetOnBackendDestroyTask(new MessageLoop::QuitTask) [all...] |