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

Unified Diff: chrome/browser/password_manager/password_manager.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_manager.cc
diff --git a/chrome/browser/password_manager/password_manager.cc b/chrome/browser/password_manager/password_manager.cc
index f6834accce6c7044010c70b161ca070203b026db..efa51ff1d7259d3ea6de727a51ab16c4da97fa0f 100644
--- a/chrome/browser/password_manager/password_manager.cc
+++ b/chrome/browser/password_manager/password_manager.cc
@@ -26,10 +26,10 @@
#include "content/public/common/frame_navigate_params.h"
#include "grit/generated_resources.h"
+using autofill::PasswordForm;
+using autofill::PasswordFormMap;
using content::UserMetricsAction;
using content::WebContents;
-using content::PasswordForm;
-using content::PasswordFormMap;
DEFINE_WEB_CONTENTS_USER_DATA_KEY(PasswordManager);
@@ -358,7 +358,7 @@ void PasswordManager::PossiblyInitializeUsernamesExperiment(
return;
bool other_possible_usernames_exist = false;
- for (content::PasswordFormMap::const_iterator it = best_matches.begin();
+ for (autofill::PasswordFormMap::const_iterator it = best_matches.begin();
it != best_matches.end(); ++it) {
if (!it->second->other_possible_usernames.empty()) {
other_possible_usernames_exist = true;
« no previous file with comments | « chrome/browser/password_manager/password_manager.h ('k') | chrome/browser/password_manager/password_manager_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698