Delete AllowBlockingCalls and android_media_codec_common.h
Unused since https://webrtc-review.googlesource.com/c/src/+/172721 Bug: None Change-Id: I06caa65e4517471bb9740469c0e51dbaaa7fc5d5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/186302 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32278}
This commit is contained in:
@ -438,13 +438,6 @@ class RTC_LOCKABLE RTC_EXPORT Thread : public webrtc::TaskQueueBase {
|
||||
// irrevocable. Must be called on this thread.
|
||||
void DisallowBlockingCalls() { SetAllowBlockingCalls(false); }
|
||||
|
||||
#ifdef WEBRTC_ANDROID
|
||||
// Sets the per-thread allow-blocking-calls flag to true, sidestepping the
|
||||
// invariants upheld by DisallowBlockingCalls() and
|
||||
// ScopedDisallowBlockingCalls. Must be called on this thread.
|
||||
void DEPRECATED_AllowBlockingCalls() { SetAllowBlockingCalls(true); }
|
||||
#endif
|
||||
|
||||
protected:
|
||||
class CurrentThreadSetter : CurrentTaskQueueSetter {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user