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

Issue 15742014: [sync] Fix incorrectly grayed out "Disconnect your Google Account..." button (Closed)

Created:
7 years, 7 months ago by Raghu Simha
Modified:
7 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[sync] Fix incorrectly grayed out "Disconnect your Google Account..." button The "Disconnect your Google Account..." button in the settings page is supposed to be grayed out when sync setup is in progress, as indicated by ProfileSyncService::setup_in_progress_. Earlier, we were calling ProfileSyncService::SetSetupInProgress(false) under all circumstances from SyncSetupHandler::CloseSyncSetup(), but with r200867, we missed out on setting the value to false under some conditions. One example of the flag incorrectly remaining set to true occurs when the user enables encryption with a custom passphrase and then clears sync data via the dashboard. This patch adds a call to ProfileSyncService::SetSetupInProgress(false) from SyncSetupHandler::CloseSyncSetup() irrespective of why the settings dialog was closed. BUG=243078 TEST=Enable custom encryption, do a dashboard clear, and check the settings page Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202006

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/browser/ui/webui/sync_setup_handler.cc View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Raghu Simha
Drew, please review. Thanks.
7 years, 7 months ago (2013-05-22 23:05:42 UTC) #1
Raghu Simha
Looks like Drew is out. Roger, could you please review this?
7 years, 7 months ago (2013-05-23 17:51:09 UTC) #2
Raghu Simha
Looks like Roger is out too. Nicolas, could you take a look? Thanks.
7 years, 7 months ago (2013-05-23 20:56:14 UTC) #3
Nicolas Zea
lgtm
7 years, 7 months ago (2013-05-23 20:58:40 UTC) #4
Nicolas Zea
On 2013/05/23 20:58:40, Nicolas Zea wrote: > lgtm That said, I don't have ownership of ...
7 years, 7 months ago (2013-05-23 20:59:13 UTC) #5
Roger Tawa OOO till Jul 10th
lgtm
7 years, 7 months ago (2013-05-23 21:00:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsimha@chromium.org/15742014/8001
7 years, 7 months ago (2013-05-23 21:04:10 UTC) #7
commit-bot: I haz the power
7 years, 7 months ago (2013-05-24 07:25:15 UTC) #8
Message was sent while issue was closed.
Change committed as 202006

Powered by Google App Engine
This is Rietveld 408576698