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

Issue 2762293002: Avoid segfault for missing StateKeysBroker (Closed)

Created:
3 years, 9 months ago by Thiemo Nagel
Modified:
3 years, 9 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, zentaro
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid segfault for missing StateKeysBroker This should work around the problem until the root cause has been fixed. (Also remove somewhat irritating curly braces from switch cases.) BUG=703658 Review-Url: https://codereview.chromium.org/2762293002 Cr-Commit-Position: refs/heads/master@{#458739} Committed: https://chromium.googlesource.com/chromium/src/+/ec080c375b6006502f1b37145761fd3a1da29469

Patch Set 1 #

Patch Set 2 : Fix error messages #

Total comments: 4

Patch Set 3 : Add reference to crbug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -14 lines) Patch
M chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc View 1 2 1 chunk +19 lines, -14 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Thiemo Nagel
Hi Drew, could you please take a look? (Owners are scarce here.) Thank you, Thiemo
3 years, 9 months ago (2017-03-21 19:43:32 UTC) #7
Roman Sorokin (ftl)
lgtm
3 years, 9 months ago (2017-03-21 21:35:32 UTC) #10
Thiemo Nagel
3 years, 9 months ago (2017-03-22 13:10:59 UTC) #12
bartfab (slow)
lgtm https://codereview.chromium.org/2762293002/diff/20001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc File chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc (right): https://codereview.chromium.org/2762293002/diff/20001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc#newcode220 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc:220: policy::ServerBackedStateKeysBroker* state_keys_broker = Nit: const https://codereview.chromium.org/2762293002/diff/20001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc#newcode226 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc:226: // ...
3 years, 9 months ago (2017-03-22 13:17:09 UTC) #13
Thiemo Nagel
Thanks a lot for the quick review! https://codereview.chromium.org/2762293002/diff/20001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc File chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc (right): https://codereview.chromium.org/2762293002/diff/20001/chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc#newcode220 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc:220: policy::ServerBackedStateKeysBroker* state_keys_broker ...
3 years, 9 months ago (2017-03-22 13:23:00 UTC) #14
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/2762293002/40001
3 years, 9 months ago (2017-03-22 13:23:24 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 14:02:00 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ec080c375b6006502f1b37145761...

Powered by Google App Engine
This is Rietveld 408576698