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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc

Issue 10831273: Handle refresh on sync setup page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clobber on reload Created 8 years, 4 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
« no previous file with comments | « chrome/browser/resources/sync_promo/sync_promo.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
index c4dc04f9c5d4a119a8ecdec839edb633d41b2991..d685dc8b8ef3b41673172688a493364f67953d17 100644
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
@@ -209,10 +209,6 @@ void SyncPromoHandler::HandleCloseSyncPromo(const base::ListValue* args) {
}
void SyncPromoHandler::HandleInitializeSyncPromo(const base::ListValue* args) {
- // If this is a page reload, then we have to inform the login service
- // the old UI closed. If this is an initial load, this call will do nothing.
- GetLoginUIService()->LoginUIClosed(this);
-
// Open the sync wizard to the login screen.
OpenSyncSetup(true);
// We don't need to compute anything for this, just do this every time.
« no previous file with comments | « chrome/browser/resources/sync_promo/sync_promo.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698