diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 22:52:05 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 22:52:05 +0000 |
commit | a53bb6f7db58fa59fb2dd3b6508b6acc0d1d44ad (patch) | |
tree | d86a34f9388bc314fb635753db1a50117194ed95 /chrome/browser/importer/profile_writer.cc | |
parent | 440d8dba5acdec78133af93ca788a9e995fedb49 (diff) | |
download | chromium_src-a53bb6f7db58fa59fb2dd3b6508b6acc0d1d44ad.zip chromium_src-a53bb6f7db58fa59fb2dd3b6508b6acc0d1d44ad.tar.gz chromium_src-a53bb6f7db58fa59fb2dd3b6508b6acc0d1d44ad.tar.bz2 |
Fix password import for OS X Firefox.
BUG=18775
TEST=import passwords from Firefox on OS X.
Review URL: http://codereview.chromium.org/2725005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/profile_writer.cc')
-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 ee12572..6217408 100644 --- a/chrome/browser/importer/profile_writer.cc +++ b/chrome/browser/importer/profile_writer.cc @@ -8,6 +8,7 @@ #include "base/thread.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/importer/importer.h" +#include "chrome/browser/password_manager/password_store.h" #include "chrome/browser/pref_service.h" #include "chrome/browser/profile.h" #include "chrome/browser/search_engines/template_url_model.h" @@ -25,7 +26,7 @@ bool ProfileWriter::TemplateURLModelIsLoaded() const { } void ProfileWriter::AddPasswordForm(const PasswordForm& form) { - profile_->GetWebDataService(Profile::EXPLICIT_ACCESS)->AddLogin(form); + profile_->GetPasswordStore(Profile::EXPLICIT_ACCESS)->AddLogin(form); } #if defined(OS_WIN) |