| OLD | NEW |
| 1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /* From private/ppb_testing_private.idl modified Mon Nov 18 14:42:33 2013. */ | 6 /* From private/ppb_testing_private.idl modified Mon Jul 28 15:12:12 2014. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_ |
| 9 #define PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_ | 9 #define PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/dev/ppb_url_util_dev.h" | 11 #include "ppapi/c/dev/ppb_url_util_dev.h" |
| 12 #include "ppapi/c/pp_bool.h" | 12 #include "ppapi/c/pp_bool.h" |
| 13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
| 15 #include "ppapi/c/pp_point.h" | 15 #include "ppapi/c/pp_point.h" |
| 16 #include "ppapi/c/pp_resource.h" | 16 #include "ppapi/c/pp_resource.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 uint32_t (*GetLiveVars)(struct PP_Var live_vars[], uint32_t array_size); | 133 uint32_t (*GetLiveVars)(struct PP_Var live_vars[], uint32_t array_size); |
| 134 /** | 134 /** |
| 135 * Sets the threshold size at which point we switch from transmitting | 135 * Sets the threshold size at which point we switch from transmitting |
| 136 * array buffers in IPC messages to using shared memory. This is only used | 136 * array buffers in IPC messages to using shared memory. This is only used |
| 137 * for testing purposes where we need to transmit small buffers using shmem | 137 * for testing purposes where we need to transmit small buffers using shmem |
| 138 * (in order to have fast tests). Passing a value of 0 resets the threshold | 138 * (in order to have fast tests). Passing a value of 0 resets the threshold |
| 139 * to its default. The threshold is in bytes. | 139 * to its default. The threshold is in bytes. |
| 140 */ | 140 */ |
| 141 void (*SetMinimumArrayBufferSizeForShmem)(PP_Instance instance, | 141 void (*SetMinimumArrayBufferSizeForShmem)(PP_Instance instance, |
| 142 uint32_t threshold); | 142 uint32_t threshold); |
| 143 /** |
| 144 * Run the V8 garbage collector for tests. |
| 145 */ |
| 146 void (*RunV8GC)(PP_Instance instance); |
| 143 }; | 147 }; |
| 144 | 148 |
| 145 typedef struct PPB_Testing_Private_1_0 PPB_Testing_Private; | 149 typedef struct PPB_Testing_Private_1_0 PPB_Testing_Private; |
| 146 /** | 150 /** |
| 147 * @} | 151 * @} |
| 148 */ | 152 */ |
| 149 | 153 |
| 150 #endif /* PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_ */ | 154 #endif /* PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_ */ |
| 151 | 155 |
| OLD | NEW |