Home | History | Annotate | Download | only in history

Lines Matching refs:HistoryBackend

58 /* The HistoryBackend consists of two components:
145 explicit CommitLaterTask(HistoryBackend* history_backend)
165 scoped_refptr<HistoryBackend> history_backend_;
191 bool QueuedHistoryDBTask::Run(HistoryBackend* backend,
205 // HistoryBackend --------------------------------------------------------------
207 HistoryBackend::HistoryBackend(const base::FilePath& history_dir,
220 HistoryBackend::~HistoryBackend() {
245 void HistoryBackend::Init(const std::string& languages, bool force_fail) {
251 base::Bind(&HistoryBackend::OnMemoryPressure, base::Unretained(this))));
257 void HistoryBackend::SetOnBackendDestroyTask(base::MessageLoop* message_loop,
265 void HistoryBackend::Closing() {
275 void HistoryBackend::ClearCachedDataForContextID(ContextID context_id) {
279 base::FilePath HistoryBackend::GetThumbnailFileName() const {
283 base::FilePath HistoryBackend::GetFaviconsFileName() const {
287 base::FilePath HistoryBackend::GetArchivedFileName() const {
292 base::FilePath HistoryBackend::GetAndroidCacheFileName() const {
297 SegmentID HistoryBackend::GetLastSegmentID(VisitID from_visit) {
321 SegmentID HistoryBackend::UpdateSegments(
397 void HistoryBackend::UpdateWithPageEndTime(ContextID context_id,
406 void HistoryBackend::UpdateVisitDuration(VisitID visit_id, const Time end_ts) {
420 void HistoryBackend::AddPage(const HistoryAddPageArgs& request) {
596 void HistoryBackend::InitImpl(const std::string& languages) {
597 DCHECK(!db_) << "Initializing HistoryBackend twice";
618 base::Bind(&HistoryBackend::DatabaseErrorCallback,
709 void HistoryBackend::OnMemoryPressure(
719 void HistoryBackend::CloseAllDatabases() {
733 std::pair<URLID, VisitID> HistoryBackend::AddPageVisit(
826 void HistoryBackend::AddPagesWithDetails(const URLRows& urls,
886 bool HistoryBackend::IsExpiredVisitTime(const base::Time& time) {
890 void HistoryBackend::SetPageTitle(const GURL& url,
936 void HistoryBackend::AddPageNoVisitForBookmark(const GURL& url,
961 void HistoryBackend::IterateURLs(
978 bool HistoryBackend::GetAllTypedURLs(URLRows* urls) {
984 bool HistoryBackend::GetVisitsForURL(URLID id, VisitVector* visits) {
990 bool HistoryBackend::GetMostRecentVisitsForURL(URLID id,
998 size_t HistoryBackend::UpdateURLs(const history::URLRows& urls) {
1023 bool HistoryBackend::AddVisits(const GURL& url,
1040 bool HistoryBackend::RemoveVisits(const VisitVector& visits) {
1049 bool HistoryBackend::GetVisitsSource(const VisitVector& visits,
1058 bool HistoryBackend::GetURL(const GURL& url, history::URLRow* url_row) {
1064 void HistoryBackend::QueryURL(const GURL& url,
1074 TypedUrlSyncableService* HistoryBackend::GetTypedUrlSyncableService() const {
1080 void HistoryBackend::SetKeywordSearchTermsForURL(const GURL& url,
1103 void HistoryBackend::DeleteAllSearchTermsForKeyword(KeywordID keyword_id) {
1111 void HistoryBackend::DeleteKeywordSearchTermForURL(const GURL& url) {
1126 void HistoryBackend::DeleteMatchingURLsForKeyword(KeywordID keyword_id,
1146 uint32 HistoryBackend::GetNextDownloadId() {
1151 void HistoryBackend::QueryDownloads(std::vector<DownloadRow>* rows) {
1157 void HistoryBackend::UpdateDownload(const history::DownloadRow& data) {
1164 bool HistoryBackend::CreateDownload(const history::DownloadRow& history_info) {
1172 void HistoryBackend::RemoveDownloads(const std::set<uint32>& ids) {
1177 // HistoryBackend uses a long-running Transaction that is committed
1206 void HistoryBackend::QueryHistory(const base::string16& text_query,
1225 void HistoryBackend::QueryHistoryBasic(const QueryOptions& options,
1268 void HistoryBackend::QueryHistoryText(const base::string16& text_query,
1302 void HistoryBackend::QueryRedirectsFrom(const GURL& from_url,
1316 void HistoryBackend::QueryRedirectsTo(const GURL& to_url,
1330 void HistoryBackend::GetVisibleVisitCountToHost(
1339 void HistoryBackend::QueryMostVisitedURLs(int result_count,
1360 void HistoryBackend::QueryFilteredURLs(int result_count,
1437 void HistoryBackend::GetRedirectsFromSpecificVisit(
1455 void HistoryBackend::GetRedirectsToSpecificVisit(
1477 void HistoryBackend::ScheduleAutocomplete(const base::Callback<
1478 void(history::HistoryBackend*, history::URLDatabase*)>& callback) {
1482 void HistoryBackend::DeleteFTSIndexDatabases() {
1499 void HistoryBackend::GetFavicons(
1508 void HistoryBackend::GetLargestFaviconForURL(
1603 void HistoryBackend::GetFaviconsForURL(
1612 void HistoryBackend::GetFaviconForID(
1627 void HistoryBackend::UpdateFaviconMappingsAndFetch(
1637 void HistoryBackend::MergeFavicon(
1778 void HistoryBackend::SetFavicons(const GURL& page_url,
1813 void HistoryBackend::SetFaviconsOutOfDateForPage(const GURL& page_url) {
1828 void HistoryBackend::CloneFavicons(const GURL& old_page_url,
1841 void HistoryBackend::SetImportedFavicons(
1905 void HistoryBackend::UpdateFaviconMappingsAndFetchImpl(
1964 bool HistoryBackend::SetFaviconBitmaps(favicon_base::FaviconID icon_id,
2024 bool HistoryBackend::IsFaviconBitmapDataEqual(
2038 bool HistoryBackend::GetFaviconsFromDB(
2068 bool HistoryBackend::GetFaviconBitmapResultsForBestMatch(
2141 bool HistoryBackend::SetFaviconMappingsForPageAndRedirects(
2163 bool HistoryBackend::SetFaviconMappingsForPage(
2220 void HistoryBackend::GetCachedRecentRedirects(
2236 void HistoryBackend::SendFaviconChangedNotificationForPageAndRedirects(
2246 void HistoryBackend::Commit() {
2270 void HistoryBackend::ScheduleCommit() {
2280 void HistoryBackend::CancelScheduledCommit() {
2287 void HistoryBackend::ProcessDBTaskImpl() {
2319 FROM_HERE, base::Bind(&HistoryBackend::ProcessDBTaskImpl, this));
2329 void HistoryBackend::DeleteURLs(const std::vector<GURL>& urls) {
2338 void HistoryBackend::DeleteURL(const GURL& url) {
2347 void HistoryBackend::ExpireHistoryBetween(
2372 void HistoryBackend::ExpireHistoryForTimes(
2427 void HistoryBackend::ExpireHistory(
2447 void HistoryBackend::URLsNoLongerBookmarked(const std::set<GURL>& urls) {
2464 void HistoryBackend::DatabaseErrorCallback(int error, sql::Statement* stmt) {
2473 base::Bind(&HistoryBackend::KillHistoryDatabase, this));
2477 void HistoryBackend::KillHistoryDatabase() {
2502 void HistoryBackend::ProcessDBTask(
2513 void HistoryBackend::BroadcastNotifications(
2517 // HistoryService -> HistoryBackend::Closing().
2522 void HistoryBackend::NotifySyncURLsModified(URLRows* rows) {
2527 void HistoryBackend::NotifySyncURLsDeleted(bool all_history,
2536 void HistoryBackend::DeleteAllHistory() {
2594 bool HistoryBackend::ClearAllThumbnailHistory(const URLRows& kept_urls) {
2628 // avaliable in HistoryBackend.
2642 bool HistoryBackend::ClearAllMainHistory(const URLRows& kept_urls) {
2671 HistoryClient* HistoryBackend::GetHistoryClient() {
2677 void HistoryBackend::NotifyVisitObservers(const VisitRow& visit) {
2689 void HistoryBackend::PopulateMostVisitedURLMap() {
2702 void HistoryBackend::RecordTopPageVisitStats(const GURL& url) {