Commit a53bb6f7 authored by mirandac@chromium.org's avatar mirandac@chromium.org

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
parent 440d8dba
......@@ -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)
......
......@@ -306,7 +306,7 @@ void SafariImporter::ImportPasswords() {
// Safari stores it's passwords in the Keychain, same as us so we don't need
// to import them.
// Note: that we don't automatically pick them up, there is some logic around
// the user needing to explicitly input his username in a page and bluring
// the user needing to explicitly input his username in a page and blurring
// the field before we pick it up, but the details of that are beyond the
// scope of this comment.
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment