summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history.h
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-02 13:19:12 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-02 13:19:12 +0000
commit4232c968cd67dcf8e1bf2a4f8e46850e40157d5d (patch)
tree5dba1d21d369f3f0c38566735927618a609f1372 /chrome/browser/history/history.h
parent1d7cd66f3fb753a2ac1b3d00dab13fff28146ccd (diff)
downloadchromium_src-4232c968cd67dcf8e1bf2a4f8e46850e40157d5d.zip
chromium_src-4232c968cd67dcf8e1bf2a4f8e46850e40157d5d.tar.gz
chromium_src-4232c968cd67dcf8e1bf2a4f8e46850e40157d5d.tar.bz2
Change TopSites and History to use gfx::Image instead of SkBitmap in their
public APIs. Move JPEG encoding into image utils. BUG=none TEST=unit tests all pass Review URL: http://codereview.chromium.org/7461118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history.h')
-rw-r--r--chrome/browser/history/history.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index 06008de..fe835b1 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -50,6 +50,10 @@ class HistoryModelWorker;
class TypedUrlDataTypeController;
}
+namespace gfx {
+class Image;
+}
+
namespace history {
class InMemoryHistoryBackend;
class InMemoryURLIndex;
@@ -377,12 +381,6 @@ class HistoryService : public CancelableRequestProvider,
typedef Callback2<Handle, scoped_refptr<RefCountedBytes> >::Type
ThumbnailDataCallback;
- // Sets the thumbnail for a given URL. The URL must be in the history
- // database or the request will be ignored.
- void SetPageThumbnail(const GURL& url,
- const SkBitmap& thumbnail,
- const ThumbnailScore& score);
-
// Requests a page thumbnail. See ThumbnailDataCallback definition above.
Handle GetPageThumbnail(const GURL& page_url,
CancelableRequestConsumerBase* consumer,