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

Unified Diff: chrome/browser/ui/webui/options/password_manager_handler.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/ui/webui/options/password_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc
index 3d306785caccc255b37482846b10af3c2acaf44a..46ea2370bdd6f7af278289824721bbd585503930 100644
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
@@ -14,10 +14,10 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
+#include "components/autofill/core/common/password_form.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/web_ui.h"
-#include "content/public/common/password_form.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "net/base/net_util.h"
@@ -229,7 +229,7 @@ void PasswordManagerHandler::PasswordListPopulater::Populate() {
void PasswordManagerHandler::PasswordListPopulater::
OnPasswordStoreRequestDone(
CancelableRequestProvider::Handle handle,
- const std::vector<content::PasswordForm*>& result) {
+ const std::vector<autofill::PasswordForm*>& result) {
DCHECK_EQ(pending_login_query_, handle);
pending_login_query_ = 0;
page_->password_list_.clear();
@@ -239,7 +239,7 @@ void PasswordManagerHandler::PasswordListPopulater::
}
void PasswordManagerHandler::PasswordListPopulater::OnGetPasswordStoreResults(
- const std::vector<content::PasswordForm*>& results) {
+ const std::vector<autofill::PasswordForm*>& results) {
// TODO(kaiwang): Implement when I refactor
// PasswordStore::GetAutofillableLogins and PasswordStore::GetBlacklistLogins.
NOTIMPLEMENTED();
@@ -265,7 +265,7 @@ void PasswordManagerHandler::PasswordExceptionListPopulater::Populate() {
void PasswordManagerHandler::PasswordExceptionListPopulater::
OnPasswordStoreRequestDone(
CancelableRequestProvider::Handle handle,
- const std::vector<content::PasswordForm*>& result) {
+ const std::vector<autofill::PasswordForm*>& result) {
DCHECK_EQ(pending_login_query_, handle);
pending_login_query_ = 0;
page_->password_exception_list_.clear();
@@ -276,7 +276,7 @@ void PasswordManagerHandler::PasswordExceptionListPopulater::
void PasswordManagerHandler::PasswordExceptionListPopulater::
OnGetPasswordStoreResults(
- const std::vector<content::PasswordForm*>& results) {
+ const std::vector<autofill::PasswordForm*>& results) {
// TODO(kaiwang): Implement when I refactor
// PasswordStore::GetAutofillableLogins and PasswordStore::GetBlacklistLogins.
NOTIMPLEMENTED();
« no previous file with comments | « chrome/browser/ui/webui/options/password_manager_handler.h ('k') | chrome/common/importer/importer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698