Revert "Move webrtc/{base => rtc_base}" (https://codereview.webrtc.org/2877023002)

Will reland in two different commits to preserve git blame history.

BUG=webrtc:7634
NOTRY=True
TBR=kwiberg@webrtc.org

Change-Id: I550da8525aeb9c5b8f96338fcf1c9714f3dcdab1
Reviewed-on: https://chromium-review.googlesource.com/554610
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18820}
This commit is contained in:
Henrik Kjellander
2017-06-29 07:52:50 +02:00
parent a4c113afe1
commit ec78f1cebc
546 changed files with 20456 additions and 28300 deletions

View File

@ -11,9 +11,26 @@
#ifndef WEBRTC_BASE_TASK_QUEUE_POSIX_H_
#define WEBRTC_BASE_TASK_QUEUE_POSIX_H_
#include <pthread.h>
// This header is deprecated and is just left here temporarily during
// refactoring. See https://bugs.webrtc.org/7634 for more details.
#include "webrtc/rtc_base/task_queue_posix.h"
namespace rtc {
class TaskQueue;
namespace internal {
class AutoSetCurrentQueuePtr {
public:
explicit AutoSetCurrentQueuePtr(TaskQueue* q);
~AutoSetCurrentQueuePtr();
private:
TaskQueue* const prev_;
};
pthread_key_t GetQueuePtrTls();
} // namespace internal
} // namespace rtc
#endif // WEBRTC_BASE_TASK_QUEUE_POSIX_H_