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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_login_handler.cc

Issue 8502007: Show sync setup when user clicks Advanced link in bubble (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/webui/ntp/ntp_login_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_login_handler.cc b/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
index 8e88fe62a8482914483dbe2ff4cde57eb091c47f..662fae13bd0554049ee9dae1d125ee9f101423ce 100644
--- a/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
@@ -128,7 +128,10 @@ void NTPLoginHandler::HandleLoginMessageSeen(const ListValue* args) {
}
void NTPLoginHandler::HandleShowAdvancedLoginUI(const ListValue* args) {
- Profile::FromWebUI(web_ui_)->GetProfileSyncService()->ShowLoginDialog();
James Hawkins 2011/11/08 16:55:44 What does ShowLoginDialog() do differently?
sail 2011/11/08 18:42:50 It calls SyncSetupWizard::Step(SyncSetupWizard::GA
+ std::string url(chrome::kChromeUISettingsURL);
+ url += chrome::kSyncSetupSubPage;
+ web_ui_->tab_contents()->OpenURL(GURL(url), GURL(), CURRENT_TAB,
+ content::PAGE_TRANSITION_LINK);
}
void NTPLoginHandler::UpdateLogin() {
« 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