| 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 /** | 6 /** |
| 7 * This file contains interface functions used for unit testing. Do not use in | 7 * This file contains interface functions used for unit testing. Do not use in |
| 8 * production code. They are not guaranteed to be available in normal plugin | 8 * production code. They are not guaranteed to be available in normal plugin |
| 9 * environments so you should not depend on them. | 9 * environments so you should not depend on them. |
| 10 */ | 10 */ |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 /** | 125 /** |
| 126 * Sets the threshold size at which point we switch from transmitting | 126 * Sets the threshold size at which point we switch from transmitting |
| 127 * array buffers in IPC messages to using shared memory. This is only used | 127 * array buffers in IPC messages to using shared memory. This is only used |
| 128 * for testing purposes where we need to transmit small buffers using shmem | 128 * for testing purposes where we need to transmit small buffers using shmem |
| 129 * (in order to have fast tests). Passing a value of 0 resets the threshold | 129 * (in order to have fast tests). Passing a value of 0 resets the threshold |
| 130 * to its default. The threshold is in bytes. | 130 * to its default. The threshold is in bytes. |
| 131 */ | 131 */ |
| 132 void SetMinimumArrayBufferSizeForShmem([in] PP_Instance instance, | 132 void SetMinimumArrayBufferSizeForShmem([in] PP_Instance instance, |
| 133 [in] uint32_t threshold); | 133 [in] uint32_t threshold); |
| 134 |
| 135 /** |
| 136 * Run the V8 garbage collector for tests. |
| 137 */ |
| 138 void RunV8GC([in] PP_Instance instance); |
| 134 }; | 139 }; |
| OLD | NEW |