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 43e5d92a2d2fc1b0460409b34bda80943961acc7..346d98cf9c8c5bd8a949899201af0282803f78d9 100644 |
| --- a/components/autofill/content/browser/autofill_driver_impl.cc |
| +++ b/components/autofill/content/browser/autofill_driver_impl.cc |
| @@ -1,9 +1,7 @@ |
| // Copyright 2013 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| - |
|
vabr (Chromium)
2014/02/05 20:34:20
Do not remove these two blank lines.
|
| #include "components/autofill/content/browser/autofill_driver_impl.h" |
| - |
| #include "base/command_line.h" |
| #include "base/threading/sequenced_worker_pool.h" |
| #include "components/autofill/core/browser/autofill_external_delegate.h" |
| @@ -131,6 +129,15 @@ void AutofillDriverImpl::SendAutofillTypePredictionsToRenderer( |
| type_predictions)); |
| } |
| +void AutofillDriverImpl::RemovePasswordAutofillSuggestion( |
| + const PasswordForm& password_form) { |
| + if (!RendererIsAvailable()) |
| + return; |
| + content::RenderViewHost* host = web_contents()->GetRenderViewHost(); |
| + host->Send(new AutofillMsg_RemovePasswordSuggestion(host->GetRoutingID(), |
| + password_form)); |
| +} |
| + |
| void AutofillDriverImpl::RendererShouldAcceptDataListSuggestion( |
| const base::string16& value) { |
| if (!RendererIsAvailable()) |