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

Issue 264303002: PPAPI: Implement synchronous postMessage (Closed)

Created:
6 years, 7 months ago by dmichael (off chromium)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, jam, raymes+watch_chromium.org, teravest+watch_chromium.org, darin-cc_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, Sam Clegg, ihf+watch_chromium.org
Visibility:
Public.

Description

PPAPI: Implement synchronous postMessage BUG=367896 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278102

Patch Set 1 : update example to hopefully not require SDK changes #

Patch Set 2 : Fix permissions for in-process NaCl plugin #

Patch Set 3 : add forgotten files #

Patch Set 4 : defer some changes #

Total comments: 20

Patch Set 5 : Add test #

Patch Set 6 : Review comments #

Patch Set 7 : merge #

Total comments: 10

Patch Set 8 : review comments histograms #

Patch Set 9 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+895 lines, -30 lines) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M content/renderer/pepper/message_channel.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/message_channel.cc View 1 2 3 4 5 6 7 8 7 chunks +104 lines, -7 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +28 lines, -2 lines 0 comments Download
M content/renderer/pepper/v8_var_converter.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/pepper/v8_var_converter.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M content/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/api/ppb_messaging.idl View 1 2 3 4 5 3 chunks +6 lines, -6 lines 0 comments Download
M ppapi/api/ppp_message_handler.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/c/ppb_messaging.h View 1 2 3 4 5 4 chunks +7 lines, -7 lines 0 comments Download
M ppapi/c/ppp_message_handler.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
A ppapi/proxy/message_handler.h View 1 2 3 4 5 6 7 1 chunk +75 lines, -0 lines 0 comments Download
A ppapi/proxy/message_handler.cc View 1 2 3 4 5 6 7 1 chunk +134 lines, -0 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -3 lines 0 comments Download
M ppapi/proxy/ppb_message_loop_proxy.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/proxy/ppp_messaging_proxy.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/ppp_messaging_proxy.cc View 1 2 3 4 5 6 7 3 chunks +84 lines, -1 line 0 comments Download
M ppapi/tests/test_case.html View 1 2 3 4 5 6 7 1 chunk +36 lines, -0 lines 0 comments Download
A ppapi/tests/test_message_handler.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A ppapi/tests/test_message_handler.cc View 1 2 3 4 5 6 7 1 chunk +297 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev_channel.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
dmichael (off chromium)
Hi Raymes, This is probably ready for a first look. If you're busy, though, you ...
6 years, 6 months ago (2014-06-05 02:57:18 UTC) #1
raymes
Hey, did a first pass and didn't spot anything major. Overall it looks good! I'll ...
6 years, 6 months ago (2014-06-06 06:38:17 UTC) #2
raymes
https://codereview.chromium.org/264303002/diff/270001/content/renderer/pepper/resource_converter.h File content/renderer/pepper/resource_converter.h (right): https://codereview.chromium.org/264303002/diff/270001/content/renderer/pepper/resource_converter.h#newcode37 content/renderer/pepper/resource_converter.h:37: // Flush() or FlushSync must be called before any ...
6 years, 6 months ago (2014-06-10 04:50:48 UTC) #3
dmichael (off chromium)
Thanks for the comments so far, sorry for my slowness. I've been busy with other ...
6 years, 6 months ago (2014-06-10 22:43:53 UTC) #4
dmichael (off chromium)
Thanks, Raymes. I agree, we should solve the limitations for browser-hosted stuff before going stable. ...
6 years, 6 months ago (2014-06-13 22:01:27 UTC) #5
dmichael (off chromium)
+tsepez for ppapi/proxy/ppapi_messages.h
6 years, 6 months ago (2014-06-13 22:31:30 UTC) #6
raymes
https://codereview.chromium.org/264303002/diff/270001/ppapi/proxy/message_handler.cc File ppapi/proxy/message_handler.cc (right): https://codereview.chromium.org/264303002/diff/270001/ppapi/proxy/message_handler.cc#newcode80 ppapi/proxy/message_handler.cc:80: // a leak. TODO(dmichael): Should we care about this? ...
6 years, 6 months ago (2014-06-16 05:33:33 UTC) #7
Tom Sepez
Messages LGTM.
6 years, 6 months ago (2014-06-16 17:19:32 UTC) #8
dmichael (off chromium)
+asvitkine for histograms Comments addressed, PTAL. https://codereview.chromium.org/264303002/diff/270001/ppapi/proxy/message_handler.cc File ppapi/proxy/message_handler.cc (right): https://codereview.chromium.org/264303002/diff/270001/ppapi/proxy/message_handler.cc#newcode80 ppapi/proxy/message_handler.cc:80: // a leak. ...
6 years, 6 months ago (2014-06-17 18:28:29 UTC) #9
Alexei Svitkine (slow)
histograms lgtm
6 years, 6 months ago (2014-06-17 19:17:40 UTC) #10
raymes
lgtm but still one question which could be addressed separately. Thanks :) https://codereview.chromium.org/264303002/diff/270001/ppapi/proxy/message_handler.cc File ppapi/proxy/message_handler.cc ...
6 years, 6 months ago (2014-06-18 07:26:18 UTC) #11
dmichael (off chromium)
https://codereview.chromium.org/264303002/diff/270001/ppapi/proxy/message_handler.cc File ppapi/proxy/message_handler.cc (right): https://codereview.chromium.org/264303002/diff/270001/ppapi/proxy/message_handler.cc#newcode80 ppapi/proxy/message_handler.cc:80: // a leak. TODO(dmichael): Should we care about this? ...
6 years, 6 months ago (2014-06-18 16:15:33 UTC) #12
dmichael (off chromium)
The CQ bit was checked by dmichael@chromium.org
6 years, 6 months ago (2014-06-18 16:15:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/264303002/370001
6 years, 6 months ago (2014-06-18 16:16:28 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 16:44:04 UTC) #15
Message was sent while issue was closed.
Change committed as 278102

Powered by Google App Engine
This is Rietveld 408576698