Index: chrome/browser/history/top_sites.h |
diff --git a/chrome/browser/history/top_sites.h b/chrome/browser/history/top_sites.h |
index 6d57d1216f6fdc0c060c6943f198bf9190e2d921..e1ae8579d5d66360315a0712137fbe65557147f2 100644 |
--- a/chrome/browser/history/top_sites.h |
+++ b/chrome/browser/history/top_sites.h |
@@ -73,10 +73,15 @@ class TopSites |
// Get a thumbnail for a given page. Returns true iff we have the thumbnail. |
// This may be invoked on any thread. |
+ // If an exact thumbnail URL match fails, |prefix_match| specifies whether or |
+ // not to try harder by matching the query thumbnail URL as URL prefix (as |
+ // defined by UrlIsPrefix()). |
// As this method may be invoked on any thread the ref count needs to be |
// incremented before this method returns, so this takes a scoped_refptr*. |
virtual bool GetPageThumbnail( |
- const GURL& url, scoped_refptr<base::RefCountedMemory>* bytes) = 0; |
+ const GURL& url, |
+ bool prefix_match, |
+ scoped_refptr<base::RefCountedMemory>* bytes) = 0; |
// Get a thumbnail score for a given page. Returns true iff we have the |
// thumbnail score. This may be invoked on any thread. The score will |