| Index: chrome/browser/history/top_sites.h
|
| diff --git a/chrome/browser/history/top_sites.h b/chrome/browser/history/top_sites.h
|
| index 52fcb907c8b1758398b6e34d8e30767388080b6e..b5148469e02e28a2d943f1a79dce4746da6dd033 100644
|
| --- a/chrome/browser/history/top_sites.h
|
| +++ b/chrome/browser/history/top_sites.h
|
| @@ -53,6 +53,13 @@ class TopSites
|
| const gfx::Image& thumbnail,
|
| const ThumbnailScore& score) = 0;
|
|
|
| + // While testing the history system, we want to set the thumbnail to a piece
|
| + // of static memory.
|
| + virtual bool SetPageThumbnailToJPEGBytes(
|
| + const GURL& url,
|
| + const base::RefCountedMemory* memory,
|
| + const ThumbnailScore& score) = 0;
|
| +
|
| typedef base::Callback<void(const MostVisitedURLList&)>
|
| GetMostVisitedURLsCallback;
|
| typedef std::vector<GetMostVisitedURLsCallback> PendingCallbacks;
|
|
|