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

Issue 736233002: Remove bare extension pointer from platform app launcher code. (Closed)

Created:
6 years, 1 month ago by benwells
Modified:
6 years, 1 month ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove bare extension pointer from platform app launcher code. The bare pointer could cause crashes if the extension is uninstalled (thus being deleted) while the launch logic is progressing on the FILE thread; storing an extension ID prevents this. BUG=372270 Committed: https://crrev.com/8af39484cdb143fd4d811cf404a41f18c5cb2abe Cr-Commit-Position: refs/heads/master@{#304993}

Patch Set 1 #

Patch Set 2 : Add blank line #

Total comments: 8

Patch Set 3 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -23 lines) Patch
M apps/launcher.cc View 1 2 8 chunks +42 lines, -23 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
benwells
6 years, 1 month ago (2014-11-20 05:50:17 UTC) #2
tapted
just one question really. also might be worth clarifying in the description why a crash ...
6 years, 1 month ago (2014-11-20 06:15:29 UTC) #3
benwells
https://codereview.chromium.org/736233002/diff/20001/apps/launcher.cc File apps/launcher.cc (right): https://codereview.chromium.org/736233002/diff/20001/apps/launcher.cc#newcode118 apps/launcher.cc:118: DCHECK_CURRENTLY_ON(BrowserThread::UI); On 2014/11/20 06:15:29, tapted wrote: > nit: maybe ...
6 years, 1 month ago (2014-11-20 07:07:18 UTC) #4
tapted
lgtm
6 years, 1 month ago (2014-11-20 07:13:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/736233002/40001
6 years, 1 month ago (2014-11-20 07:48:32 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-20 08:32:39 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 08:33:18 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8af39484cdb143fd4d811cf404a41f18c5cb2abe
Cr-Commit-Position: refs/heads/master@{#304993}

Powered by Google App Engine
This is Rietveld 408576698