summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer
diff options
context:
space:
mode:
authorrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 03:54:15 +0000
committerrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 03:54:15 +0000
commitba30c18a957290ff02ab9872a1a9dd8c4ee2f14a (patch)
treeb7e5213fb01b0f422bb2fd0eb7da523c08de717a /chrome/browser/importer
parent2a6f339074bff557adb5253d7165b493a5d758ee (diff)
downloadchromium_src-ba30c18a957290ff02ab9872a1a9dd8c4ee2f14a.zip
chromium_src-ba30c18a957290ff02ab9872a1a9dd8c4ee2f14a.tar.gz
chromium_src-ba30c18a957290ff02ab9872a1a9dd8c4ee2f14a.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 Review URL: https://chromiumcodereview.appspot.com/10185008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer')
-rw-r--r--chrome/browser/importer/profile_writer.cc4
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