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

Unified Diff: android_webview/browser/icon_helper.cc

Issue 2918903002: Move IconURLs method from WebFrame to WebLocalFrame (Closed)
Patch Set: Fixing compile problems in chrome/browser/extensions/favicon_downloader_unittest.cc Created 3 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 | « no previous file | chrome/browser/extensions/favicon_downloader.cc » ('j') | content/public/common/favicon_url.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/icon_helper.cc
diff --git a/android_webview/browser/icon_helper.cc b/android_webview/browser/icon_helper.cc
index c2b3162cad86cbcf5b8ea6a95cf46fc20c028cc3..d5c7f95b7914b3dc15fac86d91393abd02c55716 100644
--- a/android_webview/browser/icon_helper.cc
+++ b/android_webview/browser/icon_helper.cc
@@ -66,7 +66,7 @@ void IconHelper::DidUpdateFaviconURL(
continue;
switch(i->icon_type) {
- case content::FaviconURL::FAVICON:
+ case content::FaviconURL::IconType::kFavIcon:
if ((listener_ && !listener_->ShouldDownloadFavicon(i->icon_url)) ||
WasUnableToDownloadFavicon(i->icon_url)) {
break;
@@ -78,15 +78,15 @@ void IconHelper::DidUpdateFaviconURL(
base::Bind(
&IconHelper::DownloadFaviconCallback, base::Unretained(this)));
break;
- case content::FaviconURL::TOUCH_ICON:
+ case content::FaviconURL::IconType::kTouchIcon:
if (listener_)
listener_->OnReceivedTouchIconUrl(i->icon_url.spec(), false);
break;
- case content::FaviconURL::TOUCH_PRECOMPOSED_ICON:
+ case content::FaviconURL::IconType::kTouchPrecomposedIcon:
if (listener_)
listener_->OnReceivedTouchIconUrl(i->icon_url.spec(), true);
break;
- case content::FaviconURL::INVALID_ICON:
+ case content::FaviconURL::IconType::kInvalid:
// Silently ignore it. Only trigger a callback on valid icons.
break;
default:
« no previous file with comments | « no previous file | chrome/browser/extensions/favicon_downloader.cc » ('j') | content/public/common/favicon_url.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698