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

Issue 2852883002: Settings reset prompt: Fix crash when fetching default settings. (Closed)

Created:
3 years, 7 months ago by alito
Modified:
3 years, 7 months ago
Reviewers:
robertshield, robert
CC:
chromium-reviews, grt+watch_chromium.org, vakh+watch_chromium.org, timvolodine, alito+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings reset prompt: Fix crash when fetching default settings. When the Chrome installation has a brand code, the SettingsResetPromptModel may try to fetch default settings over the network. If the fetch fails, the ProfileResetter is passed a null pointer and any attempt to reset a setting will crash. BUG=716372 Review-Url: https://codereview.chromium.org/2852883002 Cr-Commit-Position: refs/heads/master@{#468270} Committed: https://chromium.googlesource.com/chromium/src/+/2f2f39f646d36d9c56b723666a50fdeed43f90c2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 11 (6 generated)
alito
PTAL!
3 years, 7 months ago (2017-05-01 00:36:23 UTC) #2
robertshield
lgtm, is this unit-testable?
3 years, 7 months ago (2017-05-01 01:43:03 UTC) #5
alito
On 2017/05/01 01:43:03, robertshield wrote: > lgtm, is this unit-testable? Will need some refactoring (I ...
3 years, 7 months ago (2017-05-01 01:50:00 UTC) #6
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/2852883002/1
3 years, 7 months ago (2017-05-01 01:50:20 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 02:49:32 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2f2f39f646d36d9c56b723666a50...

Powered by Google App Engine
This is Rietveld 408576698