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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents.cc

Issue 11195010: Extract Favicon Download logic from FaviconTabHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extract OnUpdateFaviconURL code Created 8 years, 2 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
Index: chrome/browser/ui/tab_contents/tab_contents.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc
index b630b9280404db8f4398162a93ee84c01923d146..5c6904f0f34c1ddbc7408c1dc4c0a6182837b0df 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h"
#include "chrome/browser/extensions/tab_helper.h"
#include "chrome/browser/external_protocol/external_protocol_observer.h"
+#include "chrome/browser/favicon/favicon_download_helper.h"
#include "chrome/browser/favicon/favicon_tab_helper.h"
#include "chrome/browser/history/history_tab_helper.h"
#include "chrome/browser/infobars/infobar_tab_helper.h"
@@ -131,6 +132,8 @@ TabContents::TabContents(WebContents* contents)
extensions::WebNavigationTabObserver::CreateForWebContents(contents);
ExternalProtocolObserver::CreateForWebContents(contents);
FaviconTabHelper::CreateForWebContents(contents);
+ FaviconDownloadHelper::CreateForWebContentsAndDelegate(contents,
+ FaviconTabHelper::FromWebContents(contents));
sky 2012/10/24 16:38:10 Doesn't doing this lead to the possibility of Favi
Cait (Slow) 2012/10/24 17:31:20 That is a possibility. The FaviconDownloadHelper o
FindTabHelper::CreateForWebContents(contents);
HistoryTabHelper::CreateForWebContents(contents);
HungPluginTabHelper::CreateForWebContents(contents);

Powered by Google App Engine
This is Rietveld 408576698