Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: chrome/browser/importer/profile_writer.cc

Issue 2725005: Fix password import for OS X Firefox.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/importer/safari_importer.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/profile_writer.cc
===================================================================
--- chrome/browser/importer/profile_writer.cc (revision 49216)
+++ chrome/browser/importer/profile_writer.cc (working copy)
@@ -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 @@
}
void ProfileWriter::AddPasswordForm(const PasswordForm& form) {
- profile_->GetWebDataService(Profile::EXPLICIT_ACCESS)->AddLogin(form);
+ profile_->GetPasswordStore(Profile::EXPLICIT_ACCESS)->AddLogin(form);
}
#if defined(OS_WIN)
« no previous file with comments | « no previous file | chrome/browser/importer/safari_importer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698