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

Unified Diff: components/enhanced_bookmarks/enhanced_bookmark_model.h

Issue 891873002: Add method for removing bookmark image data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 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 | « no previous file | components/enhanced_bookmarks/enhanced_bookmark_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/enhanced_bookmarks/enhanced_bookmark_model.h
diff --git a/components/enhanced_bookmarks/enhanced_bookmark_model.h b/components/enhanced_bookmarks/enhanced_bookmark_model.h
index 7eab2665b1c881959bf1ddbd3000f563493882ee..166023743cebda3021a06f2f9389a0970b471993 100644
--- a/components/enhanced_bookmarks/enhanced_bookmark_model.h
+++ b/components/enhanced_bookmarks/enhanced_bookmark_model.h
@@ -86,6 +86,10 @@ class EnhancedBookmarkModel : public KeyedService,
int width,
int height);
+ // Removes all image data for the node and sets the user_removed_image flag
+ // so the server won't try to fetch a new image for the node.
+ void RemoveImageData(const BookmarkNode* node);
+
// Returns the url and dimensions of the original scraped image of a
// bookmark |node|.
// Returns true if the out variables are populated, false otherwise.
« no previous file with comments | « no previous file | components/enhanced_bookmarks/enhanced_bookmark_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698