diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 21:15:44 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 21:15:44 +0000 |
commit | abc2f2619b553610e45f7eaa4ff89582ed185999 (patch) | |
tree | cd2aefafaa9d8611c006ce336dd8ad7da46e476d /chrome/browser/jumplist_win.cc | |
parent | d3108145d5ebe48927b21bb77b6e7454d52d415f (diff) | |
download | chromium_src-abc2f2619b553610e45f7eaa4ff89582ed185999.zip chromium_src-abc2f2619b553610e45f7eaa4ff89582ed185999.tar.gz chromium_src-abc2f2619b553610e45f7eaa4ff89582ed185999.tar.bz2 |
fav icon -> favicon. Pass 10: bookmarks
BUG=76073
TEST=none; no visible change
Review URL: http://codereview.chromium.org/6693027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jumplist_win.cc')
-rw-r--r-- | chrome/browser/jumplist_win.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/jumplist_win.cc b/chrome/browser/jumplist_win.cc index e73f134..1680120 100644 --- a/chrome/browser/jumplist_win.cc +++ b/chrome/browser/jumplist_win.cc @@ -683,13 +683,13 @@ bool JumpList::StartLoadingFavIcon() { return false; // Ask FaviconService if it has a favicon of a URL. - // When FaviconService has one, it will call OnFavIconDataAvailable(). + // When FaviconService has one, it will call OnFaviconDataAvailable(). GURL url(icon_urls_.front().first); FaviconService* favicon_service = profile_->GetFaviconService(Profile::EXPLICIT_ACCESS); FaviconService::Handle handle = favicon_service->GetFaviconForURL( url, &favicon_consumer_, - NewCallback(this, &JumpList::OnFavIconDataAvailable)); + NewCallback(this, &JumpList::OnFaviconDataAvailable)); return true; } @@ -707,7 +707,7 @@ void JumpList::OnSegmentUsageAvailable( // The title of a PageUsageData object. If this string is empty, we use // the URL as our "Most Visited" page does. // * icon - // An empty string. This value is to be updated in OnFavIconDataAvailable(). + // An empty string. This value is to be updated in OnFaviconDataAvailable(). most_visited_pages_.clear(); for (std::vector<PageUsageData*>::const_iterator page = data->begin(); page != data->end(); ++page) { @@ -728,7 +728,7 @@ void JumpList::OnSegmentUsageAvailable( // * title // The title of the last URL. // * icon - // An empty string. This value is to be updated in OnFavIconDataAvailable(). + // An empty string. This value is to be updated in OnFaviconDataAvailable(). // This code is copied from // RecentlyClosedTabsHandler::TabRestoreServiceChanged() to emulate it. const int kRecentlyClosedCount = 4; @@ -751,7 +751,7 @@ void JumpList::OnSegmentUsageAvailable( StartLoadingFavIcon(); } -void JumpList::OnFavIconDataAvailable( +void JumpList::OnFaviconDataAvailable( FaviconService::Handle handle, bool know_favicon, scoped_refptr<RefCountedMemory> data, |