Chromium Code Reviews| 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() { |