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

Issue 2961673002: [sync] Fix IsSyncConfirmationNeeded crash when local backend is enabled (Closed)

Created:
3 years, 5 months ago by Patrick Noland
Modified:
3 years, 5 months ago
Reviewers:
skym
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[sync] Fix IsSyncConfirmationNeeded crash when local backend is enabled signin_ isn't present when local backend is enabled, so we need to avoid dereferencing it. Other call sites for IsSignedIn() do this check already. R=skym@chromium.org BUG=736118, 736241 Review-Url: https://codereview.chromium.org/2961673002 Cr-Commit-Position: refs/heads/master@{#482419} Committed: https://chromium.googlesource.com/chromium/src/+/09fba90138a1c3197d0568fec12ceb75217aedf3

Patch Set 1 #

Patch Set 2 : Fix cros test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M components/browser_sync/profile_sync_service.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/browser_sync/profile_sync_service_startup_unittest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/browser_sync/profile_sync_service_unittest.cc View 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (12 generated)
Patrick Noland
PTAL
3 years, 5 months ago (2017-06-26 20:51:58 UTC) #7
skym
lgtm
3 years, 5 months ago (2017-06-26 21:21:05 UTC) #9
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/2961673002/20001
3 years, 5 months ago (2017-06-26 21:34:43 UTC) #13
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 21:38:43 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/09fba90138a1c3197d0568fec12c...

Powered by Google App Engine
This is Rietveld 408576698