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..0a4b88a34f27ee1fe98d10d2c585da75dae215d2 100644 |
--- a/components/password_manager/content/browser/content_password_manager_driver.cc |
+++ b/components/password_manager/content/browser/content_password_manager_driver.cc |
@@ -64,6 +64,22 @@ void ContentPasswordManagerDriver::AcceptPasswordAutofillSuggestion( |
password)); |
} |
+void ContentPasswordManagerDriver::PreviewPasswordAutofillSuggestion( |
+ 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::ClearPasswordPreviewedForm() { |
+ content::RenderViewHost* host = web_contents()->GetRenderViewHost(); |
+ host->Send( |
+ new AutofillMsg_ClearPreviewedForm(host->GetRoutingID())); |
+} |
+ |
bool ContentPasswordManagerDriver::DidLastPageLoadEncounterSSLErrors() { |
DCHECK(web_contents()); |
content::NavigationEntry* entry = |