Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: components/favicon/core/favicon_service_impl.cc

Issue 2856873002: [Thumbnails DB] Allow setting last_requested time when accessing favicons. (Closed)
Patch Set: Peter's comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/favicon/core/favicon_service_impl.h ('k') | components/favicon/core/large_icon_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon/core/favicon_service_impl.cc
diff --git a/components/favicon/core/favicon_service_impl.cc b/components/favicon/core/favicon_service_impl.cc
index 55ac6b22ef378c0506270da29c48d05c979c8dae..4522aad76559bec69ea15be3df5616e297125dc8 100644
--- a/components/favicon/core/favicon_service_impl.cc
+++ b/components/favicon/core/favicon_service_impl.cc
@@ -209,6 +209,10 @@ void FaviconServiceImpl::SetFaviconOutOfDateForPage(const GURL& page_url) {
history_service_->SetFaviconsOutOfDateForPage(page_url);
}
+void FaviconServiceImpl::TouchOnDemandFavicon(const GURL& icon_url) {
+ history_service_->TouchOnDemandFavicon(icon_url);
+}
+
void FaviconServiceImpl::SetImportedFavicons(
const favicon_base::FaviconUsageDataList& favicon_usage) {
history_service_->SetImportedFavicons(favicon_usage);
@@ -232,13 +236,13 @@ void FaviconServiceImpl::SetFavicons(const GURL& page_url,
ExtractSkBitmapsToStore(image));
}
-void FaviconServiceImpl::SetLastResortFavicons(
+void FaviconServiceImpl::SetOnDemandFavicons(
const GURL& page_url,
const GURL& icon_url,
favicon_base::IconType icon_type,
const gfx::Image& image,
base::Callback<void(bool)> callback) {
- history_service_->SetLastResortFavicons(
+ history_service_->SetOnDemandFavicons(
page_url, icon_type, icon_url, ExtractSkBitmapsToStore(image), callback);
}
« no previous file with comments | « components/favicon/core/favicon_service_impl.h ('k') | components/favicon/core/large_icon_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698