|
PPAPI: Make PPP_MessageHandler work in PNaCl
The PNaCl ABI does not work in general with passing structs by-value.
Rather than add more complication to the shim, this changes
HandleBlockingMessage's parameter to a const-pointer param, and the return
to an out-param by pointer.
Note I wanted to pass PP_Var by const-pointer, while its "default" is
by value. So I added a new "constptr_in" param style.
(Maybe I should invert that and add a byvalue instead?)
Verified backwards compat with manual testing.
BUG= 384539
R=asvitkine@chromium.org, binji@chromium.org, teravest@chromium.org
Committed: https://crrev.com/970fa0cfd701760b7dda55de4233d614646d5c71
Cr-Commit-Position: refs/heads/master@{#295341}
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+363 lines, -105 lines) |
Patch |
|
M |
chrome/browser/component_updater/ppapi_utils.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/ppapi/ppapi_browsertest.cc
|
View
|
|
2 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_plugin_instance_impl.h
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_plugin_instance_impl.cc
|
View
|
1
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/examples/pepper_container_app/plugin_instance.h
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/examples/pepper_container_app/plugin_instance.cc
|
View
|
1
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
native_client_sdk/src/libraries/ppapi/library.dsc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/api/ppb_messaging.idl
|
View
|
1
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
ppapi/api/ppp_message_handler.idl
|
View
|
|
3 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
A |
ppapi/c/dev/ppb_messaging_deprecated.h
|
View
|
1
2
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/c/ppb_messaging.h
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
ppapi/c/ppp_message_handler.h
|
View
|
|
4 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
ppapi/generators/idl_c_proto.py
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
View
|
|
7 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/interface_list.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/message_handler.h
|
View
|
1
|
3 chunks |
+19 lines, -3 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/message_handler.cc
|
View
|
1
|
7 chunks |
+114 lines, -5 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppb_instance_proxy.h
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppb_instance_proxy.cc
|
View
|
1
|
2 chunks |
+20 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/tests/test_message_handler.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ppapi/tests/test_message_handler.cc
|
View
|
1
|
9 chunks |
+23 lines, -22 lines |
0 comments
|
Download
|
|
M |
ppapi/thunk/interfaces_ppb_public_dev_channel.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/thunk/ppb_instance_api.h
|
View
|
1
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
ppapi/thunk/ppb_messaging_thunk.cc
|
View
|
1
|
4 chunks |
+36 lines, -9 lines |
0 comments
|
Download
|
|
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 16 (5 generated)
|