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

Unified Diff: chrome/browser/autofill/password_autofill_manager_unittest.cc

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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/autofill/password_autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/password_autofill_manager_unittest.cc b/chrome/browser/autofill/password_autofill_manager_unittest.cc
index 35ca066dcedfdb7d41e24b191be9403826ccab29..f7305a78da198bd5b50b6f64d8b66117f3d4fe7b 100644
--- a/chrome/browser/autofill/password_autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/password_autofill_manager_unittest.cc
@@ -34,7 +34,7 @@ class PasswordAutofillManagerTest : public testing::Test {
username_field_.value = username1;
fill_data_.basic_data.fields.push_back(username_field_);
- webkit::forms::FormField password_field;
+ FormFieldData password_field;
password_field.name = ASCIIToUTF16(kPasswordName);
password_field.value = password1;
fill_data_.basic_data.fields.push_back(password_field);
@@ -47,11 +47,11 @@ class PasswordAutofillManagerTest : public testing::Test {
return &password_autofill_manager_;
}
- const webkit::forms::FormField& username_field() { return username_field_; }
+ const FormFieldData& username_field() { return username_field_; }
private:
- webkit::forms::PasswordFormFillData fill_data_;
- webkit::forms::FormField username_field_;
+ PasswordFormFillData fill_data_;
+ FormFieldData username_field_;
PasswordAutofillManager password_autofill_manager_;
};
@@ -62,7 +62,7 @@ TEST_F(PasswordAutofillManagerTest, DidAcceptAutofillSuggestion) {
EXPECT_FALSE(password_autofill_manager()->DidAcceptAutofillSuggestion(
username_field(), ASCIIToUTF16(kInvalidUsername)));
- webkit::forms::FormField invalid_username_field;
+ FormFieldData invalid_username_field;
invalid_username_field.name = ASCIIToUTF16(kInvalidUsername);
EXPECT_FALSE(password_autofill_manager()->DidAcceptAutofillSuggestion(
« no previous file with comments | « chrome/browser/autofill/password_autofill_manager.cc ('k') | chrome/browser/autofill/personal_data_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698