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

Unified Diff: chrome/browser/password_manager/password_form_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_form_manager_unittest.cc
diff --git a/chrome/browser/password_manager/password_form_manager_unittest.cc b/chrome/browser/password_manager/password_form_manager_unittest.cc
index 33339e157e3c3db58ae12098266f022950899c12..a2d98d34ee7321ccc5015e6ef4337b0aac66bb9b 100644
--- a/chrome/browser/password_manager/password_form_manager_unittest.cc
+++ b/chrome/browser/password_manager/password_form_manager_unittest.cc
@@ -16,11 +16,11 @@
#include "chrome/browser/password_manager/test_password_store.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/public/common/password_form.h"
+#include "components/autofill/core/common/password_form.h"
#include "content/public/test/test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
-using content::PasswordForm;
+using autofill::PasswordForm;
using ::testing::Eq;
@@ -47,9 +47,9 @@ class TestPasswordManager : public PasswordManager {
: PasswordManager(NULL, delegate) {}
virtual void Autofill(
- const content::PasswordForm& form_for_autofill,
- const content::PasswordFormMap& best_matches,
- const content::PasswordForm& preferred_match,
+ const autofill::PasswordForm& form_for_autofill,
+ const autofill::PasswordFormMap& best_matches,
+ const autofill::PasswordForm& preferred_match,
bool wait_for_username) const OVERRIDE {}
};
@@ -59,7 +59,7 @@ class TestPasswordFormManager : public PasswordFormManager {
public:
TestPasswordFormManager(Profile* profile,
PasswordManager* manager,
- const content::PasswordForm& observed_form,
+ const autofill::PasswordForm& observed_form,
bool ssl_valid)
: PasswordFormManager(profile, manager, NULL, observed_form, ssl_valid),
num_sent_messages_(0) {}

Powered by Google App Engine
This is Rietveld 408576698