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

Unified Diff: chrome/browser/history/thumbnail_database.h

Issue 11830007: Avoid sending notifications when the bitmap data in history has not changed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split the changes to MergeFavicon() and SetFavicons() into two CLs as only the changes to MergeFavi… 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/history/history_backend_unittest.cc ('k') | chrome/browser/history/thumbnail_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/thumbnail_database.h
diff --git a/chrome/browser/history/thumbnail_database.h b/chrome/browser/history/thumbnail_database.h
index dffdc90aad7cd789e842da40283a04e086c689cf..9ee17c798b8ee4a0ede98ddb7fc8205a11eb1ff5 100644
--- a/chrome/browser/history/thumbnail_database.h
+++ b/chrome/browser/history/thumbnail_database.h
@@ -142,6 +142,11 @@ class ThumbnailDatabase {
scoped_refptr<base::RefCountedMemory> bitmap_data,
base::Time time);
+ // Sets the last updated time for the favicon bitmap at |bitmap_id|.
+ // Returns true if successful.
+ bool SetFaviconBitmapLastUpdateTime(FaviconBitmapID bitmap_id,
+ base::Time time);
+
// Deletes the favicon bitmaps for the favicon with with |icon_id|.
// Returns true if successful.
bool DeleteFaviconBitmapsForFavicon(FaviconID icon_id);
« no previous file with comments | « chrome/browser/history/history_backend_unittest.cc ('k') | chrome/browser/history/thumbnail_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698