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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_controller_browsertest.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
Index: chrome/browser/ui/intents/web_intent_picker_controller_browsertest.cc
===================================================================
--- chrome/browser/ui/intents/web_intent_picker_controller_browsertest.cc (revision 152958)
+++ chrome/browser/ui/intents/web_intent_picker_controller_browsertest.cc (working copy)
@@ -13,7 +13,6 @@
#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/favicon/favicon_service.h"
-#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/intents/default_web_intent_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
@@ -238,8 +237,8 @@
web_data_service_ = WebDataServiceFactory::GetForProfile(
GetBrowser()->profile(), Profile::EXPLICIT_ACCESS);
- favicon_service_ = FaviconServiceFactory::GetForProfile(
- GetBrowser()->profile(), Profile::EXPLICIT_ACCESS);
+ favicon_service_ =
+ GetBrowser()->profile()->GetFaviconService(Profile::EXPLICIT_ACCESS);
controller_ = chrome::GetActiveTabContents(GetBrowser())->
web_intent_picker_controller();

Powered by Google App Engine
This is Rietveld 408576698