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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler.cc

Issue 11824021: [sync] [chromeos] Fix setup flow when sync data is cleared via dashboard and sync is set up again (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix unittests Created 7 years, 11 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
Index: chrome/browser/ui/webui/sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index fe275f9895d07f0a983a12b7936bef60ebf59660..657e064007fbb97df7ffbd26ddc4d874215fd826 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -393,8 +393,12 @@ void SyncSetupHandler::DisplayConfigureSync(bool show_advanced,
service->UnsuppressAndStart();
DisplaySpinner();
+
// To listen to the token available notifications, start SigninTracker.
- signin_tracker_.reset(new SigninTracker(GetProfile(), this));
+ signin_tracker_.reset(
+ new SigninTracker(GetProfile(),
+ this,
+ SigninTracker::SERVICES_INITIALIZING));
return;
}

Powered by Google App Engine
This is Rietveld 408576698