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

Issue 1869473002: Fixed crash on double profile delete operation. (Closed)

Created:
4 years, 8 months ago by palar
Modified:
4 years, 7 months ago
CC:
chromium-reviews, rginda+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed crash on double profile delete operation. BUG=601049 R=anthonyvd@chromium.org, bauerb@chromium.org, dbeam@chromium.org, stevenjb@chromium.org, achuith@chromium.org, mlerman@chromium.org Committed: https://crrev.com/6b5e981164b2e466e023d960fa1452ebfb85eaf7 Cr-Commit-Position: refs/heads/master@{#393836}

Patch Set 1 #

Total comments: 1

Patch Set 2 : patch redone #

Total comments: 1

Patch Set 3 : Moved double deletion detection to earlier stage. #

Patch Set 4 : Added log message. #

Total comments: 1

Patch Set 5 : DeleteProfileAtPath use MaybeScheduleProfileForDeletion #

Total comments: 2

Patch Set 6 : #

Total comments: 2

Patch Set 7 : Review fixes. #

Total comments: 6

Patch Set 8 : review fixes. #

Patch Set 9 : review fixes. #

Total comments: 1

Patch Set 10 : param renaming. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -24 lines) Patch
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/create_profile_handler.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/sync_setup_handler.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/profile_helper.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/profile_helper.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/settings/people_handler.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/signin_create_profile_handler.cc View 1 2 3 4 5 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 1 chunk +4 lines, -8 lines 0 comments Download

Messages

Total messages: 49 (10 generated)
palar
4 years, 8 months ago (2016-04-06 15:50:51 UTC) #1
palar
On 2016/04/06 15:50:51, palar wrote: ping.
4 years, 8 months ago (2016-04-12 09:06:18 UTC) #2
anthonyvd
Sorry for the delay, I didn't see this review come in. https://codereview.chromium.org/1869473002/diff/1/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): ...
4 years, 8 months ago (2016-04-12 17:29:16 UTC) #3
palar
On 2016/04/12 17:29:16, anthonyvd wrote: > Sorry for the delay, I didn't see this review ...
4 years, 7 months ago (2016-04-28 16:09:06 UTC) #4
palar
On 2016/04/28 16:09:06, palar wrote: > On 2016/04/12 17:29:16, anthonyvd wrote: > > Sorry for ...
4 years, 7 months ago (2016-05-04 10:46:30 UTC) #5
anthonyvd
lgtm
4 years, 7 months ago (2016-05-04 12:13:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869473002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869473002/20001
4 years, 7 months ago (2016-05-04 12:18:47 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/177373)
4 years, 7 months ago (2016-05-04 12:25:33 UTC) #10
palar
On 2016/05/04 12:25:33, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-04 12:34:17 UTC) #12
palar
Ping.
4 years, 7 months ago (2016-05-05 09:40:39 UTC) #14
Bernhard Bauer
Sorry, adding a reviewer does not automatically send out emails, so I didn't see this. ...
4 years, 7 months ago (2016-05-05 10:06:47 UTC) #15
palar
On 2016/05/05 10:06:47, Bernhard Bauer wrote: > Sorry, adding a reviewer does not automatically send ...
4 years, 7 months ago (2016-05-05 10:17:17 UTC) #16
Bernhard Bauer
On 2016/05/05 10:17:17, palar wrote: > On 2016/05/05 10:06:47, Bernhard Bauer wrote: > > Sorry, ...
4 years, 7 months ago (2016-05-05 10:27:54 UTC) #17
palar
On 2016/05/05 10:27:54, Bernhard Bauer wrote: > On 2016/05/05 10:17:17, palar wrote: > > On ...
4 years, 7 months ago (2016-05-05 11:37:44 UTC) #18
Bernhard Bauer
On 2016/05/05 11:37:44, palar wrote: > On 2016/05/05 10:27:54, Bernhard Bauer wrote: > > On ...
4 years, 7 months ago (2016-05-05 16:17:54 UTC) #19
palar
On 2016/05/05 16:17:54, Bernhard Bauer wrote: > > So, here's what I would suggest: > ...
4 years, 7 months ago (2016-05-06 09:58:59 UTC) #20
Bernhard Bauer
On 2016/05/06 09:58:59, palar wrote: > On 2016/05/05 16:17:54, Bernhard Bauer wrote: > > > ...
4 years, 7 months ago (2016-05-06 11:07:05 UTC) #21
palar
On 2016/05/06 11:07:05, Bernhard Bauer wrote: > On 2016/05/06 09:58:59, palar wrote: > > On ...
4 years, 7 months ago (2016-05-06 11:12:36 UTC) #22
palar
On 2016/05/06 11:07:05, Bernhard Bauer wrote: > We don't have IsProfileMarkedForDeletion() outside of ProfileManager, but ...
4 years, 7 months ago (2016-05-06 11:41:05 UTC) #23
Bernhard Bauer
On 2016/05/06 11:12:36, palar wrote: > On 2016/05/06 11:07:05, Bernhard Bauer wrote: > > On ...
4 years, 7 months ago (2016-05-09 14:04:04 UTC) #24
palar
On 2016/05/09 14:04:04, Bernhard Bauer wrote: > Oh, good catch. That one probably should go ...
4 years, 7 months ago (2016-05-10 11:07:24 UTC) #25
Bernhard Bauer
On 2016/05/10 11:07:24, palar wrote: > On 2016/05/09 14:04:04, Bernhard Bauer wrote: > > Oh, ...
4 years, 7 months ago (2016-05-11 17:56:56 UTC) #26
palar
On 2016/05/11 17:56:56, Bernhard Bauer wrote: > OK... could we name the method something like ...
4 years, 7 months ago (2016-05-12 11:21:49 UTC) #29
Bernhard Bauer
Nice! Just some nits now: https://codereview.chromium.org/1869473002/diff/80001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/1869473002/diff/80001/chrome/browser/profiles/profile_manager.cc#newcode733 chrome/browser/profiles/profile_manager.cc:733: LOG(WARNING) << "Profile already ...
4 years, 7 months ago (2016-05-12 12:06:23 UTC) #30
palar
On 2016/05/12 12:06:23, Bernhard Bauer wrote: > Nice! Just some nits now: > > https://codereview.chromium.org/1869473002/diff/80001/chrome/browser/profiles/profile_manager.cc ...
4 years, 7 months ago (2016-05-12 12:20:58 UTC) #31
Bernhard Bauer
lgtm
4 years, 7 months ago (2016-05-12 12:29:12 UTC) #32
stevenjb
lgtm w/ nit+suggestion https://codereview.chromium.org/1869473002/diff/100001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/1869473002/diff/100001/chrome/browser/profiles/profile_manager.cc#newcode741 chrome/browser/profiles/profile_manager.cc:741: DCHECK(profiles::IsMultipleProfilesEnabled()); We should probably add CHECK(!IsProfileMarkedForDeletion(profile_dir)) ...
4 years, 7 months ago (2016-05-12 15:53:00 UTC) #33
palar
On 2016/05/12 15:53:00, stevenjb wrote: > lgtm w/ nit+suggestion > > https://codereview.chromium.org/1869473002/diff/100001/chrome/browser/profiles/profile_manager.cc > File chrome/browser/profiles/profile_manager.cc ...
4 years, 7 months ago (2016-05-12 16:24:02 UTC) #34
achuithb
https://codereview.chromium.org/1869473002/diff/120001/chrome/browser/profiles/profile_manager.h File chrome/browser/profiles/profile_manager.h (right): https://codereview.chromium.org/1869473002/diff/120001/chrome/browser/profiles/profile_manager.h#newcode194 chrome/browser/profiles/profile_manager.h:194: bool MaybeScheduleProfileForDeletion(const base::FilePath& profile_dir, comment should say something about ...
4 years, 7 months ago (2016-05-12 22:33:59 UTC) #35
Dan Beam
https://codereview.chromium.org/1869473002/diff/120001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/1869473002/diff/120001/chrome/browser/profiles/profile_manager.cc#newcode742 chrome/browser/profiles/profile_manager.cc:742: CHECK(!IsProfileMarkedForDeletion(profile_dir)); sooooo, why can't we just do: if (IsProfileMarkedForDeletion(profile_dir)) ...
4 years, 7 months ago (2016-05-13 03:37:40 UTC) #36
Dan Beam
https://codereview.chromium.org/1869473002/diff/60001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/1869473002/diff/60001/chrome/browser/profiles/profile_manager.cc#newcode737 chrome/browser/profiles/profile_manager.cc:737: return; i vote for this solution but without error ...
4 years, 7 months ago (2016-05-13 03:39:31 UTC) #37
palar
On 2016/05/12 22:33:59, achuithb wrote: > https://codereview.chromium.org/1869473002/diff/120001/chrome/browser/profiles/profile_manager.h > File chrome/browser/profiles/profile_manager.h (right): > > https://codereview.chromium.org/1869473002/diff/120001/chrome/browser/profiles/profile_manager.h#newcode194 > ...
4 years, 7 months ago (2016-05-13 09:12:59 UTC) #38
palar
On 2016/05/13 03:37:40, Dan Beam wrote: > https://codereview.chromium.org/1869473002/diff/120001/chrome/browser/profiles/profile_manager.cc > File chrome/browser/profiles/profile_manager.cc (right): > > https://codereview.chromium.org/1869473002/diff/120001/chrome/browser/profiles/profile_manager.cc#newcode742 ...
4 years, 7 months ago (2016-05-13 09:21:39 UTC) #39
Bernhard Bauer
On 2016/05/13 09:21:39, palar wrote: > On 2016/05/13 03:37:40, Dan Beam wrote: > > > ...
4 years, 7 months ago (2016-05-13 09:37:54 UTC) #40
Mike Lerman
lgtm https://codereview.chromium.org/1869473002/diff/160001/chrome/browser/ui/webui/profile_helper.cc File chrome/browser/ui/webui/profile_helper.cc (right): https://codereview.chromium.org/1869473002/diff/160001/chrome/browser/ui/webui/profile_helper.cc#newcode31 chrome/browser/ui/webui/profile_helper.cc:31: ProfileMetrics::ProfileDelete user) { nit: user's not the best ...
4 years, 7 months ago (2016-05-13 13:21:33 UTC) #41
palar
On 2016/05/13 13:21:33, Mike Lerman wrote: > lgtm > > https://codereview.chromium.org/1869473002/diff/160001/chrome/browser/ui/webui/profile_helper.cc > File chrome/browser/ui/webui/profile_helper.cc (right): ...
4 years, 7 months ago (2016-05-13 13:32:51 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869473002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869473002/180001
4 years, 7 months ago (2016-05-16 14:29:58 UTC) #45
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 7 months ago (2016-05-16 15:32:03 UTC) #47
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 15:33:45 UTC) #49
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6b5e981164b2e466e023d960fa1452ebfb85eaf7
Cr-Commit-Position: refs/heads/master@{#393836}

Powered by Google App Engine
This is Rietveld 408576698