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

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

Issue 11985003: Refactored-out the code of thumbnaling algorithm from thumbnail_tab_helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another round of updates from OWNER's review. Created 7 years, 11 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 | « chrome/browser/thumbnails/thumbnail_service.h ('k') | chrome/browser/thumbnails/thumbnail_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/thumbnails/thumbnail_service_impl.h
diff --git a/chrome/browser/thumbnails/thumbnail_service_impl.h b/chrome/browser/thumbnails/thumbnail_service_impl.h
index 13574bc655b5054a3edd6b103ef49922d031e0ea..0205aac60cf3685fb4a65bad9e0c4108d3fbbf1d 100644
--- a/chrome/browser/thumbnails/thumbnail_service_impl.h
+++ b/chrome/browser/thumbnails/thumbnail_service_impl.h
@@ -23,9 +23,9 @@ class ThumbnailServiceImpl : public ThumbnailService {
explicit ThumbnailServiceImpl(Profile* profile);
// Implementation of ThumbnailService.
- virtual bool SetPageThumbnail(const GURL& url,
- const gfx::Image& thumbnail,
- const ThumbnailScore& score) OVERRIDE;
+ virtual bool SetPageThumbnail(const ThumbnailingContext& context,
+ const gfx::Image& thumbnail) OVERRIDE;
+ virtual ThumbnailingAlgorithm* GetThumbnailingAlgorithm() const OVERRIDE;
virtual bool GetPageThumbnail(
const GURL& url,
scoped_refptr<base::RefCountedMemory>* bytes) OVERRIDE;
« no previous file with comments | « chrome/browser/thumbnails/thumbnail_service.h ('k') | chrome/browser/thumbnails/thumbnail_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698