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

Issue 2869473002: Fix crash on openning settings when DCHECK is on. (Closed)

Created:
3 years, 7 months ago by khmel
Modified:
3 years, 7 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul, James Cook
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash on openning settings when DCHECK is on. Use randomly generated settings app id in format used for app and extension identification. BUG=718987 Test=Manually Review-Url: https://codereview.chromium.org/2869473002 Cr-Commit-Position: refs/heads/master@{#469881} Committed: https://chromium.googlesource.com/chromium/src/+/5a006e9c8d2f5049f39f49a9280cc6cebb1a4ec3

Patch Set 1 #

Patch Set 2 : up #

Total comments: 9

Patch Set 3 : address comments #

Total comments: 4

Patch Set 4 : use new id for app list #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -32 lines) Patch
M ash/shelf/app_list_shelf_item_delegate.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/shelf/shelf_model_unittest.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 7 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc View 1 2 3 14 chunks +24 lines, -23 lines 0 comments Download
M chrome/browser/ui/ash/launcher/settings_window_observer.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
khmel
Hi PTAL Thanks!
3 years, 7 months ago (2017-05-05 19:44:00 UTC) #2
msw
Hey, this is interesting, I have a few questions: 1) Where did you get djpioaflnacfdgafjcjjbidfjclmdgnc? ...
3 years, 7 months ago (2017-05-05 19:58:51 UTC) #3
khmel
On 2017/05/05 19:58:51, msw wrote: > Hey, this is interesting, I have a few questions: ...
3 years, 7 months ago (2017-05-05 21:05:43 UTC) #4
khmel
https://codereview.chromium.org/2869473002/diff/20001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc (right): https://codereview.chromium.org/2869473002/diff/20001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc#newcode129 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc:129: constexpr char kAppListId[] = "eiiblffaiacobmjejhcoookmokblahea"; Not sure if we ...
3 years, 7 months ago (2017-05-05 21:05:51 UTC) #5
msw
Thanks for the explanations, I wasn't aware of this. https://codereview.chromium.org/2869473002/diff/20001/ash/shelf/app_list_shelf_item_delegate.cc File ash/shelf/app_list_shelf_item_delegate.cc (right): https://codereview.chromium.org/2869473002/diff/20001/ash/shelf/app_list_shelf_item_delegate.cc#newcode18 ash/shelf/app_list_shelf_item_delegate.cc:18: ...
3 years, 7 months ago (2017-05-05 21:45:04 UTC) #6
msw
Can you add tests that would have caught these crashes?
3 years, 7 months ago (2017-05-05 21:46:04 UTC) #7
khmel
Thanks for comments. Also added test coverage. https://codereview.chromium.org/2869473002/diff/20001/ash/shelf/app_list_shelf_item_delegate.cc File ash/shelf/app_list_shelf_item_delegate.cc (right): https://codereview.chromium.org/2869473002/diff/20001/ash/shelf/app_list_shelf_item_delegate.cc#newcode18 ash/shelf/app_list_shelf_item_delegate.cc:18: "eiiblffaiacobmjejhcoookmokblahea"; On ...
3 years, 7 months ago (2017-05-05 22:45:13 UTC) #8
msw
Nice, lgtm with minor nits; thanks! https://codereview.chromium.org/2869473002/diff/40001/ash/shelf/shelf_model_unittest.cc File ash/shelf/shelf_model_unittest.cc (right): https://codereview.chromium.org/2869473002/diff/40001/ash/shelf/shelf_model_unittest.cc#newcode18 ash/shelf/shelf_model_unittest.cc:18: constexpr char kAppListId[] ...
3 years, 7 months ago (2017-05-05 23:54:55 UTC) #9
khmel
Thank you for review and ideas! https://codereview.chromium.org/2869473002/diff/40001/ash/shelf/shelf_model_unittest.cc File ash/shelf/shelf_model_unittest.cc (right): https://codereview.chromium.org/2869473002/diff/40001/ash/shelf/shelf_model_unittest.cc#newcode18 ash/shelf/shelf_model_unittest.cc:18: constexpr char kAppListId[] ...
3 years, 7 months ago (2017-05-06 01:10:40 UTC) #10
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/2869473002/60001
3 years, 7 months ago (2017-05-06 01:11:16 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-06 19:20:21 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/5a006e9c8d2f5049f39f49a9280c...

Powered by Google App Engine
This is Rietveld 408576698