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

Unified Diff: chrome/browser/sync/glue/bookmark_change_processor.h

Issue 5149001: Merge 65840 - Provide sync integration tests with a way to set a favicon for ... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552d/src/
Patch Set: Created 10 years, 1 month 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 | chrome/browser/sync/glue/bookmark_change_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/bookmark_change_processor.h
===================================================================
--- chrome/browser/sync/glue/bookmark_change_processor.h (revision 66375)
+++ chrome/browser/sync/glue/bookmark_change_processor.h (working copy)
@@ -77,6 +77,14 @@
const BookmarkNode* bookmark_node,
Profile* profile);
+ // Applies the favicon data in |icon_bytes_vector| to |bookmark_node|.
+ // |profile| is the profile that contains the HistoryService and BookmarkModel
+ // for the bookmark in question.
+ static void ApplyBookmarkFavicon(
+ const BookmarkNode* bookmark_node,
+ Profile* profile,
+ const std::vector<unsigned char>& icon_bytes_vector);
+
// Sets the favicon of the given sync node from the given bookmark node.
static void SetSyncNodeFavicon(const BookmarkNode* bookmark_node,
BookmarkModel* model,
« no previous file with comments | « no previous file | chrome/browser/sync/glue/bookmark_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698