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

Issue 9169052: Tweaks to PPB_VarArrayBuffer in preperation for taking out of Dev. (Closed)

Created:
8 years, 11 months ago by dmichael (off chromium)
Modified:
8 years, 11 months ago
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, yzshen+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Tweaks to PPB_VarArrayBuffer in preperation for taking out of Dev. * Add Unmap. * Make ByteLength more consistent with the rest of PPAPI. * Make C++ wrapper not cache the buffer. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119286

Patch Set 1 #

Patch Set 2 : update the documentation #

Total comments: 12

Patch Set 3 : Fix date, remove now-unused buffer_ #

Patch Set 4 : Fixes based on review comments #

Total comments: 2

Patch Set 5 : Clarify ByteLength behavior when not mapped. #

Total comments: 6

Patch Set 6 : fixes based on reviews #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -75 lines) Patch
M ppapi/api/dev/ppb_var_array_buffer_dev.idl View 1 2 3 4 5 2 chunks +46 lines, -9 lines 0 comments Download
M ppapi/c/dev/ppb_var_array_buffer_dev.h View 1 2 3 4 5 3 chunks +47 lines, -13 lines 0 comments Download
M ppapi/cpp/dev/var_array_buffer_dev.h View 1 2 3 4 5 3 chunks +41 lines, -13 lines 0 comments Download
M ppapi/cpp/dev/var_array_buffer_dev.cc View 1 2 3 4 5 2 chunks +35 lines, -24 lines 0 comments Download
M ppapi/cpp/var.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/object_serialize.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.cc View 4 chunks +19 lines, -7 lines 0 comments Download
M ppapi/proxy/plugin_array_buffer_var.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/plugin_array_buffer_var.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/shared_impl/ppb_var_shared.cc View 2 chunks +12 lines, -4 lines 0 comments Download
M ppapi/shared_impl/var.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_post_message.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/tests/test_websocket.cc View 1 chunk +3 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/host_array_buffer_var.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/host_array_buffer_var.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
dmichael (off chromium)
darin: Please check the interface and C++ with an eye towards taking this out of ...
8 years, 11 months ago (2012-01-25 21:55:32 UTC) #1
bbudge
http://codereview.chromium.org/9169052/diff/2002/ppapi/api/dev/ppb_var_array_buffer_dev.idl File ppapi/api/dev/ppb_var_array_buffer_dev.idl (right): http://codereview.chromium.org/9169052/diff/2002/ppapi/api/dev/ppb_var_array_buffer_dev.idl#newcode61 ppapi/api/dev/ppb_var_array_buffer_dev.idl:61: * @param[in] array The array whose buffer should be ...
8 years, 11 months ago (2012-01-25 22:19:07 UTC) #2
dmichael (off chromium)
http://codereview.chromium.org/9169052/diff/2002/ppapi/api/dev/ppb_var_array_buffer_dev.idl File ppapi/api/dev/ppb_var_array_buffer_dev.idl (right): http://codereview.chromium.org/9169052/diff/2002/ppapi/api/dev/ppb_var_array_buffer_dev.idl#newcode61 ppapi/api/dev/ppb_var_array_buffer_dev.idl:61: * @param[in] array The array whose buffer should be ...
8 years, 11 months ago (2012-01-25 23:50:10 UTC) #3
darin (slow to review)
http://codereview.chromium.org/9169052/diff/1018/ppapi/api/dev/ppb_var_array_buffer_dev.idl File ppapi/api/dev/ppb_var_array_buffer_dev.idl (right): http://codereview.chromium.org/9169052/diff/1018/ppapi/api/dev/ppb_var_array_buffer_dev.idl#newcode34 ppapi/api/dev/ppb_var_array_buffer_dev.idl:34: * Retrieves the length of the VarArrayBuffer in bytes. ...
8 years, 11 months ago (2012-01-26 05:01:44 UTC) #4
dmichael (off chromium)
http://codereview.chromium.org/9169052/diff/1018/ppapi/api/dev/ppb_var_array_buffer_dev.idl File ppapi/api/dev/ppb_var_array_buffer_dev.idl (right): http://codereview.chromium.org/9169052/diff/1018/ppapi/api/dev/ppb_var_array_buffer_dev.idl#newcode34 ppapi/api/dev/ppb_var_array_buffer_dev.idl:34: * Retrieves the length of the VarArrayBuffer in bytes. ...
8 years, 11 months ago (2012-01-26 05:43:38 UTC) #5
darin (slow to review)
LGTM for IDL and C++ bindings.
8 years, 11 months ago (2012-01-26 05:55:36 UTC) #6
bbudge
http://codereview.chromium.org/9169052/diff/5004/ppapi/api/dev/ppb_var_array_buffer_dev.idl File ppapi/api/dev/ppb_var_array_buffer_dev.idl (right): http://codereview.chromium.org/9169052/diff/5004/ppapi/api/dev/ppb_var_array_buffer_dev.idl#newcode28 ppapi/api/dev/ppb_var_array_buffer_dev.idl:28: * @return A PP_Var which represents an VarArrayBuffer of ...
8 years, 11 months ago (2012-01-26 17:20:26 UTC) #7
dmichael (off chromium)
Thanks for the fast/quality reviews guys. bbudge, I think I addressed your concerns, PTAL. http://codereview.chromium.org/9169052/diff/5004/ppapi/api/dev/ppb_var_array_buffer_dev.idl ...
8 years, 11 months ago (2012-01-26 18:33:47 UTC) #8
bbudge
lgtm
8 years, 11 months ago (2012-01-26 18:37:47 UTC) #9
bbudge
lgtm
8 years, 11 months ago (2012-01-26 18:37:49 UTC) #10
bbudge
On 2012/01/26 18:37:49, bbudge1 wrote: > lgtm Whoa, a double el-gee-tee-em!
8 years, 11 months ago (2012-01-26 18:39:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/9169052/4018
8 years, 11 months ago (2012-01-26 19:13:32 UTC) #12
commit-bot: I haz the power
8 years, 11 months ago (2012-01-26 21:04:11 UTC) #13
Change committed as 119286

Powered by Google App Engine
This is Rietveld 408576698