Index: chrome/browser/extensions/app_notify_channel_ui.cc |
=================================================================== |
--- chrome/browser/extensions/app_notify_channel_ui.cc (revision 112743) |
+++ chrome/browser/extensions/app_notify_channel_ui.cc (working copy) |
@@ -114,7 +114,9 @@ |
void AppNotifyChannelUIImpl::OnInfoBarResult(bool accepted) { |
if (accepted) { |
StartObservingSync(); |
- browser_->ShowSyncSetup(); |
+ ProfileSyncService* service = |
+ browser_->profile()->GetOriginalProfile()->GetProfileSyncService(); |
+ service->ShowLoginDialog(); |
Andrew T Wilson (Slow)
2011/12/02 21:55:41
Do we need to worry about non-desktop platforms? S
Munjal (Google)
2011/12/03 01:25:33
On CrOS, the user will be logged in after Chrome u
|
} else { |
delegate_->OnSyncSetupResult(false); |
} |