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

Issue 2516613002: Profile deletion: prevent profile creation race in dying browser. (Closed)

Created:
4 years, 1 month ago by palar
Modified:
4 years ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Profile deletion: prevent profile creation race in dying browser. When sole profile deleted, browser can become windowless and be closed. In the same time expected a new profile to be created and opened in new window. If profile creation will lose the race - browser will be closed, and probably profile deletion will not happened, otherwise browser will be switched on new profile as expected. BUG= R=anthonyvd@chromium.org, bauerb@chromium.org Committed: https://crrev.com/1e6671aafd8e7d7a10c34cf82164b264179c4b0a Cr-Commit-Position: refs/heads/master@{#434464}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M chrome/browser/lifetime/keep_alive_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/lifetime/keep_alive_types.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/create_profile_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/profile_helper.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/profile_helper.cc View 1 3 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (17 generated)
palar
4 years, 1 month ago (2016-11-18 12:00:06 UTC) #1
Bernhard Bauer
Mostly nits, and some additional cleanup that could potentially be done in a followup CL: ...
4 years, 1 month ago (2016-11-18 13:31:31 UTC) #2
anthonyvd
lgtm % bauerb@'s comment about the parameters to OpenNewWindowForProfile.
4 years, 1 month ago (2016-11-18 14:42:11 UTC) #3
palar
On 2016/11/18 14:42:11, anthonyvd wrote: > lgtm % bauerb@'s comment about the parameters to OpenNewWindowForProfile. ...
4 years, 1 month ago (2016-11-18 15:18:32 UTC) #4
Bernhard Bauer
lgtm
4 years, 1 month ago (2016-11-18 15:32:06 UTC) #5
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/2516613002/20001
4 years, 1 month ago (2016-11-21 09:55:11 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/309314)
4 years, 1 month ago (2016-11-21 10:01:15 UTC) #10
palar
On 2016/11/21 10:01:15, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-11-21 10:12:53 UTC) #13
jochen (gone - plz use gerrit)
chrome/browser/lifetime lgtm
4 years, 1 month ago (2016-11-21 11:12:02 UTC) #14
palar
On 2016/11/21 11:12:02, jochen wrote: > chrome/browser/lifetime lgtm Add more reviewers for chrome/browser/ui/webui/options/create_profile_handler.cc
4 years ago (2016-11-23 16:23:55 UTC) #16
stevenjb
chrome/browser/ui/webui/options lgtm
4 years ago (2016-11-23 22:04:00 UTC) #17
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/2516613002/20001
4 years ago (2016-11-24 08:02:54 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years ago (2016-11-24 10:04:12 UTC) #21
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/2516613002/20001
4 years ago (2016-11-24 10:28:32 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years ago (2016-11-24 12:29:21 UTC) #26
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/2516613002/20001
4 years ago (2016-11-24 13:52:37 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/304187)
4 years ago (2016-11-24 15:56:49 UTC) #30
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/2516613002/20001
4 years ago (2016-11-25 08:32:28 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-25 09:21:51 UTC) #35
commit-bot: I haz the power
4 years ago (2016-11-25 09:23:55 UTC) #37
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1e6671aafd8e7d7a10c34cf82164b264179c4b0a
Cr-Commit-Position: refs/heads/master@{#434464}

Powered by Google App Engine
This is Rietveld 408576698