diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-14 22:23:36 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-14 22:23:36 +0000 |
commit | a5e84bda360798580ed0eb6f27dc0342999c9675 (patch) | |
tree | e58b66689367554f7430084d760428fbe6127201 /chrome/browser/autofill/autofill_manager_unittest.cc | |
parent | b05474d73e1f33770648ac9e11d58c6393caa82d (diff) | |
download | chromium_src-a5e84bda360798580ed0eb6f27dc0342999c9675.zip chromium_src-a5e84bda360798580ed0eb6f27dc0342999c9675.tar.gz chromium_src-a5e84bda360798580ed0eb6f27dc0342999c9675.tar.bz2 |
Clean up RenderViewHostDelegate::AutoFill interface -- remove |value| and |label| parameters from FillAutoFillFormData()
BUG=none
TEST=it compiles
Review URL: http://codereview.chromium.org/3319006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_manager_unittest.cc')
-rw-r--r-- | chrome/browser/autofill/autofill_manager_unittest.cc | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc index f76cc04..7d78a9b 100644 --- a/chrome/browser/autofill/autofill_manager_unittest.cc +++ b/chrome/browser/autofill/autofill_manager_unittest.cc @@ -777,8 +777,7 @@ TEST_F(AutoFillManagerTest, FillCreditCardForm) { // an IPC message back to the renderer. const int kPageID = 1; EXPECT_TRUE(autofill_manager_->FillAutoFillFormData( - kPageID, form, string16(), ASCIIToUTF16("Elvis Aaron Presley; *3456"), - AutoFillManager::PackIDs(4, 1))); + kPageID, form, AutoFillManager::PackIDs(4, 1))); int page_id = 0; FormData results; @@ -861,8 +860,7 @@ TEST_F(AutoFillManagerTest, FillNonBillingFormSemicolon) { // an IPC message back to the renderer. const int kPageID = 1; EXPECT_TRUE(autofill_manager_->FillAutoFillFormData( - kPageID, form, string16(), ASCIIToUTF16("Elvis Aaron Presley; 8765"), - AutoFillManager::PackIDs(4, 7))); + kPageID, form, AutoFillManager::PackIDs(4, 7))); int page_id = 0; FormData results; @@ -932,8 +930,7 @@ TEST_F(AutoFillManagerTest, FillBillFormSemicolon) { // an IPC message back to the renderer. const int kPageID = 1; EXPECT_TRUE(autofill_manager_->FillAutoFillFormData( - kPageID, form, string16(), ASCIIToUTF16("Home; 8765; *3456"), - AutoFillManager::PackIDs(4, 7))); + kPageID, form, AutoFillManager::PackIDs(4, 7))); int page_id = 0; FormData results; @@ -1046,8 +1043,6 @@ TEST_F(AutoFillManagerTest, FillPhoneNumber) { EXPECT_TRUE( autofill_manager_->FillAutoFillFormData(page_id, form, - ASCIIToUTF16(test_data), - ASCIIToUTF16("Work"), work_profile->unique_id())); page_id = 0; FormData results; @@ -1103,9 +1098,7 @@ TEST_F(AutoFillManagerTest, FormChangesRemoveField) { // The page ID sent to the AutoFillManager from the RenderView, used to send // an IPC message back to the renderer. const int kPageID = 1; - EXPECT_TRUE(autofill_manager_->FillAutoFillFormData( - kPageID, form, ASCIIToUTF16("Elvis"), ASCIIToUTF16("Elvis Aaron Presley"), - 1)); + EXPECT_TRUE(autofill_manager_->FillAutoFillFormData(kPageID, form, 1)); int page_id = 0; FormData results; @@ -1168,9 +1161,7 @@ TEST_F(AutoFillManagerTest, FormChangesAddField) { // The page ID sent to the AutoFillManager from the RenderView, used to send // an IPC message back to the renderer. const int kPageID = 1; - EXPECT_TRUE(autofill_manager_->FillAutoFillFormData( - kPageID, form, ASCIIToUTF16("Elvis"), ASCIIToUTF16("Elvis Aaron Presley"), - 1)); + EXPECT_TRUE(autofill_manager_->FillAutoFillFormData(kPageID, form, 1)); int page_id = 0; FormData results; |