| 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 debf3172e8d12f72ef01c71553e23bffcda718e9..953046d4ec1fb112347f91a237dd8707f3676130 100644
|
| --- a/components/password_manager/content/browser/content_password_manager_driver.cc
|
| +++ b/components/password_manager/content/browser/content_password_manager_driver.cc
|
| @@ -104,6 +104,11 @@ void ContentPasswordManagerDriver::ClearPreviewedForm() {
|
| host->Send(new AutofillMsg_ClearPreviewedForm(host->GetRoutingID()));
|
| }
|
|
|
| +void ContentPasswordManagerDriver::ForceSavePassword() {
|
| + content::RenderFrameHost* host = render_frame_host_;
|
| + host->Send(new AutofillMsg_ForceSavePassword(host->GetRoutingID()));
|
| +}
|
| +
|
| PasswordGenerationManager*
|
| ContentPasswordManagerDriver::GetPasswordGenerationManager() {
|
| return &password_generation_manager_;
|
| @@ -130,6 +135,8 @@ bool ContentPasswordManagerDriver::HandleMessage(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(AutofillHostMsg_InPageNavigation, OnInPageNavigation)
|
| IPC_MESSAGE_HANDLER(AutofillHostMsg_PasswordNoLongerGenerated,
|
| OnPasswordNoLongerGenerated)
|
| + IPC_MESSAGE_HANDLER(AutofillHostMsg_PasswordFormForceSaveRequested,
|
| + OnPasswordFormForceSaveRequested)
|
| IPC_MESSAGE_FORWARD(AutofillHostMsg_ShowPasswordSuggestions,
|
| &password_autofill_manager_,
|
| PasswordAutofillManager::OnShowPasswordSuggestions)
|
| @@ -157,6 +164,11 @@ void ContentPasswordManagerDriver::OnPasswordFormSubmitted(
|
| GetPasswordManager()->OnPasswordFormSubmitted(this, password_form);
|
| }
|
|
|
| +void ContentPasswordManagerDriver::OnPasswordFormForceSaveRequested(
|
| + const autofill::PasswordForm& password_form) {
|
| + GetPasswordManager()->OnPasswordFormForceSaveRequested(this, password_form);
|
| +}
|
| +
|
| void ContentPasswordManagerDriver::DidNavigateFrame(
|
| const content::LoadCommittedDetails& details,
|
| const content::FrameNavigateParams& params) {
|
|
|