summaryrefslogtreecommitdiff
path: root/chromium/third_party/webrtc/api/proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/webrtc/api/proxy.cc')
-rw-r--r--chromium/third_party/webrtc/api/proxy.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/chromium/third_party/webrtc/api/proxy.cc b/chromium/third_party/webrtc/api/proxy.cc
index e668285ba29..67318e7dab0 100644
--- a/chromium/third_party/webrtc/api/proxy.cc
+++ b/chromium/third_party/webrtc/api/proxy.cc
@@ -10,28 +10,3 @@
#include "api/proxy.h"
-namespace webrtc {
-namespace internal {
-
-SynchronousMethodCall::SynchronousMethodCall(rtc::MessageHandler* proxy)
- : proxy_(proxy) {}
-
-SynchronousMethodCall::~SynchronousMethodCall() = default;
-
-void SynchronousMethodCall::Invoke(const rtc::Location& posted_from,
- rtc::Thread* t) {
- if (t->IsCurrent()) {
- proxy_->OnMessage(nullptr);
- } else {
- t->Post(posted_from, this, 0);
- e_.Wait(rtc::Event::kForever);
- }
-}
-
-void SynchronousMethodCall::OnMessage(rtc::Message*) {
- proxy_->OnMessage(nullptr);
- e_.Set();
-}
-
-} // namespace internal
-} // namespace webrtc