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

Side by Side Diff: ppapi/api/private/ppb_testing_private.idl

Issue 400823004: gin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698