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

Unified Diff: chrome/browser/android/shortcut_helper.cc

Issue 330603004: Rename FaviconBitmapXxx to FaviconRawBitmapXxx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 6 years, 6 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/android/shortcut_helper.h ('k') | chrome/browser/bookmarks/bookmark_html_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/shortcut_helper.cc
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
index 7a010b17ef6c4d76b430c1e2d926ef762eff0883..b236728872ac2e5d273b7d78b073666d14c9dcfa 100644
--- a/chrome/browser/android/shortcut_helper.cc
+++ b/chrome/browser/android/shortcut_helper.cc
@@ -84,7 +84,7 @@ void ShortcutBuilder::OnDidRetrieveWebappInformation(
// Using favicon if its size is not smaller than platform required size,
// otherwise using the largest icon among all avaliable icons.
int threshold_to_get_any_largest_icon = launcher_large_icon_size_ - 1;
- favicon_service->GetLargestRawFaviconForURL(profile, url_, icon_types,
+ favicon_service->GetLargestRawFaviconForPageURL(profile, url_, icon_types,
threshold_to_get_any_largest_icon,
base::Bind(&ShortcutBuilder::FinishAddingShortcut,
base::Unretained(this)),
@@ -92,7 +92,7 @@ void ShortcutBuilder::OnDidRetrieveWebappInformation(
}
void ShortcutBuilder::FinishAddingShortcut(
- const favicon_base::FaviconBitmapResult& bitmap_result) {
+ const favicon_base::FaviconRawBitmapResult& bitmap_result) {
base::WorkerPool::PostTask(
FROM_HERE,
base::Bind(&ShortcutHelper::AddShortcutInBackground,
@@ -140,7 +140,7 @@ void ShortcutHelper::AddShortcutInBackground(
const GURL& url,
const base::string16& title,
ShortcutBuilder::ShortcutType shortcut_type,
- const favicon_base::FaviconBitmapResult& bitmap_result) {
+ const favicon_base::FaviconRawBitmapResult& bitmap_result) {
DCHECK(base::WorkerPool::RunsTasksOnCurrentThread());
// Grab the average color from the bitmap.
« no previous file with comments | « chrome/browser/android/shortcut_helper.h ('k') | chrome/browser/bookmarks/bookmark_html_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698