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

Issue 10831273: Handle refresh on sync setup page. (Closed)

Created:
8 years, 4 months ago by Evan Stade
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Handle refresh on sync setup page. BUG=138338, 141682 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151405

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : clobber on reload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -16 lines) Patch
M chrome/browser/resources/sync_promo/sync_promo.js View 1 2 5 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Evan Stade
http://codereview.chromium.org/10831273/diff/2001/chrome/browser/resources/sync_promo/sync_promo.js File chrome/browser/resources/sync_promo/sync_promo.js (left): http://codereview.chromium.org/10831273/diff/2001/chrome/browser/resources/sync_promo/sync_promo.js#oldcode65 chrome/browser/resources/sync_promo/sync_promo.js:65: this.showSetupUI_(); this is redundant with the Initialize right below. ...
8 years, 4 months ago (2012-08-11 00:36:12 UTC) #1
Andrew T Wilson (Slow)
http://codereview.chromium.org/10831273/diff/2001/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc File chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc (right): http://codereview.chromium.org/10831273/diff/2001/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc#newcode215 chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc:215: DisplayGaiaLogin(false); Hmmm. Is this the correct thing to do ...
8 years, 4 months ago (2012-08-11 01:10:33 UTC) #2
Andrew T Wilson (Slow)
Hmmm, interesting. I see now that OpenSyncSetup(true) always just calls DisplayGaiaLogin(false) (since force_login == true). ...
8 years, 4 months ago (2012-08-11 01:27:09 UTC) #3
Evan Stade
The failure is that the page is blank on reload. I tried to fix this ...
8 years, 4 months ago (2012-08-11 01:28:55 UTC) #4
Evan Stade
On 2012/08/11 01:27:09, Andrew T Wilson wrote: > Hmmm, interesting. I see now that OpenSyncSetup(true) ...
8 years, 4 months ago (2012-08-11 01:37:45 UTC) #5
Andrew T Wilson (Slow)
It just seems like you're jumping through hoops to avoid the call to PrepareSyncSetup() in ...
8 years, 4 months ago (2012-08-11 01:56:42 UTC) #6
Evan Stade
ok, done.
8 years, 4 months ago (2012-08-11 02:32:11 UTC) #7
Andrew T Wilson (Slow)
On 2012/08/11 02:32:11, Evan Stade wrote: > ok, done. LGTM. Thanks.
8 years, 4 months ago (2012-08-13 17:00:26 UTC) #8
Dan Beam
8 years, 4 months ago (2012-08-13 19:16:29 UTC) #9
lgtm w/talk about event handlers

Powered by Google App Engine
This is Rietveld 408576698