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

Issue 2971353002: [sync] Prevent flash of error icon while loading syncSetup page (Closed)

Created:
3 years, 5 months ago by Patrick Noland
Modified:
3 years, 5 months ago
Reviewers:
tommycli, skym
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[sync] Prevent flash of error icon while loading syncSetup page Profile sync service relies on the lifetime of SyncSetupInProgressHandles to determine if setup is in progress. Currently, none of these handles are alive in the period between the closure of the sync confirmation dialog and the loading of the sync setup page. This causes profile sync service to think that setup is both incomplete and not in progress, which surfaces an error icon on the avatar. This CL causes PeopleHandler to acquire its SyncSetupInProgressHandle earlier if it detects that it's navigating directly to the syncSetup page. R= BUG=738789 Review-Url: https://codereview.chromium.org/2971353002 Cr-Commit-Position: refs/heads/master@{#487236} Committed: https://chromium.googlesource.com/chromium/src/+/a7580295ea5bc9ae2c4c8c8d02821d56ecdc2af0

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename MaybeAcquireSyncBlocker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -53 lines) Patch
M chrome/browser/ui/webui/settings/people_handler.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/people_handler.cc View 1 4 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/people_handler_unittest.cc View 1 18 chunks +86 lines, -52 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
Patrick Noland
Sky, Tommy, PTAL
3 years, 5 months ago (2017-07-07 19:13:25 UTC) #7
skym
lgtm
3 years, 5 months ago (2017-07-07 19:29:51 UTC) #8
tommycli
lgtm with nit https://codereview.chromium.org/2971353002/diff/1/chrome/browser/ui/webui/settings/people_handler.cc File chrome/browser/ui/webui/settings/people_handler.cc (right): https://codereview.chromium.org/2971353002/diff/1/chrome/browser/ui/webui/settings/people_handler.cc#newcode697 chrome/browser/ui/webui/settings/people_handler.cc:697: void PeopleHandler::MaybeAcquireSyncBlocker() { I've been trained ...
3 years, 5 months ago (2017-07-17 16:44:23 UTC) #9
Patrick Noland
https://codereview.chromium.org/2971353002/diff/1/chrome/browser/ui/webui/settings/people_handler.cc File chrome/browser/ui/webui/settings/people_handler.cc (right): https://codereview.chromium.org/2971353002/diff/1/chrome/browser/ui/webui/settings/people_handler.cc#newcode697 chrome/browser/ui/webui/settings/people_handler.cc:697: void PeopleHandler::MaybeAcquireSyncBlocker() { On 2017/07/17 16:44:22, tommycli wrote: > ...
3 years, 5 months ago (2017-07-17 20:39:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2971353002/20001
3 years, 5 months ago (2017-07-17 20:39:12 UTC) #17
commit-bot: I haz the power
3 years, 5 months ago (2017-07-17 20:49:10 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a7580295ea5bc9ae2c4c8c8d0282...

Powered by Google App Engine
This is Rietveld 408576698