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

Issue 17392009: [sync] Hide "Sync nothing" UI; Go back to signing out on dashboard clears and abandoned initial set… (Closed)

Created:
7 years, 6 months ago by Raghu Simha
Modified:
7 years, 5 months ago
CC:
chromium-reviews, haitaol1, arv+watch_chromium.org, tim (not reviewing), akalin
Visibility:
Public.

Description

[sync] Hide "Sync nothing" UI; Go back to signing out on dashboard clears and abandoned initial setup A new "Sync nothing" option was recently added to the advanced sync settings dialog. It allowed the user to stop syncing, but stay signed in. In addition, sign in and sync were separated, with the result that on a dashboard clear, the user would remain signed in, but would no longer have sync enabled. For M29, we've decided to hide this UI and revert to old sign-in/out behavior because there are other services that depend on the sync engine being up and running. This patch undoes a small number of these changes as listed below: 1) Hides the "Sync nothing" item in the advanced sync settings drop-down 2) Signs out the user if the user clicks "Choose what to sync" during initial setup, and then clicks cancel on the advanced dialog 3) Signs out the user when a dashboard clear is done 4) Signs out the user if the user clicks cancel while re-setting up sync after the dashboard clear 5) Reverts the status string shown when sync is cleared via the dashboard BUG=235633, 252049, 248877 TEST=No "Sync nothing" UI in advanced settings; user is signed out when sync is disabled on Desktop; Chrome OS strings back to M28 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209267

Patch Set 1 : #

Total comments: 2

Patch Set 2 : CR Feedback #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -12 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/resources/sync_setup_overlay.html View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Raghu Simha
Drew, please review. Thanks.
7 years, 6 months ago (2013-06-20 00:04:11 UTC) #1
Andrew T Wilson (Slow)
Mostly looks good - one question though. https://chromiumcodereview.appspot.com/17392009/diff/27002/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (right): https://chromiumcodereview.appspot.com/17392009/diff/27002/chrome/browser/ui/webui/sync_setup_handler.cc#newcode939 chrome/browser/ui/webui/sync_setup_handler.cc:939: if (was_signing_in ...
7 years, 6 months ago (2013-06-20 21:49:37 UTC) #2
Raghu Simha
Drew, PTAL. Thanks. cc Roger, FYI. https://codereview.chromium.org/17392009/diff/27002/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (right): https://codereview.chromium.org/17392009/diff/27002/chrome/browser/ui/webui/sync_setup_handler.cc#newcode939 chrome/browser/ui/webui/sync_setup_handler.cc:939: if (was_signing_in || ...
7 years, 6 months ago (2013-06-26 21:48:15 UTC) #3
Raghu Simha
Ping.
7 years, 5 months ago (2013-06-27 17:16:45 UTC) #4
Andrew T Wilson (Slow)
Sorry for the delay - I've been offsite for most of the last 2 weeks. ...
7 years, 5 months ago (2013-06-28 15:23:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsimha@chromium.org/17392009/78001
7 years, 5 months ago (2013-06-28 17:36:50 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=170894
7 years, 5 months ago (2013-06-28 23:52:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsimha@chromium.org/17392009/78001
7 years, 5 months ago (2013-06-29 01:09:33 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-06-29 01:55:25 UTC) #9
Message was sent while issue was closed.
Change committed as 209267

Powered by Google App Engine
This is Rietveld 408576698