|
PPAPI: Refactor MessageChannel to prep for sync postMessage
1) Remove unused CopyPPVar function from MessageChannel
2) Remove mostly-duplicate NPVariantToPPVar from MessageChannel.
3) Separate V8VarConverter::FromV8Value implementation from calling the callback (so I can have a sync path later, and this is shorter anyway).
4) Simplify NaCl in-process to out-of-process transition. Now, we just queue stuff for in-process (nobody but NaCl uses Messaging in-process), and if/when we switch to out-of-process (handing off to a NaCl app) we drain the queues then.
5) Some other renames/tweaks to how MessageChannel queues pending conversions.
BUG= 367896
R=raymes@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272583
Total comments: 12
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+278 lines, -272 lines) |
Patch |
 |
M |
chrome/renderer/chrome_content_renderer_client.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/nacl.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/nacl/renderer/nacl_helper.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/nacl/renderer/nacl_helper.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/renderer_ppapi_host.h
|
View
|
1
2
3
4
5
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/message_channel.h
|
View
|
1
2
|
4 chunks |
+23 lines, -28 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/message_channel.cc
|
View
|
1
2
3
4
5
|
12 chunks |
+88 lines, -188 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/mock_renderer_ppapi_host.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/mock_renderer_ppapi_host.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_instance_impl.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_instance_impl.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/renderer_ppapi_host_impl.h
|
View
|
1
2
3
4
5
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/renderer_ppapi_host_impl.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/resource_converter.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/resource_converter.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/v8_var_converter.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/v8_var_converter.cc
|
View
|
1
2
3
|
10 chunks |
+27 lines, -37 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|