Index: components/autofill/content/browser/content_autofill_driver_unittest.cc |
diff --git a/components/autofill/content/browser/content_autofill_driver_unittest.cc b/components/autofill/content/browser/content_autofill_driver_unittest.cc |
index c116cfcc1ddc158db62ff1894770e5fe78612bb6..24e54f189225664c22463d9046b9cf0797c24b13 100644 |
--- a/components/autofill/content/browser/content_autofill_driver_unittest.cc |
+++ b/components/autofill/content/browser/content_autofill_driver_unittest.cc |
@@ -170,11 +170,6 @@ class ContentAutofillDriverTest : public content::RenderViewHostTestHarness { |
&autofill_param)) |
return false; |
break; |
- case AutofillMsg_AcceptPasswordAutofillSuggestion::ID: |
- if (!AutofillMsg_AcceptPasswordAutofillSuggestion::Read( |
- message, &autofill_param)) |
- return false; |
- break; |
default: |
NOTREACHED(); |
} |
@@ -295,15 +290,6 @@ TEST_F(ContentAutofillDriverTest, AcceptDataListSuggestion) { |
EXPECT_EQ(input_value, output_value); |
} |
-TEST_F(ContentAutofillDriverTest, AcceptPasswordAutofillSuggestion) { |
- base::string16 input_value(base::ASCIIToUTF16("barbaz")); |
- base::string16 output_value; |
- driver_->RendererShouldAcceptPasswordAutofillSuggestion(input_value); |
- EXPECT_TRUE(GetString16FromMessageWithID( |
- AutofillMsg_AcceptPasswordAutofillSuggestion::ID, &output_value)); |
- EXPECT_EQ(input_value, output_value); |
-} |
- |
TEST_F(ContentAutofillDriverTest, ClearFilledFormSentToRenderer) { |
driver_->RendererShouldClearFilledForm(); |
EXPECT_TRUE(HasMessageMatchingID(AutofillMsg_ClearForm::ID)); |