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 fc0b140ee472413011cb1ea6f6b44a617178b31d..665df3b8fbe13e10ac0c0dad01e2c1e9f51bfc9d 100644 |
--- a/components/autofill/content/browser/content_autofill_driver_unittest.cc |
+++ b/components/autofill/content/browser/content_autofill_driver_unittest.cc |
@@ -166,11 +166,6 @@ class ContentAutofillDriverTest : public ChromeRenderViewHostTestHarness { |
&autofill_param)) |
return false; |
break; |
- case AutofillMsg_AcceptPasswordAutofillSuggestion::ID: |
- if (!AutofillMsg_AcceptPasswordAutofillSuggestion::Read( |
- message, &autofill_param)) |
- return false; |
- break; |
default: |
NOTREACHED(); |
} |
@@ -291,15 +286,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)); |