Do not include task_queue.h in sequenced_task_checker_impl.h
This it to avoid requiring targets that include header files that in turn use SequenceTaskedChecker, to also have to define the macros needed by TaskQueue. BUG=webrtc:5687 Review-Url: https://codereview.webrtc.org/2145393003 Cr-Commit-Position: refs/heads/master@{#13482}
This commit is contained in:
parent
33b9c8fb03
commit
32012f8c3a
@ -12,6 +12,7 @@
|
||||
|
||||
#include "webrtc/base/platform_thread.h"
|
||||
#include "webrtc/base/sequenced_task_checker.h"
|
||||
#include "webrtc/base/task_queue.h"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
|
||||
@ -11,11 +11,11 @@
|
||||
#ifndef WEBRTC_BASE_SEQUENCED_TASK_CHECKER_IMPL_H_
|
||||
#define WEBRTC_BASE_SEQUENCED_TASK_CHECKER_IMPL_H_
|
||||
|
||||
#include "webrtc/base/task_queue.h"
|
||||
#include "webrtc/base/thread_checker.h"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
class TaskQueue;
|
||||
// Real implementation of SequencedTaskChecker, for use in debug mode, or
|
||||
// for temporary use in release mode.
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user