| Index: base/threading/platform_thread.h
|
| diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
|
| index 576695a4e7b5f8028f47cc5e02921b551ffb0a39..cf44b9ad416b1b6e624995a4d1c4c3193e4c961e 100644
|
| --- a/base/threading/platform_thread.h
|
| +++ b/base/threading/platform_thread.h
|
| @@ -21,6 +21,10 @@
|
| #include <unistd.h>
|
| #endif
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "jni.h"
|
| +#endif
|
| +
|
| namespace base {
|
|
|
| // PlatformThreadHandle should not be assumed to be a numeric type, since the
|
| @@ -46,6 +50,10 @@ enum ThreadPriority{
|
| kThreadPriority_RealtimeAudio
|
| };
|
|
|
| +#if defined(OS_ANDROID)
|
| +bool RegisterThreadUtils(JNIEnv* env);
|
| +#endif
|
| +
|
| // A namespace for low-level thread functions.
|
| class BASE_EXPORT PlatformThread {
|
| public:
|
|
|