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

Unified Diff: chrome/browser/intents/register_intent_handler_helper.cc

Issue 10873022: Revert 152904 - Moving FaviconService to a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/instant/instant_controller.cc ('k') | chrome/browser/jumplist_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/intents/register_intent_handler_helper.cc
===================================================================
--- chrome/browser/intents/register_intent_handler_helper.cc (revision 152958)
+++ chrome/browser/intents/register_intent_handler_helper.cc (working copy)
@@ -5,7 +5,6 @@
#include <string>
#include "chrome/browser/favicon/favicon_service.h"
-#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/intents/register_intent_handler_infobar_delegate.h"
#include "chrome/browser/intents/web_intents_registry_factory.h"
#include "chrome/browser/intents/web_intents_util.h"
@@ -29,8 +28,8 @@
if (!web_intents::IsWebIntentsEnabledForProfile(tab_contents->profile()))
return;
- FaviconService* favicon_service = FaviconServiceFactory::GetForProfile(
- tab_contents->profile(), Profile::EXPLICIT_ACCESS);
+ FaviconService* favicon_service =
+ tab_contents->profile()->GetFaviconService(Profile::EXPLICIT_ACCESS);
RegisterIntentHandlerInfoBarDelegate::MaybeShowIntentInfoBar(
tab_contents->infobar_tab_helper(),
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/jumplist_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698