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

Unified Diff: webrtc/rtc_base/task_queue.h

Issue 3013433002: Convert mac/ios TaskQueue implementation to pimpl convention. (Closed)
Patch Set: Adding lost TaskQueue::Current method. Created 3 years, 3 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/rtc_base/task_queue_gcd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/task_queue.h
diff --git a/webrtc/rtc_base/task_queue.h b/webrtc/rtc_base/task_queue.h
index 966b29c40d0c1dc54fa76b6da509003a27a121e2..363effbee09fca1bef0f9c4dd3aa91a42bcf5f63 100644
--- a/webrtc/rtc_base/task_queue.h
+++ b/webrtc/rtc_base/task_queue.h
@@ -16,10 +16,6 @@
#include <queue>
#include <type_traits>
-#if defined(WEBRTC_MAC)
-#include <dispatch/dispatch.h>
-#endif
-
#include "webrtc/rtc_base/constructormagic.h"
#include "webrtc/rtc_base/criticalsection.h"
#include "webrtc/rtc_base/scoped_ref_ptr.h"
@@ -236,16 +232,8 @@ class LOCKABLE TaskQueue {
}
private:
-#if defined(WEBRTC_MAC)
- struct QueueContext;
- struct TaskContext;
- struct PostTaskAndReplyContext;
- dispatch_queue_t queue_;
- QueueContext* const context_;
-#else
class Impl;
const scoped_refptr<Impl> impl_;
-#endif
RTC_DISALLOW_COPY_AND_ASSIGN(TaskQueue);
};
« no previous file with comments | « no previous file | webrtc/rtc_base/task_queue_gcd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698