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

Unified Diff: chrome/browser/bookmarks/bookmark_html_writer.cc

Issue 6651014: Applied the IconType. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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
Index: chrome/browser/bookmarks/bookmark_html_writer.cc
diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/bookmarks/bookmark_html_writer.cc
index 7b7cd4777ac164dfdcadf900fd1e746e007b07da..15caf57f02bca3e27b172c8cf0a404c408a0da66 100644
--- a/chrome/browser/bookmarks/bookmark_html_writer.cc
+++ b/chrome/browser/bookmarks/bookmark_html_writer.cc
@@ -439,7 +439,10 @@ bool BookmarkFaviconFetcher::FetchNextFavicon() {
if (favicons_map_->end() == iter) {
FaviconService* favicon_service =
profile_->GetFaviconService(Profile::EXPLICIT_ACCESS);
- favicon_service->GetFaviconForURL(GURL(url), &fav_icon_consumer_,
+ favicon_service->GetFaviconForURL(
+ GURL(url),
sky 2011/03/09 21:41:08 Generally folks put as many args on a line as will
michaelbai 2011/03/09 23:11:45 Done.
+ history::FAV_ICON,
+ &fav_icon_consumer_,
NewCallback(this, &BookmarkFaviconFetcher::OnFavIconDataAvailable));
return true;
} else {
@@ -454,7 +457,8 @@ void BookmarkFaviconFetcher::OnFavIconDataAvailable(
bool know_favicon,
scoped_refptr<RefCountedMemory> data,
bool expired,
- GURL icon_url) {
+ GURL icon_url,
+ history::IconType) {
sky 2011/03/09 21:41:08 From the style guide: 'All parameters should be na
michaelbai 2011/03/09 23:11:45 Done.
GURL url;
if (!bookmark_urls_.empty()) {
url = GURL(bookmark_urls_.front());

Powered by Google App Engine
This is Rietveld 408576698