| Index: components/password_manager/content/browser/content_password_manager_driver.cc
|
| diff --git a/components/password_manager/content/browser/content_password_manager_driver.cc b/components/password_manager/content/browser/content_password_manager_driver.cc
|
| index 6ef6916e80fee04257adb5e197b34376dba8bacc..9ee39e0fdb52e7c7fc8a333f2c375ff296f8406a 100644
|
| --- a/components/password_manager/content/browser/content_password_manager_driver.cc
|
| +++ b/components/password_manager/content/browser/content_password_manager_driver.cc
|
| @@ -54,7 +54,7 @@ void ContentPasswordManagerDriver::AccountCreationFormsFound(
|
| forms));
|
| }
|
|
|
| -void ContentPasswordManagerDriver::AcceptPasswordAutofillSuggestion(
|
| +void ContentPasswordManagerDriver::FillSuggestion(
|
| const base::string16& username,
|
| const base::string16& password) {
|
| content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| @@ -64,6 +64,22 @@ void ContentPasswordManagerDriver::AcceptPasswordAutofillSuggestion(
|
| password));
|
| }
|
|
|
| +void ContentPasswordManagerDriver::PreviewSuggestion(
|
| + const base::string16& username,
|
| + const base::string16& password) {
|
| + content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| + host->Send(
|
| + new AutofillMsg_PreviewPasswordAutofillSuggestion(host->GetRoutingID(),
|
| + username,
|
| + password));
|
| +}
|
| +
|
| +void ContentPasswordManagerDriver::ClearPreviewedForm() {
|
| + content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| + host->Send(
|
| + new AutofillMsg_ClearPreviewedForm(host->GetRoutingID()));
|
| +}
|
| +
|
| bool ContentPasswordManagerDriver::DidLastPageLoadEncounterSSLErrors() {
|
| DCHECK(web_contents());
|
| content::NavigationEntry* entry =
|
|
|