From c95bef3e6d79bffdb616f9965169c545dfb29097 Mon Sep 17 00:00:00 2001 From: "rlp@chromium.org" Date: Thu, 23 Aug 2012 01:08:25 +0000 Subject: Moving FaviconService to a ProfileKeyedService. BUG=112526 Review URL: https://chromiumcodereview.appspot.com/10828263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152904 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/importer/profile_writer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/importer') diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc index d7f6280..e7a6d20 100644 --- a/chrome/browser/importer/profile_writer.cc +++ b/chrome/browser/importer/profile_writer.cc @@ -14,6 +14,7 @@ #include "base/utf_string_conversions.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/bookmarks/bookmark_model_factory.h" +#include "chrome/browser/favicon/favicon_service_factory.h" #include "chrome/browser/history/history_service_factory.h" #include "chrome/browser/password_manager/password_store.h" #include "chrome/browser/password_manager/password_store_factory.h" @@ -232,7 +233,7 @@ void ProfileWriter::AddBookmarks(const std::vector& bookmarks, void ProfileWriter::AddFavicons( const std::vector& favicons) { - profile_->GetFaviconService(Profile::EXPLICIT_ACCESS)-> + FaviconServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS)-> SetImportedFavicons(favicons); } -- cgit v1.1