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

Unified Diff: chrome/browser/thumbnails/thumbnail_service.h

Issue 59903010: Ensure using chrome://thumb2/... adds the URL as a forced URL in TopSites so that a thumbnail is ca… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Take 2. Created 7 years, 1 month 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: chrome/browser/thumbnails/thumbnail_service.h
diff --git a/chrome/browser/thumbnails/thumbnail_service.h b/chrome/browser/thumbnails/thumbnail_service.h
index ac21881774ae7a337a125beefea6c6539ba98b81..207ae57d9b0b60dc1eb83f07af60182112272b98 100644
--- a/chrome/browser/thumbnails/thumbnail_service.h
+++ b/chrome/browser/thumbnails/thumbnail_service.h
@@ -50,6 +50,10 @@ class ThumbnailService : public RefcountedBrowserContextKeyedService {
bool prefix_match,
scoped_refptr<base::RefCountedMemory>* bytes) = 0;
+ // Add or updates a |url| for which we should force the capture of a thumbnail
+ // next time it's visited.
+ virtual void AddForcedURL(const GURL& url) = 0;
+
// Returns true if the page thumbnail should be updated.
virtual bool ShouldAcquirePageThumbnail(const GURL& url) = 0;
« no previous file with comments | « chrome/browser/history/top_sites_impl_unittest.cc ('k') | chrome/browser/thumbnails/thumbnail_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698