diff options
author | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-14 23:49:46 +0000 |
---|---|---|
committer | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-14 23:49:46 +0000 |
commit | d07edd42ce09a444f435c0dcffd4a123dc6f31b9 (patch) | |
tree | 171e5756c9b49514e7fe6ab43cb1ecd60e0acd4f /chrome/browser/importer/profile_writer.cc | |
parent | b6da6b187ffec9d19a990c0c058864571bd01a8e (diff) | |
download | chromium_src-d07edd42ce09a444f435c0dcffd4a123dc6f31b9.zip chromium_src-d07edd42ce09a444f435c0dcffd4a123dc6f31b9.tar.gz chromium_src-d07edd42ce09a444f435c0dcffd4a123dc6f31b9.tar.bz2 |
Taking over issue 10006037.
Moved WebDataService to ProfileKeyedService
James:
chrome\browser\ui\intents
Peter:
chrome\browser\ui\search_engines
chrome\browser\search_engines
Nicolas:
chrome\browser\sync
Rachel/Elliot:
chrome\browser\profiles and the whole cl
BUG=112234
TEST=unit-tests
TBR=jhawkins@chromium.org,pkasting@chromium.org,zea@chromium.org,erg@chromium.org,isherman@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136499
Review URL: https://chromiumcodereview.appspot.com/10185008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/profile_writer.cc')
-rw-r--r-- | chrome/browser/importer/profile_writer.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc index 8519432..eb3b659 100644 --- a/chrome/browser/importer/profile_writer.cc +++ b/chrome/browser/importer/profile_writer.cc @@ -20,6 +20,7 @@ #include "chrome/browser/search_engines/template_url.h" #include "chrome/browser/search_engines/template_url_service.h" #include "chrome/browser/search_engines/template_url_service_factory.h" +#include "chrome/browser/webdata/web_data_service_factory.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/pref_names.h" @@ -94,7 +95,8 @@ void ProfileWriter::AddPasswordForm(const webkit::forms::PasswordForm& form) { #if defined(OS_WIN) void ProfileWriter::AddIE7PasswordInfo(const IE7PasswordInfo& info) { - profile_->GetWebDataService(Profile::EXPLICIT_ACCESS)->AddIE7Login(info); + WebDataServiceFactory::GetForProfile( + profile_, Profile::EXPLICIT_ACCESS)->AddIE7Login(info); } #endif |