Index: base/threading/platform_thread_android.cc |
diff --git a/base/threading/platform_thread_android.cc b/base/threading/platform_thread_android.cc |
index aab4c1917dc9bf1c871267dac63e680b9b935d04..be4ccbe976d0ace3e9fa8a150a4fb9965701e1e5 100644 |
--- a/base/threading/platform_thread_android.cc |
+++ b/base/threading/platform_thread_android.cc |
@@ -44,8 +44,8 @@ const ThreadPriorityToNiceValuePair kThreadPriorityToNiceValueMap[4] = { |
{kThreadPriority_Display, -6}, |
}; |
-bool HandleSetThreadPriorityForPlatform(PlatformThreadHandle handle, |
- ThreadPriority priority) { |
+bool SetThreadPriorityForPlatform(PlatformThreadHandle handle, |
+ ThreadPriority priority) { |
// On Android, we set the Audio priority through JNI as Audio priority |
// will also allow the process to run while it is backgrounded. |
if (priority == kThreadPriority_RealtimeAudio) { |
@@ -56,6 +56,12 @@ bool HandleSetThreadPriorityForPlatform(PlatformThreadHandle handle, |
return false; |
} |
+bool GetThreadPriorityForPlatform(PlatformThreadHandle handle, |
+ ThreadPriority* priority) { |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
} // namespace internal |
void PlatformThread::SetName(const char* name) { |