Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4806)

Unified Diff: chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.cc

Issue 123263004: Fix the advanced link on signin bubble (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.cc b/chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.cc
index 988891dc95a9550a079b441082c4bc69732f6100..66e6bce412f63034d2d6c4ab5783066a0808709d 100644
--- a/chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.cc
+++ b/chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.cc
@@ -6,6 +6,7 @@
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_navigator.h"
+#include "chrome/browser/ui/chrome_pages.h"
#include "chrome/common/url_constants.h"
OneClickSigninBubbleLinksDelegate::OneClickSigninBubbleLinksDelegate(
@@ -23,9 +24,5 @@ void OneClickSigninBubbleLinksDelegate::OnLearnMoreLinkClicked(
}
void OneClickSigninBubbleLinksDelegate::OnAdvancedLinkClicked() {
- chrome::NavigateParams params(browser_,
- GURL(chrome::kChromeUISettingsURL),
- content::PAGE_TRANSITION_LINK);
- params.disposition = CURRENT_TAB;
- chrome::Navigate(&params);
+ chrome::ShowSettingsSubPage(browser_, chrome::kSyncSetupSubPage);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698