summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prerender/prerender_render_view_host_observer.cc
diff options
context:
space:
mode:
authorcaitkp@chromium.org <caitkp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 06:13:39 +0000
committercaitkp@chromium.org <caitkp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 06:13:39 +0000
commit795c28976bcbb5ffabe40ab53f5265a2e1540b3a (patch)
tree42ff43bee81859b7d6c8c0c68588f12f3901d5ba /chrome/browser/prerender/prerender_render_view_host_observer.cc
parent3be2171df16267e9fa5644f1e7ea09edd45e13ca (diff)
downloadchromium_src-795c28976bcbb5ffabe40ab53f5265a2e1540b3a.zip
chromium_src-795c28976bcbb5ffabe40ab53f5265a2e1540b3a.tar.gz
chromium_src-795c28976bcbb5ffabe40ab53f5265a2e1540b3a.tar.bz2
move favicon download code from chrome/ into content/
-chrome/renderer/favicon_helper.(h|cc) ->content/renderer/... -chrome/common/icon_messages.h -> content/common/icon_messages.h -favicon_download_helper.(h|cc) API incorporated into web_contents -chrome/browser/favicon/favicon_download_helper_delegate.h -> content/public/browser/favicon_download_delegate.h Depends on: https://codereview.chromium.org/11416179/ https://codereview.chromium.org/11421051/ BUG=160995 Review URL: https://chromiumcodereview.appspot.com/11411180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171411 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prerender/prerender_render_view_host_observer.cc')
-rw-r--r--chrome/browser/prerender/prerender_render_view_host_observer.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/prerender/prerender_render_view_host_observer.cc b/chrome/browser/prerender/prerender_render_view_host_observer.cc
index fdc6342..7317b61 100644
--- a/chrome/browser/prerender/prerender_render_view_host_observer.cc
+++ b/chrome/browser/prerender/prerender_render_view_host_observer.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/prerender/prerender_render_view_host_observer.h"
#include "chrome/browser/prerender/prerender_contents.h"
-#include "chrome/common/icon_messages.h"
#include "chrome/common/render_messages.h"
using content::RenderViewHost;
@@ -34,7 +33,6 @@ bool PrerenderRenderViewHostObserver::OnMessageReceived(
bool handled = true;
// The following messages we do want to consume.
IPC_BEGIN_MESSAGE_MAP(PrerenderRenderViewHostObserver, message)
- IPC_MESSAGE_HANDLER(IconHostMsg_UpdateFaviconURL, OnUpdateFaviconURL)
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_MaybeCancelPrerenderForHTML5Media,
OnMaybeCancelPrerenderForHTML5Media)
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_CancelPrerenderForPrinting,
@@ -55,12 +53,6 @@ bool PrerenderRenderViewHostObserver::Send(IPC::Message* message) {
return content::RenderViewHostObserver::Send(message);
}
-void PrerenderRenderViewHostObserver::OnUpdateFaviconURL(
- int32 page_id,
- const std::vector<FaviconURL>& urls) {
- prerender_contents_->OnUpdateFaviconURL(page_id, urls);
-}
-
void PrerenderRenderViewHostObserver::OnMaybeCancelPrerenderForHTML5Media() {
prerender_contents_->Destroy(FINAL_STATUS_HTML5_MEDIA);
}