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

Issue 2944623003: Call SetApplicationIsDaemon() in V2 sandbox. (Closed)

Created:
3 years, 6 months ago by Greg K
Modified:
3 years, 5 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, mlamouri+watch-content_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Call SetApplicationIsDaemon() in V2 sandbox. Calls SetApplicationIsDaemon() to prevent crashing if LaunchServices cannot be connected to. This CL also allows the com.apple.lsdb.mapdb service which exposes the LaunchServices database. BUG=689306 Review-Url: https://codereview.chromium.org/2944623003 Cr-Commit-Position: refs/heads/master@{#485092} Committed: https://chromium.googlesource.com/chromium/src/+/2b5417ac028acd75faefeabd7102c6ebc37772f2

Patch Set 1 #

Patch Set 2 : Get rid of extra private #

Total comments: 2

Patch Set 3 : Move to renderer delegate #

Patch Set 4 : Call SetApplicationIsDaemon() in V2 sandbox. #

Total comments: 1

Patch Set 5 : Call disconnect window server in renderer delegate #

Patch Set 6 : Split warmup and initialization into separate phases #

Total comments: 7

Patch Set 7 : Add hook between warmup and initialization #

Patch Set 8 : Only execute callback if not-null #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -26 lines) Patch
M content/common/sandbox_init_mac.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M content/common/sandbox_init_mac.cc View 1 2 3 4 5 6 7 3 chunks +22 lines, -3 lines 0 comments Download
M content/common/sandbox_mac.mm View 1 2 3 4 2 chunks +0 lines, -21 lines 0 comments Download
M content/renderer/renderer_main_platform_delegate_mac.mm View 1 2 3 4 5 6 3 chunks +33 lines, -2 lines 0 comments Download
M content/renderer/renderer_v2.sb View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 58 (38 generated)
Greg K
PTAL. Thanks, Greg
3 years, 6 months ago (2017-06-16 18:50:15 UTC) #2
Robert Sesek
https://codereview.chromium.org/2944623003/diff/20001/content/common/sandbox_mac.mm File content/common/sandbox_mac.mm (right): https://codereview.chromium.org/2944623003/diff/20001/content/common/sandbox_mac.mm#newcode322 content/common/sandbox_mac.mm:322: SetApplicationIsDaemon(true); I think this call should just move to ...
3 years, 6 months ago (2017-06-16 19:28:59 UTC) #3
Greg K
https://codereview.chromium.org/2944623003/diff/20001/content/common/sandbox_mac.mm File content/common/sandbox_mac.mm (right): https://codereview.chromium.org/2944623003/diff/20001/content/common/sandbox_mac.mm#newcode322 content/common/sandbox_mac.mm:322: SetApplicationIsDaemon(true); On 2017/06/16 19:28:59, Robert Sesek wrote: > I ...
3 years, 6 months ago (2017-06-16 20:32:12 UTC) #6
Robert Sesek
LGTM
3 years, 6 months ago (2017-06-16 20:40:44 UTC) #7
Greg K
avi@chromium.org: Please review changes in PTAL at content/renderer Thanks, Greg
3 years, 5 months ago (2017-06-28 20:16:20 UTC) #19
Avi (use Gerrit)
lgtm
3 years, 5 months ago (2017-06-28 21:03:02 UTC) #20
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/2944623003/60001
3 years, 5 months ago (2017-06-28 21:21:32 UTC) #23
Robert Sesek
Failures on the trybots look legit. Did you test this locally? Maybe it's a 10.9 ...
3 years, 5 months ago (2017-06-28 21:33:57 UTC) #25
Greg K
On 2017/06/28 21:33:57, Robert Sesek wrote: > Failures on the trybots look legit. Did you ...
3 years, 5 months ago (2017-06-28 21:42:14 UTC) #26
Robert Sesek
On 2017/06/28 21:42:14, Greg K wrote: > On 2017/06/28 21:33:57, Robert Sesek wrote: > > ...
3 years, 5 months ago (2017-06-28 21:43:26 UTC) #27
Robert Sesek
https://codereview.chromium.org/2944623003/diff/60001/content/renderer/renderer_main_platform_delegate_mac.mm File content/renderer/renderer_main_platform_delegate_mac.mm (right): https://codereview.chromium.org/2944623003/diff/60001/content/renderer/renderer_main_platform_delegate_mac.mm#newcode135 content/renderer/renderer_main_platform_delegate_mac.mm:135: // Allow the process to continue without a LaunchServices ...
3 years, 5 months ago (2017-06-28 22:15:24 UTC) #28
Greg K
On 2017/06/28 22:15:24, Robert Sesek wrote: > https://codereview.chromium.org/2944623003/diff/60001/content/renderer/renderer_main_platform_delegate_mac.mm > File content/renderer/renderer_main_platform_delegate_mac.mm (right): > > https://codereview.chromium.org/2944623003/diff/60001/content/renderer/renderer_main_platform_delegate_mac.mm#newcode135 ...
3 years, 5 months ago (2017-06-30 00:46:16 UTC) #32
Robert Sesek
On 2017/06/30 00:46:16, Greg K wrote: > On 2017/06/28 22:15:24, Robert Sesek wrote: > > ...
3 years, 5 months ago (2017-06-30 16:06:50 UTC) #35
Greg K
On 2017/06/30 16:06:50, Robert Sesek wrote: > On 2017/06/30 00:46:16, Greg K wrote: > > ...
3 years, 5 months ago (2017-07-03 21:20:09 UTC) #40
Greg K
https://codereview.chromium.org/2944623003/diff/100001/content/renderer/renderer_main_platform_delegate_mac.mm File content/renderer/renderer_main_platform_delegate_mac.mm (right): https://codereview.chromium.org/2944623003/diff/100001/content/renderer/renderer_main_platform_delegate_mac.mm#newcode140 content/renderer/renderer_main_platform_delegate_mac.mm:140: // `ExplicitlyWarmupSandbox` and `ExplicitlyEnableSandbox` are no-ops I know there ...
3 years, 5 months ago (2017-07-03 21:26:08 UTC) #41
Robert Sesek
https://codereview.chromium.org/2944623003/diff/100001/content/common/sandbox_init_mac.h File content/common/sandbox_init_mac.h (right): https://codereview.chromium.org/2944623003/diff/100001/content/common/sandbox_init_mac.h#newcode21 content/common/sandbox_init_mac.h:21: void ExplicitlyWarmupSandbox(); I know this is probably temporary code, ...
3 years, 5 months ago (2017-07-06 21:28:09 UTC) #42
Greg K
https://codereview.chromium.org/2944623003/diff/100001/content/common/sandbox_init_mac.h File content/common/sandbox_init_mac.h (right): https://codereview.chromium.org/2944623003/diff/100001/content/common/sandbox_init_mac.h#newcode21 content/common/sandbox_init_mac.h:21: void ExplicitlyWarmupSandbox(); On 2017/07/06 21:28:09, Robert Sesek wrote: > ...
3 years, 5 months ago (2017-07-07 18:10:21 UTC) #45
Robert Sesek
LGTM
3 years, 5 months ago (2017-07-07 18:15:46 UTC) #46
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/2944623003/140001
3 years, 5 months ago (2017-07-07 23:13:00 UTC) #55
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 23:19:25 UTC) #58
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/2b5417ac028acd75faefeabd7102...

Powered by Google App Engine
This is Rietveld 408576698