Index: ppapi/shared_impl/ppb_audio_shared.h |
diff --git a/ppapi/shared_impl/ppb_audio_shared.h b/ppapi/shared_impl/ppb_audio_shared.h |
index 6ba8cac2e669135d8593070dc8b5ab5f045be9b2..04b013560c6268a71f0a6a8328cb8acdcfe242c5 100644 |
--- a/ppapi/shared_impl/ppb_audio_shared.h |
+++ b/ppapi/shared_impl/ppb_audio_shared.h |
@@ -79,6 +79,12 @@ class PPAPI_SHARED_EXPORT PPB_Audio_Shared |
PP_AudioSampleRate sample_rate, |
int sample_frame_count); |
+ // Returns whether a thread can be created on the client context. |
+ // In trusted plugin, this should always return true, as it uses Chrome's |
+ // thread library. In NaCl plugin, this returns whether SetThreadFunctions |
+ // is invoked properly. |
bbudge
2014/04/18 18:44:14
s/is/was
or 'has been'
hidehiko
2014/04/18 19:01:37
Done.
|
+ static bool IsThreadFunctionReady(); |
+ |
#if defined(OS_NACL) |
// NaCl has a special API for IRT code to create threads that can call back |
// into user code. |