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

Issue 231793003: Add IPC Channel for new ManifestService. (Closed)

Created:
6 years, 8 months ago by hidehiko
Modified:
6 years, 8 months ago
CC:
chromium-reviews, hamaji, mazda, Junichi Uekawa, teravest, jam
Visibility:
Public.

Description

Add IPC Channel for new ManifestService. This CL adds a new IPC Channel between NaCl plugin and the renderer process with introducing ManifestService (in the plugin) and ManifestServiceChannel (in the renderer) as its end points. Currently, ManifestService is just an empty service. Its functions will be added in following CLs. The service will be used only for non-SFI mode as a first step. On other platforms, IPC Channel will not be created. TEST=Ran trybots. BUG=358431 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264477

Patch Set 1 : #

Total comments: 13

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -55 lines) Patch
M components/nacl.gyp View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M components/nacl/browser/nacl_process_host.h View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 3 4 5 4 chunks +10 lines, -4 lines 0 comments Download
M components/nacl/common/nacl_host_messages.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/common/nacl_messages.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M components/nacl/common/nacl_types.h View 1 2 3 4 5 2 chunks +11 lines, -5 lines 0 comments Download
M components/nacl/common/nacl_types.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 2 3 4 5 4 chunks +17 lines, -4 lines 0 comments Download
M components/nacl/loader/nonsfi/nonsfi_main.cc View 1 chunk +0 lines, -1 line 0 comments Download
A + components/nacl/renderer/manifest_service_channel.h View 1 2 3 4 5 3 chunks +8 lines, -9 lines 0 comments Download
A + components/nacl/renderer/manifest_service_channel.cc View 1 2 3 4 5 2 chunks +10 lines, -12 lines 0 comments Download
M components/nacl/renderer/nexe_load_manager.h View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M components/nacl/renderer/nexe_load_manager.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 4 5 5 chunks +76 lines, -11 lines 0 comments Download
M ppapi/nacl_irt/irt_start.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
A ppapi/nacl_irt/manifest_service.h View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A ppapi/nacl_irt/manifest_service.cc View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
M ppapi/nacl_irt/plugin_startup.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ppapi/nacl_irt/plugin_startup.cc View 1 2 3 4 5 6 2 chunks +46 lines, -2 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
hidehiko
Hi Mark, Dave, Thank you for review in advance, - hidehiko
6 years, 8 months ago (2014-04-10 04:05:07 UTC) #1
hidehiko
Julien, could you review nacl_messages.h and nacl_host_messages.h? Thanks, - hidehiko
6 years, 8 months ago (2014-04-10 06:02:14 UTC) #2
dmichael (off chromium)
https://codereview.chromium.org/231793003/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/231793003/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode108 components/nacl/renderer/ppb_nacl_private_impl.cc:108: struct LaunchSelLdrCompletionCallbackData : A brief description of what the ...
6 years, 8 months ago (2014-04-10 18:06:22 UTC) #3
hidehiko
Thank you for review. PTAL? https://codereview.chromium.org/231793003/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/231793003/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode108 components/nacl/renderer/ppb_nacl_private_impl.cc:108: struct LaunchSelLdrCompletionCallbackData : On ...
6 years, 8 months ago (2014-04-10 19:02:08 UTC) #4
jln (very slow on Chromium)
Unfortunately no-one in the security team is familiar with the NaCl IPC. I'll let someone ...
6 years, 8 months ago (2014-04-10 22:04:51 UTC) #5
dmichael (off chromium)
https://codereview.chromium.org/231793003/diff/20001/ppapi/nacl_irt/embedder_service.cc File ppapi/nacl_irt/embedder_service.cc (right): https://codereview.chromium.org/231793003/diff/20001/ppapi/nacl_irt/embedder_service.cc#newcode19 ppapi/nacl_irt/embedder_service.cc:19: io_message_loop, On 2014/04/10 19:02:08, hidehiko wrote: > On 2014/04/10 ...
6 years, 8 months ago (2014-04-10 23:14:37 UTC) #6
hidehiko
Thank you for review. Julian, thank you for reply. It sounds good to me. Please ...
6 years, 8 months ago (2014-04-11 16:28:29 UTC) #7
dmichael (off chromium)
lgtm https://codereview.chromium.org/231793003/diff/20001/ppapi/nacl_irt/embedder_service.cc File ppapi/nacl_irt/embedder_service.cc (right): https://codereview.chromium.org/231793003/diff/20001/ppapi/nacl_irt/embedder_service.cc#newcode19 ppapi/nacl_irt/embedder_service.cc:19: io_message_loop, On 2014/04/11 16:28:30, hidehiko wrote: > Thank ...
6 years, 8 months ago (2014-04-11 17:09:16 UTC) #8
dmichael (off chromium)
Sorry, not lgtm until we sort out the thread issue. I brought it up with ...
6 years, 8 months ago (2014-04-11 22:21:52 UTC) #9
hidehiko
On 2014/04/11 22:21:52, dmichael wrote: > Sorry, not lgtm until we sort out the thread ...
6 years, 8 months ago (2014-04-11 22:37:38 UTC) #10
Mark Seaborn
I'm not keen on the name "EmbedderService". All of the NaCl-related code in the Chromium ...
6 years, 8 months ago (2014-04-14 17:10:47 UTC) #11
hidehiko
Thank you for review, Mark. On 2014/04/14 17:10:47, Mark Seaborn wrote: > I'm not keen ...
6 years, 8 months ago (2014-04-14 17:16:20 UTC) #12
Mark Seaborn
On 14 April 2014 10:16, <hidehiko@chromium.org> wrote: > On 2014/04/14 17:10:47, Mark Seaborn wrote: > ...
6 years, 8 months ago (2014-04-14 17:27:26 UTC) #13
hidehiko
On 2014/04/14 17:27:26, Mark Seaborn wrote: > On 14 April 2014 10:16, <mailto:hidehiko@chromium.org> wrote: > ...
6 years, 8 months ago (2014-04-14 17:46:26 UTC) #14
Mark Seaborn
On 14 April 2014 10:46, <hidehiko@chromium.org> wrote: > On 2014/04/14 17:27:26, Mark Seaborn wrote: > ...
6 years, 8 months ago (2014-04-14 18:25:55 UTC) #15
dmichael (off chromium)
I'm fine with ManifestService/ManifestChannel or something. Alternatively, IRTRendererChannel, IRTServiceChannel, or something. On Mon, Apr 14, ...
6 years, 8 months ago (2014-04-14 22:03:44 UTC) #16
hidehiko
On 2014/04/14 22:03:44, dmichael wrote: > I'm fine with ManifestService/ManifestChannel or something. Alternatively, > IRTRendererChannel, ...
6 years, 8 months ago (2014-04-14 23:10:49 UTC) #17
dmichael (off chromium)
On 2014/04/14 23:10:49, hidehiko wrote: > On 2014/04/14 22:03:44, dmichael wrote: > > I'm fine ...
6 years, 8 months ago (2014-04-15 17:08:57 UTC) #18
hidehiko
On 2014/04/15 17:08:57, dmichael wrote: > On 2014/04/14 23:10:49, hidehiko wrote: > > On 2014/04/14 ...
6 years, 8 months ago (2014-04-15 18:17:29 UTC) #19
dmichael(do not use this one)
On Tue, Apr 15, 2014 at 12:17 PM, <hidehiko@chromium.org> wrote: > On 2014/04/15 17:08:57, dmichael ...
6 years, 8 months ago (2014-04-15 19:27:46 UTC) #20
hidehiko
Thank you for reply. Commented inline. (Removed old messages, as I hit the limit of ...
6 years, 8 months ago (2014-04-16 01:22:45 UTC) #21
dmichael (off chromium)
On Tue, Apr 15, 2014 at 7:22 PM, <hidehiko@chromium.org> wrote: > Thank you for reply. ...
6 years, 8 months ago (2014-04-16 15:38:21 UTC) #22
hidehiko
Updated the CL. PTAL? (Now trybots are running). Mark, I renamed the service to IrtService, ...
6 years, 8 months ago (2014-04-16 18:15:45 UTC) #23
Mark Seaborn
On 16 April 2014 11:15, <hidehiko@chromium.org> wrote: > Updated the CL. PTAL? (Now trybots are ...
6 years, 8 months ago (2014-04-16 18:22:51 UTC) #24
hidehiko
On 2014/04/16 18:22:51, Mark Seaborn wrote: > On 16 April 2014 11:15, <mailto:hidehiko@chromium.org> wrote: > ...
6 years, 8 months ago (2014-04-16 18:54:02 UTC) #25
dmichael (off chromium)
On 2014/04/16 18:54:02, hidehiko wrote: > On 2014/04/16 18:22:51, Mark Seaborn wrote: > > On ...
6 years, 8 months ago (2014-04-16 21:41:18 UTC) #26
hidehiko
On 2014/04/16 21:41:18, dmichael wrote: > On 2014/04/16 18:54:02, hidehiko wrote: > > On 2014/04/16 ...
6 years, 8 months ago (2014-04-16 22:42:17 UTC) #27
jln (very slow on Chromium)
*_messages.h lgtm based on dmichael and Mark's review, given that no new serialization / deserialization ...
6 years, 8 months ago (2014-04-16 23:34:51 UTC) #28
Mark Seaborn
On 15 April 2014 18:22, <hidehiko@chromium.org> wrote: > > I'm still not convinced it's a ...
6 years, 8 months ago (2014-04-17 00:06:15 UTC) #29
Mark Seaborn
LGTM
6 years, 8 months ago (2014-04-17 00:29:32 UTC) #30
hidehiko
The CQ bit was checked by hidehiko@chromium.org
6 years, 8 months ago (2014-04-17 02:19:42 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/231793003/220001
6 years, 8 months ago (2014-04-17 02:20:33 UTC) #32
commit-bot: I haz the power
6 years, 8 months ago (2014-04-17 12:17:19 UTC) #33
Message was sent while issue was closed.
Change committed as 264477

Powered by Google App Engine
This is Rietveld 408576698