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

Issue 14208016: Hookup RawVarData to SerializedVar (Closed)

Created:
7 years, 8 months ago by raymes
Modified:
7 years, 8 months ago
CC:
chromium-reviews, teravest
Visibility:
Public.

Description

Hookup RawVarData to SerializedVar This hooks up the rewritten RawVarData implementation with SerializedVar. It also fixes tests to make sure that shmem ArrayBuffers are actually tested. Previously, no testing of shmem ArrayBuffers was happening because OS_LINUX is never defined in ppapi/tests and none of the other ArrayBuffer test sizes were above the threshhold to invoke that code path. This CL adds a PPB_Testing function to set the threshhold to a lower value, which permits this code path to be taken while still having fast tests. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195189

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : . #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -327 lines) Patch
M ppapi/api/dev/ppb_testing_dev.idl View 1 2 3 4 5 2 chunks +13 lines, -1 line 0 comments Download
M ppapi/c/dev/ppb_testing_dev.h View 1 2 3 4 5 5 chunks +28 lines, -4 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 5 chunks +78 lines, -0 lines 0 comments Download
M ppapi/proxy/handle_converter.cc View 1 2 1 chunk +18 lines, -8 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_testing_proxy.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/ppb_testing_proxy.cc View 1 2 3 4 5 4 chunks +22 lines, -1 line 0 comments Download
M ppapi/proxy/raw_var_data.h View 1 2 3 4 5 3 chunks +15 lines, -0 lines 0 comments Download
M ppapi/proxy/raw_var_data.cc View 1 2 3 4 5 6 chunks +33 lines, -2 lines 0 comments Download
M ppapi/proxy/serialized_var.h View 1 2 7 chunks +13 lines, -45 lines 0 comments Download
M ppapi/proxy/serialized_var.cc View 1 2 6 chunks +13 lines, -260 lines 0 comments Download
M ppapi/tests/test_post_message.cc View 1 2 3 4 5 2 chunks +21 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
raymes
7 years, 8 months ago (2013-04-18 17:04:34 UTC) #1
dmichael (off chromium)
Awesome, lgtm +teravest, since he's most familiar with the shmem ArrayBuffer stuff, to double-check the ...
7 years, 8 months ago (2013-04-18 20:06:47 UTC) #2
teravest
lgtm Handle management looks reasonable to me. https://codereview.chromium.org/14208016/diff/12001/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): https://codereview.chromium.org/14208016/diff/12001/ppapi/proxy/ppapi_messages.h#newcode1144 ppapi/proxy/ppapi_messages.h:1144: uint32_t /* ...
7 years, 8 months ago (2013-04-18 20:15:04 UTC) #3
raymes
https://codereview.chromium.org/14208016/diff/12001/ppapi/api/dev/ppb_testing_dev.idl File ppapi/api/dev/ppb_testing_dev.idl (right): https://codereview.chromium.org/14208016/diff/12001/ppapi/api/dev/ppb_testing_dev.idl#newcode141 ppapi/api/dev/ppb_testing_dev.idl:141: [in] uint32_t threshhold); On 2013/04/18 20:06:47, dmichael wrote: > ...
7 years, 8 months ago (2013-04-18 20:29:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/14208016/19001
7 years, 8 months ago (2013-04-18 20:30:55 UTC) #5
commit-bot: I haz the power
Presubmit check for 14208016-19001 failed and returned exit status 1. INFO:root:Found 13 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-18 20:31:05 UTC) #6
raymes
Justin, please take a look at ppapi_messages.h. I added one IPC, it is for testing ...
7 years, 8 months ago (2013-04-18 20:35:20 UTC) #7
raymes
-jschuh (who is swamped) +tsepez for ppapi_messages.h. See the explanation in the above comment.
7 years, 8 months ago (2013-04-18 20:46:51 UTC) #8
jschuh
On 2013/04/18 20:35:20, raymes wrote: > Justin, please take a look at ppapi_messages.h. I'm on ...
7 years, 8 months ago (2013-04-18 20:49:58 UTC) #9
raymes
haha thanks! lives in: ppb_testing_proxy.cc. The first line in PPB_Testing_Proxy::OnMessageReceived. On Thu, Apr 18, 2013 ...
7 years, 8 months ago (2013-04-18 20:52:16 UTC) #10
Tom Sepez
Messages LGTM.
7 years, 8 months ago (2013-04-18 20:52:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/14208016/19001
7 years, 8 months ago (2013-04-18 21:33:29 UTC) #12
commit-bot: I haz the power
Presubmit check for 14208016-19001 failed and returned exit status 1. INFO:root:Found 13 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-18 21:33:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/14208016/19001
7 years, 8 months ago (2013-04-18 22:09:08 UTC) #14
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 14:46:06 UTC) #15
Message was sent while issue was closed.
Change committed as 195189

Powered by Google App Engine
This is Rietveld 408576698