Chromium Code Reviews| Index: ppapi/api/dev/ppb_testing_dev.idl |
| diff --git a/ppapi/api/dev/ppb_testing_dev.idl b/ppapi/api/dev/ppb_testing_dev.idl |
| index 6c0b22b88285886f06323706b930958160975eea..e4f404ce0d212c37306bf3af75dad9f98092b5a1 100644 |
| --- a/ppapi/api/dev/ppb_testing_dev.idl |
| +++ b/ppapi/api/dev/ppb_testing_dev.idl |
| @@ -13,7 +13,8 @@ label Chrome { |
| M14 = 0.7, |
| M15 = 0.8, |
| M17 = 0.9, |
| - M18 = 0.91 |
| + M18 = 0.91, |
| + M28 = 0.92 |
| }; |
| interface PPB_Testing_Dev { |
| @@ -127,4 +128,15 @@ interface PPB_Testing_Dev { |
| [version=0.91] |
| uint32_t GetLiveVars([size_as=array_size] PP_Var[] live_vars, |
| [in] uint32_t array_size); |
| + |
| + /** |
| + * Sets the threshhold size at which point we switch from transmitting |
| + * array buffers in IPC messages to using shared memory. This is only used |
| + * for testing purposes where we need to transmit small buffers using shmem |
| + * (in order to have fast tests). Passing a value of 0 resets the threshhold |
| + * to its default. |
| + */ |
| + [version=0.92] |
| + void SetMinimumArrayBufferSizeForShmem([in] PP_Instance instance, |
| + [in] uint32_t threshhold); |
|
dmichael (off chromium)
2013/04/18 20:06:47
nit: note somewhere that the unit is bytes? possib
raymes
2013/04/18 20:29:55
Done.
|
| }; |