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

Unified Diff: chrome/browser/password_manager/password_manager_unittest.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_unittest.cc
diff --git a/chrome/browser/password_manager/password_manager_unittest.cc b/chrome/browser/password_manager/password_manager_unittest.cc
index cebfc2e7c5db212034a914c15cfdd9ae16dedeac..ff20a0db9708e0dc1561c3633f67ed8ec9743802 100644
--- a/chrome/browser/password_manager/password_manager_unittest.cc
+++ b/chrome/browser/password_manager/password_manager_unittest.cc
@@ -23,7 +23,7 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-using content::PasswordForm;
+using autofill::PasswordForm;
using testing::_;
using testing::DoAll;
using testing::Exactly;
@@ -139,8 +139,8 @@ class PasswordManagerTest : public ChromeRenderViewHostTestHarness {
return form;
}
- bool FormsAreEqual(const content::PasswordForm& lhs,
- const content::PasswordForm& rhs) {
+ bool FormsAreEqual(const autofill::PasswordForm& lhs,
+ const autofill::PasswordForm& rhs) {
if (lhs.origin != rhs.origin)
return false;
if (lhs.action != rhs.action)
@@ -166,7 +166,7 @@ class PasswordManagerTest : public ChromeRenderViewHostTestHarness {
return manager_;
}
- void OnPasswordFormSubmitted(const content::PasswordForm& form) {
+ void OnPasswordFormSubmitted(const autofill::PasswordForm& form) {
manager()->OnPasswordFormSubmitted(form);
}
@@ -175,7 +175,7 @@ class PasswordManagerTest : public ChromeRenderViewHostTestHarness {
base::Unretained(this));
}
- void FormSubmitted(const content::PasswordForm& form) {
+ void FormSubmitted(const autofill::PasswordForm& form) {
submitted_form_ = form;
}
« no previous file with comments | « chrome/browser/password_manager/password_manager_delegate_impl.cc ('k') | chrome/browser/password_manager/password_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698