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

Unified Diff: webrtc/base/asynctcpsocket_unittest.cc

Issue 2883313003: Remove VirtualSocketServer's dependency on PhysicalSocketServer. (Closed)
Patch Set: Created 3 years, 7 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/base/nat_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/asynctcpsocket_unittest.cc
diff --git a/webrtc/base/asynctcpsocket_unittest.cc b/webrtc/base/asynctcpsocket_unittest.cc
index 592b61d536e6db24701548fa21f6233d35e81d75..bd7dcfbdbf0ff1f296b5a836ae83b8d86c790a27 100644
--- a/webrtc/base/asynctcpsocket_unittest.cc
+++ b/webrtc/base/asynctcpsocket_unittest.cc
@@ -13,7 +13,6 @@
#include "webrtc/base/asynctcpsocket.h"
#include "webrtc/base/gunit.h"
-#include "webrtc/base/physicalsocketserver.h"
#include "webrtc/base/virtualsocketserver.h"
namespace rtc {
@@ -23,8 +22,7 @@ class AsyncTCPSocketTest
public sigslot::has_slots<> {
public:
AsyncTCPSocketTest()
- : pss_(new rtc::PhysicalSocketServer),
- vss_(new rtc::VirtualSocketServer(pss_.get())),
+ : vss_(new rtc::VirtualSocketServer()),
socket_(vss_->CreateAsyncSocket(SOCK_STREAM)),
tcp_socket_(new AsyncTCPSocket(socket_, true)),
ready_to_send_(false) {
@@ -37,7 +35,6 @@ class AsyncTCPSocketTest
}
protected:
- std::unique_ptr<PhysicalSocketServer> pss_;
std::unique_ptr<VirtualSocketServer> vss_;
AsyncSocket* socket_;
std::unique_ptr<AsyncTCPSocket> tcp_socket_;
« no previous file with comments | « no previous file | webrtc/base/nat_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698