Commit aaa3dd8a authored by gcasto's avatar gcasto Committed by Commit bot

[Password Generation] Manage passwords link should point to local password store

BUG=422688

Review URL: https://codereview.chromium.org/650963002

Cr-Commit-Position: refs/heads/master@{#299373}
parent dee40192
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
#include "chrome/browser/ui/autofill/password_generation_popup_observer.h" #include "chrome/browser/ui/autofill/password_generation_popup_observer.h"
#include "chrome/browser/ui/autofill/password_generation_popup_view.h" #include "chrome/browser/ui/autofill/password_generation_popup_view.h"
#include "chrome/browser/ui/autofill/popup_constants.h" #include "chrome/browser/ui/autofill/popup_constants.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h" #include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/chrome_pages.h"
#include "chrome/common/url_constants.h" #include "chrome/common/url_constants.h"
#include "chrome/grit/chromium_strings.h" #include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h" #include "chrome/grit/generated_resources.h"
...@@ -214,12 +214,9 @@ void PasswordGenerationPopupControllerImpl::ViewDestroyed() { ...@@ -214,12 +214,9 @@ void PasswordGenerationPopupControllerImpl::ViewDestroyed() {
} }
void PasswordGenerationPopupControllerImpl::OnSavedPasswordsLinkClicked() { void PasswordGenerationPopupControllerImpl::OnSavedPasswordsLinkClicked() {
Browser* browser = chrome::ShowSettingsSubPage(
chrome::FindBrowserWithWebContents(controller_common_.web_contents()); chrome::FindBrowserWithWebContents(controller_common_.web_contents()),
content::OpenURLParams params( chrome::kPasswordManagerSubPage);
GURL(chrome::kPasswordManagerAccountDashboardURL), content::Referrer(),
NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_LINK, false);
browser->OpenURL(params);
} }
void PasswordGenerationPopupControllerImpl::SetSelectionAtPoint( void PasswordGenerationPopupControllerImpl::SetSelectionAtPoint(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment