Chromium Code Reviews| Index: components/autofill/content/browser/autofill_driver_impl.cc |
| diff --git a/components/autofill/content/browser/autofill_driver_impl.cc b/components/autofill/content/browser/autofill_driver_impl.cc |
| index ab30c8d66e4f3b5f0f47c0596856ab3c2c4c7498..cc053714fa65b57fc640b288dc6d261928d65878 100644 |
| --- a/components/autofill/content/browser/autofill_driver_impl.cc |
| +++ b/components/autofill/content/browser/autofill_driver_impl.cc |
| @@ -123,6 +123,16 @@ void AutofillDriverImpl::SendAutofillTypePredictionsToRenderer( |
| type_predictions)); |
| } |
| +void AutofillDriverImpl::RemovePasswordAutofillSuggestion( |
| + const PasswordForm& password_form) { |
| + content::RenderViewHost* host = GetWebContents()->GetRenderViewHost(); |
|
vabr (Chromium)
2014/04/01 16:56:08
nit: for consistency with the rest of the file, co
rchtara
2014/04/03 08:44:50
Done.
|
| + if (!host) |
| + return; |
| + |
| + host->Send(new AutofillMsg_RemovePasswordSuggestion(host->GetRoutingID(), |
| + password_form)); |
| +} |
| + |
| void AutofillDriverImpl::RendererShouldAcceptDataListSuggestion( |
| const base::string16& value) { |
| if (!RendererIsAvailable()) |