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

Issue 2698683002: Forced ephemeral profile deletion on browser removal crash fix. (Closed)

Created:
3 years, 10 months ago by palar
Modified:
3 years, 9 months ago
CC:
chromium-reviews, rginda+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Forced ephemeral profile deletion on browser removal crash fix. Skiped all unnecessary activity actual to profile deletion from UI. All async activity is gone, and race on browser shutdown with it. BUG=691774 R=anthonyvd@chromium.org, bauerb@chromium.org Review-Url: https://codereview.chromium.org/2698683002 Cr-Commit-Position: refs/heads/master@{#454586} Committed: https://chromium.googlesource.com/chromium/src/+/47cf44bdd2b1242e75a2bb5945a9412c41f4073d

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed comment. #

Total comments: 11

Patch Set 3 : Review fixes. #

Patch Set 4 : Removed extra line. #

Patch Set 5 : Added DCHECK #

Total comments: 1

Patch Set 6 : Moved IsProfileEphemeral() declaration. #

Patch Set 7 : Fixed compilation and unittests. #

Patch Set 8 : Fixed ProfileManagerBrowserTest.EphemeralProfile checks. #

Patch Set 9 : Reverted last patch. #

Patch Set 10 : Changed active profile selection logic upon ephemeral profile deletion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -7 lines) Patch
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 8 9 4 chunks +44 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager_unittest.cc View 1 2 3 4 5 6 4 chunks +18 lines, -5 lines 0 comments Download

Messages

Total messages: 47 (14 generated)
palar
3 years, 10 months ago (2017-02-15 17:09:05 UTC) #1
Bernhard Bauer
+pastarmovj Thanks for the fast turnaround! https://codereview.chromium.org/2698683002/diff/1/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2698683002/diff/1/chrome/browser/profiles/profile_manager.cc#newcode818 chrome/browser/profiles/profile_manager.cc:818: FinishDeletingProfile(profile_dir, GenerateNextProfileDirectoryPath()); Just ...
3 years, 10 months ago (2017-02-15 18:03:30 UTC) #3
pastarmovj
On 2017/02/15 18:03:30, Bernhard Bauer wrote: > +pastarmovj > > Thanks for the fast turnaround! ...
3 years, 10 months ago (2017-02-15 18:19:01 UTC) #4
palar
https://codereview.chromium.org/2698683002/diff/1/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2698683002/diff/1/chrome/browser/profiles/profile_manager.cc#newcode818 chrome/browser/profiles/profile_manager.cc:818: FinishDeletingProfile(profile_dir, GenerateNextProfileDirectoryPath()); On 2017/02/15 18:03:30, Bernhard Bauer wrote: > ...
3 years, 10 months ago (2017-02-16 10:39:05 UTC) #5
pastarmovj
https://codereview.chromium.org/2698683002/diff/1/chrome/browser/profiles/profile_manager.h File chrome/browser/profiles/profile_manager.h (right): https://codereview.chromium.org/2698683002/diff/1/chrome/browser/profiles/profile_manager.h#newcode207 chrome/browser/profiles/profile_manager.h:207: // profileless. On 2017/02/16 10:39:04, palar wrote: > On ...
3 years, 10 months ago (2017-02-16 10:43:26 UTC) #6
palar
On 2017/02/16 10:43:26, pastarmovj wrote: > https://codereview.chromium.org/2698683002/diff/1/chrome/browser/profiles/profile_manager.h > File chrome/browser/profiles/profile_manager.h (right): > > https://codereview.chromium.org/2698683002/diff/1/chrome/browser/profiles/profile_manager.h#newcode207 > ...
3 years, 10 months ago (2017-02-16 10:57:44 UTC) #7
Bernhard Bauer
lgtm
3 years, 10 months ago (2017-02-16 11:55:25 UTC) #8
palar
Anthony, can you look at this issue.
3 years, 10 months ago (2017-02-17 11:25:33 UTC) #9
palar
+skuhne Still need owner approval.
3 years, 10 months ago (2017-02-20 10:06:26 UTC) #10
palar
3 years, 10 months ago (2017-02-20 10:07:48 UTC) #13
pastarmovj
On 2017/02/20 10:07:48, palar wrote: Monday was a public holiday in the US. I hope ...
3 years, 10 months ago (2017-02-21 10:15:17 UTC) #14
palar
On 2017/02/21 10:15:17, pastarmovj wrote: > On 2017/02/20 10:07:48, palar wrote: > > Monday was ...
3 years, 10 months ago (2017-02-24 09:31:01 UTC) #15
pastarmovj
On 2017/02/24 09:31:01, palar wrote: > On 2017/02/21 10:15:17, pastarmovj wrote: > > On 2017/02/20 ...
3 years, 9 months ago (2017-02-27 10:02:44 UTC) #16
palar
On 2017/02/27 10:02:44, pastarmovj wrote: > On 2017/02/24 09:31:01, palar wrote: > > On 2017/02/21 ...
3 years, 9 months ago (2017-03-01 09:47:27 UTC) #18
Mike Lerman
https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.cc#newcode817 chrome/browser/profiles/profile_manager.cc:817: const base::FilePath& profile_dir) { If this is supposed to ...
3 years, 9 months ago (2017-03-01 14:24:29 UTC) #19
palar
https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.cc#newcode817 chrome/browser/profiles/profile_manager.cc:817: const base::FilePath& profile_dir) { On 2017/03/01 14:24:29, Mike Lerman ...
3 years, 9 months ago (2017-03-01 16:51:44 UTC) #20
pastarmovj
https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.h File chrome/browser/profiles/profile_manager.h (right): https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.h#newcode206 chrome/browser/profiles/profile_manager.h:206: // Schedules the forced ephemeral profile at the given ...
3 years, 9 months ago (2017-03-01 16:54:25 UTC) #21
Mike Lerman
https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.cc#newcode1674 chrome/browser/profiles/profile_manager.cc:1674: // Delete if the profile is an ephemeral profile. ...
3 years, 9 months ago (2017-03-01 17:44:30 UTC) #22
Elliot Glaysher
(fyi: i can't review this; i'm a per-file reviewer in the owners file.)
3 years, 9 months ago (2017-03-01 18:36:03 UTC) #23
palar
On 2017/03/01 18:36:03, Elliot Glaysher wrote: > (fyi: i can't review this; i'm a per-file ...
3 years, 9 months ago (2017-03-01 19:00:59 UTC) #24
palar
On 2017/03/01 17:44:30, Mike Lerman wrote: > Ok. Palar, can you make sure this method ...
3 years, 9 months ago (2017-03-01 19:11:10 UTC) #25
palar
https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2698683002/diff/20001/chrome/browser/profiles/profile_manager.cc#newcode1674 chrome/browser/profiles/profile_manager.cc:1674: // Delete if the profile is an ephemeral profile. ...
3 years, 9 months ago (2017-03-01 19:11:22 UTC) #26
pastarmovj
On 2017/03/01 19:11:10, palar wrote: > On 2017/03/01 17:44:30, Mike Lerman wrote: > > Ok. ...
3 years, 9 months ago (2017-03-01 19:13:01 UTC) #27
Mike Lerman
LGTM https://codereview.chromium.org/2698683002/diff/80001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2698683002/diff/80001/chrome/browser/profiles/profile_manager.cc#newcode1731 chrome/browser/profiles/profile_manager.cc:1731: namespace { style nit, no strong preference: shouldn't ...
3 years, 9 months ago (2017-03-01 19:21:20 UTC) #28
palar
On 2017/03/01 19:21:20, Mike Lerman wrote: > LGTM > > https://codereview.chromium.org/2698683002/diff/80001/chrome/browser/profiles/profile_manager.cc > File chrome/browser/profiles/profile_manager.cc (right): ...
3 years, 9 months ago (2017-03-01 19:27:08 UTC) #29
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/2698683002/100001
3 years, 9 months ago (2017-03-01 19:28:26 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/220262) linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 9 months ago (2017-03-01 19:49:28 UTC) #34
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/2698683002/120001
3 years, 9 months ago (2017-03-02 11:23:51 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/399239)
3 years, 9 months ago (2017-03-02 12:15:39 UTC) #39
palar
On 2017/03/02 12:15:39, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 9 months ago (2017-03-03 14:10:43 UTC) #40
Bernhard Bauer
LGTM.
3 years, 9 months ago (2017-03-03 14:51:43 UTC) #41
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/2698683002/180001
3 years, 9 months ago (2017-03-03 14:56:09 UTC) #44
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 15:36:57 UTC) #47
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/47cf44bdd2b1242e75a2bb5945a9...

Powered by Google App Engine
This is Rietveld 408576698