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

Unified Diff: chrome/browser/favicon/favicon_util.cc

Issue 11411180: move favicon download code from chrome/ into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/browser/favicon/favicon_util.cc
diff --git a/chrome/browser/favicon/favicon_util.cc b/chrome/browser/favicon/favicon_util.cc
index 82eb87660ab46d5b73bf3ca6650484d8d3c8ae4c..02c732664f489e90b026d1cfd37b923d1e479c3c 100644
--- a/chrome/browser/favicon/favicon_util.cc
+++ b/chrome/browser/favicon/favicon_util.cc
@@ -6,7 +6,6 @@
#include "chrome/browser/history/history_types.h"
#include "chrome/browser/history/select_favicon_frames.h"
-#include "chrome/common/icon_messages.h"
#include "content/public/browser/render_view_host.h"
#include "googleurl/src/gurl.h"
#include "ui/gfx/codec/png_codec.h"
@@ -37,15 +36,6 @@ std::vector<ui::ScaleFactor> FaviconUtil::GetFaviconScaleFactors() {
}
// static
-int FaviconUtil::DownloadFavicon(content::RenderViewHost* rvh,
- const GURL& url,
- int image_size) {
- static int id = 0;
- rvh->Send(new IconMsg_DownloadFavicon(rvh->GetRoutingID(), ++id, url,
- image_size));
- return id;
-}
-// static
gfx::Image FaviconUtil::SelectFaviconFramesFromPNGs(
const std::vector<history::FaviconBitmapResult>& png_data,
const std::vector<ui::ScaleFactor> scale_factors,

Powered by Google App Engine
This is Rietveld 408576698