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

Issue 1106453002: Fixed app launcher crashing trying to load guest profile. (Closed)

Created:
5 years, 8 months ago by Matt Giuca
Modified:
5 years, 7 months ago
CC:
chromium-reviews, tfarina, calamity, chrome-apps-syd-reviews_chromium.org, Bernhard Bauer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed app launcher crashing trying to load guest profile. Previously, if the user has never used the app launcher, and it loads while in a guest mode browser window, the browser would crash. This was particularly bad because it could happen during startup on Windows, even without explicitly opening the launcher (due to app list warmup). Now if the last used profile is the guest profile, just uses the default. Added DCHECKs on app list profile loads to ensure they are not guest profiles. BUG=468812 Committed: https://crrev.com/f5966937a7f7f8bc610ab2c86f3be0255371cf03 Cr-Commit-Position: refs/heads/master@{#330712}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Also check guest session and mac. #

Patch Set 3 : Rebase. #

Patch Set 4 : Remove the DCHECKs; crbug 416380 means they aren't always true. #

Patch Set 5 : Fix RefusesToLoadGuestLastUsedProfile (but I think it's useless now). #

Patch Set 6 : Rebase off https://codereview.chromium.org/1134533007. #

Patch Set 7 : Fix Windows compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -3 lines) Patch
M chrome/browser/ui/app_list/app_list_service_impl.cc View 1 2 2 chunks +19 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_mac.mm View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_unittest.cc View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_views.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_service_win.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (14 generated)
Matt Giuca
5 years, 8 months ago (2015-04-22 08:55:22 UTC) #2
Mike Lerman
Sorry for doing a drive-by ;) I see you've touched Windows and Views code. Is ...
5 years, 8 months ago (2015-04-22 13:27:39 UTC) #4
Matt Giuca
Added a CHECK in Mac. Haven't tested on Mac but I assume the test suite ...
5 years, 8 months ago (2015-04-24 04:51:04 UTC) #5
Matt Giuca
benwells: PTAL.
5 years, 8 months ago (2015-04-24 04:51:13 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106453002/20001
5 years, 8 months ago (2015-04-24 04:51:30 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/77016)
5 years, 8 months ago (2015-04-24 05:28:54 UTC) #10
Mike Lerman
Thanks, non-owner LGTM :)
5 years, 8 months ago (2015-04-24 12:27:11 UTC) #11
Matt Giuca
Damn, these tests are failing: AppListControllerBrowserTest.Incognito AppListControllerBrowserTest.RegularThenIncognito Because they are explicitly testing an incognito version ...
5 years, 8 months ago (2015-04-27 00:40:29 UTC) #12
tapted
On 2015/04/27 00:40:29, Matt Giuca wrote: > Damn, these tests are failing: > > AppListControllerBrowserTest.Incognito ...
5 years, 8 months ago (2015-04-27 06:46:31 UTC) #13
Mike Lerman
On 2015/04/27 06:46:31, tapted wrote: > On 2015/04/27 00:40:29, Matt Giuca wrote: > > Damn, ...
5 years, 8 months ago (2015-04-27 13:15:55 UTC) #14
tapted
On 2015/04/27 13:15:55, Mike Lerman wrote: > On 2015/04/27 06:46:31, tapted wrote: > > On ...
5 years, 8 months ago (2015-04-27 13:27:49 UTC) #15
Mike Lerman
On 2015/04/27 13:27:49, tapted wrote: > On 2015/04/27 13:15:55, Mike Lerman wrote: > > On ...
5 years, 8 months ago (2015-04-27 13:37:38 UTC) #16
Mike Lerman
Hi Dominic, Do you have thought about the App Launcher + Incognito profiles? Thanks, Mike
5 years, 8 months ago (2015-04-27 13:38:05 UTC) #17
battre
On 2015/04/27 13:38:05, Mike Lerman wrote: > Hi Dominic, > > Do you have thought ...
5 years, 7 months ago (2015-04-27 15:59:24 UTC) #18
Matt Giuca
Note to self: This code was cleaned up by bauerb's https://codereview.chromium.org/1113333003/ (but I don't think ...
5 years, 7 months ago (2015-05-13 06:10:24 UTC) #20
Matt Giuca
Confirmed that r329608 does not solve the issue (+bauerb for interest). Rebased onto ToT and ...
5 years, 7 months ago (2015-05-14 03:50:50 UTC) #21
Matt Giuca
So those DCHECKs were failing tests; turns out you can also trigger them in the ...
5 years, 7 months ago (2015-05-14 05:02:30 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106453002/100001
5 years, 7 months ago (2015-05-14 05:03:17 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/88824)
5 years, 7 months ago (2015-05-14 05:43:56 UTC) #28
Matt Giuca
Damn, I can't land this because AppListServiceTest is broken (just filed http://crbug.com/487951). RefusesToLoadGuestLastUsedProfile passes, but ...
5 years, 7 months ago (2015-05-14 08:17:54 UTC) #29
Matt Giuca
OK fixed! PTAL.
5 years, 7 months ago (2015-05-15 09:29:40 UTC) #30
Mike Lerman
still lgtm
5 years, 7 months ago (2015-05-15 13:02:41 UTC) #31
Matt Giuca
benwells: friendly ping
5 years, 7 months ago (2015-05-19 03:57:34 UTC) #32
benwells
lgtm, apologies for slowness
5 years, 7 months ago (2015-05-19 22:00:57 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106453002/140001
5 years, 7 months ago (2015-05-20 00:20:45 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/85522)
5 years, 7 months ago (2015-05-20 01:18:20 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106453002/160001
5 years, 7 months ago (2015-05-20 07:04:08 UTC) #41
commit-bot: I haz the power
Committed patchset #7 (id:160001)
5 years, 7 months ago (2015-05-20 07:52:58 UTC) #42
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 07:54:05 UTC) #43
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f5966937a7f7f8bc610ab2c86f3be0255371cf03
Cr-Commit-Position: refs/heads/master@{#330712}

Powered by Google App Engine
This is Rietveld 408576698