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

Issue 382333002: Introduce ChannelMojo (Closed)

Created:
6 years, 5 months ago by Hajime Morrita
Modified:
6 years, 4 months ago
CC:
chromium-reviews, creis+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Introduce ChannelMojo This CL introduces ChannelMojo IPC::Channel implementation and optionally applies it for renderer-browser IPC channel. Current stability is like 5-seconds browser and There are rough edges. It often closes the channel so needs to be more robust. Even though the level of stability, having it in the tree will helps team to try and improve it. BUG=377980 R=darin@chromium.org,jam@chromium.org,viettrungluu@chromium.org TEST=ipc_channel_mojo_unittest.cc Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287402

Patch Set 1 #

Patch Set 2 : Fixing windows build failure #

Patch Set 3 : Split ipc_mojo.gyp out from ipc.gyp #

Patch Set 4 : Fixing build failures... #

Patch Set 5 : Fixing Mac build failure #

Total comments: 17

Patch Set 6 : Addressed comments #

Total comments: 5

Patch Set 7 : #

Patch Set 8 : Fixing build failures #

Patch Set 9 : Another build fix #

Total comments: 18

Patch Set 10 : #

Patch Set 11 : Fixing GN build #

Patch Set 12 : Fixing windows build failure #

Patch Set 13 : Fixing win64 failure #

Patch Set 14 : Renamed ChanelBuilder to ChannelFactory #

Total comments: 18

Patch Set 15 : Landing #

Patch Set 16 : Fixed GN failure #

Patch Set 17 : Praying #

Patch Set 18 : Fixed the problem. Need to apply crrev.com/422163004 #

Patch Set 19 : Landing #

Patch Set 20 : #

Patch Set 21 : #

Patch Set 22 : Fix ipc64 thing #

Patch Set 23 : Landing #

Patch Set 24 : Landing #

Patch Set 25 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1806 lines, -127 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 6 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +24 lines, -5 lines 0 comments Download
M content/child/child_thread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +13 lines, -2 lines 0 comments Download
M content/child/child_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +44 lines, -15 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +8 lines, -2 lines 0 comments Download
M content/utility/utility_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M ipc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 20 21 22 4 chunks +6 lines, -4 lines 0 comments Download
M ipc/ipc.gyp View 1 2 3 4 5 6 7 19 20 21 22 2 chunks +4 lines, -2 lines 0 comments Download
M ipc/ipc.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 19 20 21 22 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/ipc_channel.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -0 lines 2 comments Download
A ipc/ipc_channel_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +33 lines, -0 lines 0 comments Download
A ipc/ipc_channel_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +42 lines, -0 lines 0 comments Download
M ipc/ipc_channel_nacl.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M ipc/ipc_channel_posix.h View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M ipc/ipc_channel_posix.cc View 1 2 3 4 5 6 2 chunks +12 lines, -1 line 0 comments Download
M ipc/ipc_channel_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +8 lines, -2 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +25 lines, -9 lines 0 comments Download
M ipc/ipc_channel_reader.h View 2 chunks +3 lines, -2 lines 0 comments Download
M ipc/ipc_channel_reader.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ipc/ipc_channel_unittest.cc View 9 chunks +11 lines, -77 lines 0 comments Download
M ipc/ipc_channel_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/ipc_channel_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +10 lines, -0 lines 0 comments Download
M ipc/ipc_export.h View 20 21 22 1 chunk +15 lines, -0 lines 0 comments Download
M ipc/ipc_message.h View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_sync_channel.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -0 lines 0 comments Download
M ipc/ipc_sync_channel.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +14 lines, -0 lines 0 comments Download
M ipc/ipc_test_base.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ipc/ipc_test_base.cc View 2 chunks +13 lines, -0 lines 0 comments Download
A ipc/ipc_test_channel_listener.h View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
A ipc/ipc_test_channel_listener.cc View 1 2 3 4 5 1 chunk +62 lines, -0 lines 0 comments Download
M ipc/ipc_test_sink.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/ipc_test_sink.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
A ipc/mojo/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 20 21 22 1 chunk +41 lines, -0 lines 0 comments Download
A + ipc/mojo/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -1 line 0 comments Download
A ipc/mojo/ipc_channel_mojo.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 21 22 1 chunk +131 lines, -0 lines 0 comments Download
A ipc/mojo/ipc_channel_mojo.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +596 lines, -0 lines 0 comments Download
A ipc/mojo/ipc_channel_mojo_unittest.cc View 1 2 3 4 5 1 chunk +260 lines, -0 lines 0 comments Download
A ipc/mojo/ipc_message_pipe_reader.h View 1 2 3 4 5 6 7 8 9 1 chunk +98 lines, -0 lines 0 comments Download
A ipc/mojo/ipc_message_pipe_reader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +144 lines, -0 lines 0 comments Download
A ipc/mojo/ipc_mojo.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +68 lines, -0 lines 0 comments Download
A + ipc/mojo/run_all_unittests.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (0 generated)
Hajime Morrita
6 years, 5 months ago (2014-07-11 18:30:47 UTC) #1
viettrungluu
I haven't read through all of this change yet, but I want to send some ...
6 years, 5 months ago (2014-07-15 16:28:07 UTC) #2
Hajime Morrita
Thanks for the review Trung! I updated the CL. https://codereview.chromium.org/382333002/diff/80001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/382333002/diff/80001/ipc/ipc_channel.h#newcode176 ipc/ipc_channel.h:176: ...
6 years, 5 months ago (2014-07-15 18:46:18 UTC) #3
darin (slow to review)
Just some initial comments... I have much more to review... https://codereview.chromium.org/382333002/diff/100001/ipc/ipc_channel_builder.h File ipc/ipc_channel_builder.h (right): https://codereview.chromium.org/382333002/diff/100001/ipc/ipc_channel_builder.h#newcode17 ...
6 years, 5 months ago (2014-07-15 23:32:49 UTC) #4
Hajime Morrita
Thanks you for the review! I'll address these but before that... > https://codereview.chromium.org/382333002/diff/100001/ipc/ipc_channel_proxy.h#newcode75 > ipc/ipc_channel_proxy.h:75: ...
6 years, 5 months ago (2014-07-16 00:22:57 UTC) #5
Hajime Morrita
I updated the CL to address some of comments. Also I added a stability fix. ...
6 years, 5 months ago (2014-07-16 19:17:56 UTC) #6
viettrungluu
https://codereview.chromium.org/382333002/diff/160001/ipc/mojo/ipc_channel_mojo.cc File ipc/mojo/ipc_channel_mojo.cc (right): https://codereview.chromium.org/382333002/diff/160001/ipc/mojo/ipc_channel_mojo.cc#newcode89 ipc/mojo/ipc_channel_mojo.cc:89: class HelloMessage { Why do you need to send ...
6 years, 5 months ago (2014-07-17 15:11:55 UTC) #7
Hajime Morrita
Thanks for the review Trung! Could you take another look? https://codereview.chromium.org/382333002/diff/160001/ipc/mojo/ipc_channel_mojo.cc File ipc/mojo/ipc_channel_mojo.cc (right): https://codereview.chromium.org/382333002/diff/160001/ipc/mojo/ipc_channel_mojo.cc#newcode89 ...
6 years, 5 months ago (2014-07-17 18:32:13 UTC) #8
Hajime Morrita
PTAL? Now ChannelBuilder is renamed to ChannelFactory.
6 years, 5 months ago (2014-07-21 18:14:37 UTC) #9
Hajime Morrita
Darin: Ping? Rename is done, build error is gone.
6 years, 5 months ago (2014-07-22 22:02:59 UTC) #10
darin (slow to review)
https://codereview.chromium.org/382333002/diff/260001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/382333002/diff/260001/content/browser/renderer_host/render_process_host_impl.cc#newcode568 content/browser/renderer_host/render_process_host_impl.cc:568: bool RenderProcessHostImpl::IsMojoChannelEnabled() const { nit: these functions should be ...
6 years, 5 months ago (2014-07-23 23:03:33 UTC) #11
darin (slow to review)
LGTM w/ nits resolved.
6 years, 5 months ago (2014-07-23 23:04:07 UTC) #12
Hajime Morrita
Thanks for the review Darin! https://codereview.chromium.org/382333002/diff/260001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/382333002/diff/260001/content/browser/renderer_host/render_process_host_impl.cc#newcode568 content/browser/renderer_host/render_process_host_impl.cc:568: bool RenderProcessHostImpl::IsMojoChannelEnabled() const { ...
6 years, 5 months ago (2014-07-24 00:38:44 UTC) #13
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 5 months ago (2014-07-24 00:39:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/280001
6 years, 5 months ago (2014-07-24 00:41:34 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 05:59:15 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 06:03:34 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/25365) linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/28827)
6 years, 5 months ago (2014-07-24 06:03:36 UTC) #18
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 5 months ago (2014-07-24 16:51:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/300001
6 years, 5 months ago (2014-07-24 16:52:35 UTC) #20
darin (slow to review)
On 2014/07/24 00:38:44, morrita wrote: ... > https://codereview.chromium.org/382333002/diff/260001/ipc/ipc_export.h > File ipc/ipc_export.h (right): > > https://codereview.chromium.org/382333002/diff/260001/ipc/ipc_export.h#newcode20 ...
6 years, 5 months ago (2014-07-24 17:07:19 UTC) #21
Hajime Morrita
On 2014/07/24 17:07:19, darin wrote: > On 2014/07/24 00:38:44, morrita wrote: > ... > > ...
6 years, 5 months ago (2014-07-24 18:10:32 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 21:20:36 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 22:01:14 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel_swarming/builds/2090)
6 years, 5 months ago (2014-07-24 22:01:15 UTC) #25
Ken Russell (switch to Gerrit)
On 2014/07/24 21:20:36, I haz the power (commit-bot) wrote: > FYI, CQ is re-trying this ...
6 years, 5 months ago (2014-07-24 22:08:36 UTC) #26
Hajime Morrita
On 2014/07/24 22:08:36, Ken Russell wrote: > On 2014/07/24 21:20:36, I haz the power (commit-bot) ...
6 years, 5 months ago (2014-07-24 22:54:55 UTC) #27
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 5 months ago (2014-07-25 00:30:33 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/320001
6 years, 5 months ago (2014-07-25 00:32:14 UTC) #29
darin (slow to review)
On 2014/07/24 18:10:32, morrita wrote: > On 2014/07/24 17:07:19, darin wrote: > > On 2014/07/24 ...
6 years, 5 months ago (2014-07-25 03:43:00 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 5 months ago (2014-07-25 06:34:54 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-25 07:56:15 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/32695)
6 years, 5 months ago (2014-07-25 07:56:16 UTC) #33
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 4 months ago (2014-07-30 23:36:05 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/360001
6 years, 4 months ago (2014-07-30 23:38:54 UTC) #35
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 4 months ago (2014-07-31 00:45:54 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/380001
6 years, 4 months ago (2014-07-31 00:46:17 UTC) #37
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium.win ...
6 years, 4 months ago (2014-07-31 07:45:30 UTC) #38
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-31 08:01:57 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg/builds/1591)
6 years, 4 months ago (2014-07-31 08:01:58 UTC) #40
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 4 months ago (2014-07-31 20:28:48 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/400001
6 years, 4 months ago (2014-07-31 20:30:18 UTC) #42
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 4 months ago (2014-07-31 21:16:01 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/420001
6 years, 4 months ago (2014-07-31 21:19:17 UTC) #44
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-01 03:04:57 UTC) #45
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-01 03:15:16 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg/builds/1942)
6 years, 4 months ago (2014-08-01 03:15:18 UTC) #47
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 4 months ago (2014-08-02 01:01:15 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/440001
6 years, 4 months ago (2014-08-02 01:03:28 UTC) #49
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 4 months ago (2014-08-02 01:29:53 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/450049
6 years, 4 months ago (2014-08-02 01:30:30 UTC) #51
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-02 08:45:06 UTC) #52
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-02 08:54:41 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/2332)
6 years, 4 months ago (2014-08-02 08:54:43 UTC) #54
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 4 months ago (2014-08-04 18:05:57 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/382333002/470001
6 years, 4 months ago (2014-08-04 18:11:21 UTC) #56
commit-bot: I haz the power
Change committed as 287402
6 years, 4 months ago (2014-08-04 23:44:23 UTC) #57
Tom Sepez
https://codereview.chromium.org/382333002/diff/470001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/382333002/diff/470001/ipc/ipc_channel.h#newcode173 ipc/ipc_channel.h:173: // Get its own process id. This value is ...
6 years, 4 months ago (2014-08-07 18:36:22 UTC) #58
Hajime Morrita
6 years, 4 months ago (2014-08-07 19:58:21 UTC) #59
Message was sent while issue was closed.
Tom, thanks for taking a look!

https://codereview.chromium.org/382333002/diff/470001/ipc/ipc_channel.h
File ipc/ipc_channel.h (right):

https://codereview.chromium.org/382333002/diff/470001/ipc/ipc_channel.h#newco...
ipc/ipc_channel.h:173: // Get its own process id. This value is told to the
peer.
On 2014/08/07 18:36:22, Tom Sepez wrote:
> Can you elaborate on "this value is told to the peer."  Can an evil renderer
lie
> about this?
Yes it can, as it can do that for current IPC implementation. (modulo secret
number check.) This just follows what existing IPC::Channel implementation does.
 
> What happens then?
I don't know much about how the peer PID is used in the codebase.
One notable use it that this value is passed to
IPC::Listener::OnChannelConnected().

Powered by Google App Engine
This is Rietveld 408576698