Lines Matching refs:HistoryBackend
7 // represented by HistoryBackend. The HistoryService's job is to dispatch to
12 // HistoryService <----------------> HistoryBackend
57 using history::HistoryBackend;
69 class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
178 // HistoryBackend::Closing will release. This means if we scheduled a call
179 // to HistoryBackend::Closing and *then* released our backend reference, there
190 NewRunnableMethod(history_backend_.get(), &HistoryBackend::Closing);
214 &HistoryBackend::NotifyRenderProcessHostDestruction, host);
239 &HistoryBackend::SetSegmentPresentationIndex,
247 &HistoryBackend::SetKeywordSearchTermsForURL,
254 &HistoryBackend::DeleteAllSearchTermsForKeyword,
264 return Schedule(PRIORITY_UI, &HistoryBackend::GetMostRecentKeywordSearchTerms,
271 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::URLsNoLongerBookmarked,
281 return Schedule(PRIORITY_UI, &HistoryBackend::ProcessDBTask, consumer,
290 return Schedule(PRIORITY_UI, &HistoryBackend::QuerySegmentUsage,
296 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetOnBackendDestroyTask,
355 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::AddPage,
365 &HistoryBackend::AddPageNoVisitForBookmark, url);
370 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetPageTitle, url, title);
400 &HistoryBackend::AddPagesWithDetails, rows, visit_source);
421 &HistoryBackend::AddPagesWithDetails, info, visit_source);
429 ScheduleAndForget(PRIORITY_LOW, &HistoryBackend::SetPageContents,
439 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetPageThumbnail,
447 return Schedule(PRIORITY_NORMAL, &HistoryBackend::GetPageThumbnail, consumer,
454 Schedule(PRIORITY_NORMAL, &HistoryBackend::GetFavicon, NULL, request,
463 Schedule(PRIORITY_NORMAL, &HistoryBackend::UpdateFaviconMappingAndFetch, NULL,
471 Schedule(PRIORITY_NORMAL, &HistoryBackend::GetFaviconForURL, NULL, request,
482 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetFavicon,
490 &HistoryBackend::SetFaviconOutOfDateForPage, page_url);
496 &HistoryBackend::SetImportedFavicons, favicon_usage);
500 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::IterateURLs, enumerator);
508 return Schedule(PRIORITY_UI, &HistoryBackend::QueryURL, consumer,
520 return Schedule(PRIORITY_NORMAL, &HistoryBackend::CreateDownload, consumer,
529 return Schedule(PRIORITY_NORMAL, &HistoryBackend::QueryDownloads, consumer,
537 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::CleanUpInProgressEntries);
545 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::UpdateDownload,
551 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::UpdateDownloadPath,
557 &HistoryBackend::RemoveDownload, db_handle);
563 &HistoryBackend::RemoveDownloadsBetween,
573 return Schedule(PRIORITY_UI, &HistoryBackend::QueryHistory, consumer,
582 return Schedule(PRIORITY_UI, &HistoryBackend::QueryRedirectsFrom, consumer,
590 return Schedule(PRIORITY_NORMAL, &HistoryBackend::QueryRedirectsTo, consumer,
598 return Schedule(PRIORITY_UI, &HistoryBackend::GetVisitCountToHost, consumer,
606 return Schedule(PRIORITY_NORMAL, &HistoryBackend::QueryTopURLsAndRedirects,
616 return Schedule(PRIORITY_NORMAL, &HistoryBackend::QueryMostVisitedURLs,
680 ScheduleAndForget(PRIORITY_UI, &HistoryBackend::ScheduleAutocomplete,
733 ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::DeleteURL, url);
743 Schedule(PRIORITY_UI, &HistoryBackend::ExpireHistoryBetween, consumer,
779 scoped_refptr<HistoryBackend> backend(
780 new HistoryBackend(history_dir_,
791 ScheduleAndForget(PRIORITY_UI, &HistoryBackend::Init, languages, no_db_);
819 &HistoryBackend::MigrateThumbnailsDatabase);