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

Unified Diff: chrome/browser/password_manager/password_store_win.cc

Issue 23742004: Move PasswordForm from //content to //autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_password_form_conversion_utils
Patch Set: Rebase Created 7 years, 3 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
Index: chrome/browser/password_manager/password_store_win.cc
diff --git a/chrome/browser/password_manager/password_store_win.cc b/chrome/browser/password_manager/password_store_win.cc
index ff10e21f2fa609507f81d17dca4e355044384e27..cc02c6ee382cce8b5dfd14245b1238b9370b92a4 100644
--- a/chrome/browser/password_manager/password_store_win.cc
+++ b/chrome/browser/password_manager/password_store_win.cc
@@ -16,8 +16,8 @@
#include "chrome/browser/webdata/web_data_service.h"
#include "components/webdata/encryptor/ie7_password.h"
+using autofill::PasswordForm;
using content::BrowserThread;
-using content::PasswordForm;
// Handles requests to WebDataService.
class PasswordStoreWin::DBHandler : public WebDataServiceConsumer {
@@ -143,7 +143,7 @@ void PasswordStoreWin::DBHandler::OnWebDataServiceRequestDone(
i->second.callback_runner);
pending_requests_.erase(i);
- std::vector<content::PasswordForm*> matched_forms;
+ std::vector<autofill::PasswordForm*> matched_forms;
if (!result) {
// The WDS returns NULL if it is shutting down. Run callback with empty
@@ -186,7 +186,7 @@ void PasswordStoreWin::ShutdownOnUIThread() {
void PasswordStoreWin::GetIE7LoginIfNecessary(
const PasswordForm& form,
const ConsumerCallbackRunner& callback_runner,
- const std::vector<content::PasswordForm*>& matched_forms) {
+ const std::vector<autofill::PasswordForm*>& matched_forms) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
if (matched_forms.empty() && db_handler_.get()) {
db_handler_->GetIE7Login(form, callback_runner);
« no previous file with comments | « chrome/browser/password_manager/password_store_win.h ('k') | chrome/browser/password_manager/password_store_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698