| Index: webrtc/base/task_queue.h | 
| diff --git a/webrtc/base/task_queue.h b/webrtc/base/task_queue.h | 
| index 5fcf00fcd2ae850ae100cb64aba7b34746d684a5..e3865b3aa77f755a5fc41ef11d527644d2fd30d1 100644 | 
| --- a/webrtc/base/task_queue.h | 
| +++ b/webrtc/base/task_queue.h | 
| @@ -158,8 +158,15 @@ static std::unique_ptr<QueuedTask> NewClosure(const Closure& closure, | 
| // so assumptions about lifetimes of pending tasks should not be made. | 
| class LOCKABLE TaskQueue { | 
| public: | 
| -  explicit TaskQueue(const char* queue_name); | 
| -  // TODO(tommi): Implement move semantics? | 
| +  // TaskQueue priority levels. On some platforms these will map to thread | 
| +  // priorities, on others such as Mac and iOS, GCD queue priorities. | 
| +  enum Priority { | 
| +    NORMAL = 0, | 
| +    HIGH, | 
| +    LOW, | 
| +  }; | 
| + | 
| +  explicit TaskQueue(const char* queue_name, Priority priority = NORMAL); | 
| ~TaskQueue(); | 
|  | 
| static TaskQueue* Current(); | 
| @@ -269,8 +276,11 @@ class LOCKABLE TaskQueue { | 
|  | 
| class WorkerThread : public PlatformThread { | 
| public: | 
| -    WorkerThread(ThreadRunFunction func, void* obj, const char* thread_name) | 
| -        : PlatformThread(func, obj, thread_name) {} | 
| +    WorkerThread(ThreadRunFunction func, | 
| +                 void* obj, | 
| +                 const char* thread_name, | 
| +                 ThreadPriority priority) | 
| +        : PlatformThread(func, obj, thread_name, priority) {} | 
|  | 
| bool QueueAPC(PAPCFUNC apc_function, ULONG_PTR data) { | 
| return PlatformThread::QueueAPC(apc_function, data); | 
|  |