Commit 74026b52 authored by guohui@chromium.org's avatar guohui@chromium.org

Fix the advanced link on signin bubble

BUG=331184

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243405 0039d316-1c4b-4281-b951-d872f2087c98
parent ffdba1ee
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_navigator.h" #include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/chrome_pages.h"
#include "chrome/common/url_constants.h" #include "chrome/common/url_constants.h"
OneClickSigninBubbleLinksDelegate::OneClickSigninBubbleLinksDelegate( OneClickSigninBubbleLinksDelegate::OneClickSigninBubbleLinksDelegate(
...@@ -23,9 +24,5 @@ void OneClickSigninBubbleLinksDelegate::OnLearnMoreLinkClicked( ...@@ -23,9 +24,5 @@ void OneClickSigninBubbleLinksDelegate::OnLearnMoreLinkClicked(
} }
void OneClickSigninBubbleLinksDelegate::OnAdvancedLinkClicked() { void OneClickSigninBubbleLinksDelegate::OnAdvancedLinkClicked() {
chrome::NavigateParams params(browser_, chrome::ShowSettingsSubPage(browser_, chrome::kSyncSetupSubPage);
GURL(chrome::kChromeUISettingsURL),
content::PAGE_TRANSITION_LINK);
params.disposition = CURRENT_TAB;
chrome::Navigate(&params);
} }
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