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

Unified Diff: webrtc/base/task_queue.h

Issue 2691973002: Add support for multimedia timers to TaskQueue on Windows. (Closed)
Patch Set: Update comment Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/base/task_queue_unittest.cc » ('j') | webrtc/base/task_queue_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/task_queue.h
diff --git a/webrtc/base/task_queue.h b/webrtc/base/task_queue.h
index eeabe05fabc886db22bddb0d085bf503d5cf275d..7a91db3666b056eb35c8c692ee5bf36cad5c6d8a 100644
--- a/webrtc/base/task_queue.h
+++ b/webrtc/base/task_queue.h
@@ -254,10 +254,12 @@ class LOCKABLE TaskQueue {
dispatch_queue_t queue_;
QueueContext* const context_;
#elif defined(WEBRTC_WIN)
+ class MultimediaTimer;
typedef std::unordered_map<UINT_PTR, std::unique_ptr<QueuedTask>>
DelayedTasks;
static bool ThreadMain(void* context);
- static bool ProcessQueuedMessages(DelayedTasks* delayed_tasks);
+ static bool ProcessQueuedMessages(DelayedTasks* delayed_tasks,
+ std::vector<MultimediaTimer>* timers);
class WorkerThread : public PlatformThread {
public:
« no previous file with comments | « no previous file | webrtc/base/task_queue_unittest.cc » ('j') | webrtc/base/task_queue_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698