Home | History | Annotate | Download | only in history

Lines Matching refs:HistoryBackend

7 // represented by HistoryBackend. The HistoryService's job is to dispatch to
12 // HistoryService <----------------> HistoryBackend
65 using history::HistoryBackend;
133 class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
247 &HistoryBackend::ClearCachedDataForContextID, context_id);
299 &HistoryBackend::SetKeywordSearchTermsForURL,
311 &HistoryBackend::DeleteAllSearchTermsForKeyword,
318 ScheduleAndForget(PRIORITY_UI, &HistoryBackend::DeleteKeywordSearchTermForURL,
326 ScheduleAndForget(PRIORITY_UI, &HistoryBackend::DeleteMatchingURLsForKeyword,
333 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::URLsNoLongerBookmarked,
348 base::Bind(&HistoryBackend::ProcessDBTask,
363 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetOnBackendDestroyTask,
421 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::AddPage, add_page_args);
432 &HistoryBackend::AddPageNoVisitForBookmark, url, title);
439 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetPageTitle, url, title);
448 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::UpdateWithPageEndTime,
480 &HistoryBackend::AddPagesWithDetails, rows, visit_source);
499 &HistoryBackend::AddPagesWithDetails, info, visit_source);
515 base::Bind(&HistoryBackend::GetFavicons,
537 base::Bind(&HistoryBackend::GetFaviconsForURL,
559 base::Bind(&HistoryBackend::GetLargestFaviconForURL,
580 base::Bind(&HistoryBackend::GetFaviconForID,
603 base::Bind(&HistoryBackend::UpdateFaviconMappingsAndFetch,
624 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::MergeFavicon, page_url,
638 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetFavicons, page_url,
646 &HistoryBackend::SetFaviconsOutOfDateForPage, page_url);
653 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::CloneFavicons,
662 &HistoryBackend::SetImportedFavicons, favicon_usage);
676 base::Bind(&HistoryBackend::QueryURL,
698 &HistoryBackend::CreateDownload, history_backend_.get(), create_info),
709 base::Bind(&HistoryBackend::GetNextDownloadId, history_backend_.get()),
728 base::Bind(&HistoryBackend::QueryDownloads, history_backend_.get(), rows),
737 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::UpdateDownload, data);
744 &HistoryBackend::RemoveDownloads, ids);
758 base::Bind(&HistoryBackend::QueryHistory,
776 base::Bind(&HistoryBackend::QueryRedirectsFrom,
792 base::Bind(&HistoryBackend::QueryRedirectsTo,
810 base::Bind(&HistoryBackend::GetVisibleVisitCountToHost,
830 base::Bind(&HistoryBackend::QueryMostVisitedURLs,
850 base::Bind(&HistoryBackend::QueryFilteredURLs,
884 // HistoryBackend::Closing will release. This means if we scheduled a call
885 // to HistoryBackend::Closing and *then* released our backend reference,
896 // TODO(ajwong): Cleanup HistoryBackend lifetime issues.
900 base::Bind(&HistoryBackend::Closing, history_backend_.get());
903 HistoryBackend* raw_ptr = history_backend_.get();
956 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::IterateURLs, enumerator);
981 scoped_refptr<HistoryBackend> backend(
982 new HistoryBackend(history_dir_,
996 ScheduleAndForget(PRIORITY_UI, &HistoryBackend::Init, languages, no_db_);
1007 void(history::HistoryBackend*, history::URLDatabase*)>& callback) {
1010 PRIORITY_UI, &HistoryBackend::ScheduleAutocomplete, callback);
1112 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::DeleteURL, url);
1120 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::DeleteURLs, urls);
1133 base::Bind(&HistoryBackend::ExpireHistoryBetween,
1150 base::Bind(&HistoryBackend::ExpireHistory, history_backend_, expire_list),