diff options
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 eb3b659..18a5201 100644 --- a/chrome/browser/importer/profile_writer.cc +++ b/chrome/browser/importer/profile_writer.cc @@ -13,6 +13,7 @@ #include "base/threading/thread.h" #include "base/utf_string_conversions.h" #include "chrome/browser/bookmarks/bookmark_model.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" #include "chrome/browser/prefs/pref_service.h" @@ -102,7 +103,7 @@ void ProfileWriter::AddIE7PasswordInfo(const IE7PasswordInfo& info) { void ProfileWriter::AddHistoryPage(const history::URLRows& page, history::VisitSource visit_source) { - profile_->GetHistoryService(Profile::EXPLICIT_ACCESS)-> + HistoryServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS)-> AddPagesWithDetails(page, visit_source); } |