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

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

Issue 2856873002: [Thumbnails DB] Allow setting last_requested time when accessing favicons. (Closed)
Patch Set: Splitting off clearing Created 3 years, 7 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
Index: components/favicon/core/large_icon_service.cc
diff --git a/components/favicon/core/large_icon_service.cc b/components/favicon/core/large_icon_service.cc
index 387f5a714ac5fd70fa3459c25609609ee6ccd1f5..55d6083990de747dff1bbc13f05ade9252dad41c 100644
--- a/components/favicon/core/large_icon_service.cc
+++ b/components/favicon/core/large_icon_service.cc
@@ -294,9 +294,9 @@ void OnFetchIconFromGoogleServerComplete(
// something else could've been written). By marking the icons initially
// expired (out-of-date), they will be refetched when we visit the original
// page any time in the future.
- favicon_service->SetLastResortFavicons(page_url, GURL(original_icon_url),
- favicon_base::IconType::TOUCH_ICON,
- image, callback);
+ favicon_service->SetOnDemandFavicons(page_url, GURL(original_icon_url),
+ favicon_base::IconType::TOUCH_ICON,
+ image, callback);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698