| Index: chrome/browser/password_manager/content_password_manager_driver.cc
|
| diff --git a/chrome/browser/password_manager/content_password_manager_driver.cc b/chrome/browser/password_manager/content_password_manager_driver.cc
|
| index b78dd8319e74162d4039179f7e0ea801654fc585..d51b38ff6ac8e806836a216cec60c1415344a2a1 100644
|
| --- a/chrome/browser/password_manager/content_password_manager_driver.cc
|
| +++ b/chrome/browser/password_manager/content_password_manager_driver.cc
|
| @@ -105,3 +105,14 @@ autofill::AutofillManager* ContentPasswordManagerDriver::GetAutofillManager() {
|
| autofill::AutofillDriverImpl::FromWebContents(web_contents());
|
| return driver ? driver->autofill_manager() : NULL;
|
| }
|
| +
|
| +void
|
| +ContentPasswordManagerDriver::RendererShouldAcceptPasswordAutofillSuggestion(
|
| + const base::string16& username,
|
| + const base::string16& password) {
|
| + content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| + host->Send(
|
| + new AutofillMsg_AcceptPasswordAutofillSuggestion(host->GetRoutingID(),
|
| + username,
|
| + password));
|
| +}
|
|
|