diff options
author | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-23 01:08:25 +0000 |
---|---|---|
committer | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-23 01:08:25 +0000 |
commit | c95bef3e6d79bffdb616f9965169c545dfb29097 (patch) | |
tree | 7c1eef07acb4a86adb7cb8f9d6d35a6ff8add1f2 /chrome/browser/importer | |
parent | bf732afbac0c44afeaefa931adfed359172aca5b (diff) | |
download | chromium_src-c95bef3e6d79bffdb616f9965169c545dfb29097.zip chromium_src-c95bef3e6d79bffdb616f9965169c545dfb29097.tar.gz chromium_src-c95bef3e6d79bffdb616f9965169c545dfb29097.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/importer')
-rw-r--r-- | chrome/browser/importer/profile_writer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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<BookmarkEntry>& bookmarks, void ProfileWriter::AddFavicons( const std::vector<history::ImportedFaviconUsage>& favicons) { - profile_->GetFaviconService(Profile::EXPLICIT_ACCESS)-> + FaviconServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS)-> SetImportedFavicons(favicons); } |