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

Unified Diff: chrome/browser/extensions/app_notify_channel_ui.cc

Issue 8783001: Fix the sync sign in dialog issues for app notifications: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
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);
}
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | chrome/browser/sync/profile_sync_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698