Home
last modified time | relevance | path

Searched refs:CancelableSyncSocket (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/
Dsync_socket.h109 class BASE_EXPORT CancelableSyncSocket : public SyncSocket {
111 CancelableSyncSocket();
112 explicit CancelableSyncSocket(Handle handle);
113 ~CancelableSyncSocket() override = default;
117 static bool CreatePair(CancelableSyncSocket* socket_a,
118 CancelableSyncSocket* socket_b);
150 DISALLOW_COPY_AND_ASSIGN(CancelableSyncSocket);
Dsync_socket_posix.cc215 CancelableSyncSocket::CancelableSyncSocket() = default;
216 CancelableSyncSocket::CancelableSyncSocket(Handle handle) in CancelableSyncSocket() function in base::CancelableSyncSocket
220 bool CancelableSyncSocket::Shutdown() { in Shutdown()
225 size_t CancelableSyncSocket::Send(const void* buffer, size_t length) { in Send()
248 bool CancelableSyncSocket::CreatePair(CancelableSyncSocket* socket_a, in CreatePair()
249 CancelableSyncSocket* socket_b) { in CreatePair()
Dsync_socket_unittest.cc129 ASSERT_TRUE(CancelableSyncSocket::CreatePair(&socket_a_, &socket_b_)); in SetUp()
133 CancelableSyncSocket socket_a_;
134 CancelableSyncSocket socket_b_;
142 CancelableSyncSocket socket_c(socket_a_.Release()); in TEST_F()
143 CancelableSyncSocket socket_d(socket_b_.Release()); in TEST_F()
/external/libchrome/ipc/
Dsync_socket_unittest.cc218 base::CancelableSyncSocket pair[2]; in TEST_F()
219 ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); in TEST_F()
249 base::CancelableSyncSocket pair[2]; in TEST_F()
250 ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); in TEST_F()
282 base::CancelableSyncSocket pair[2]; in TEST_F()
283 ASSERT_TRUE(base::CancelableSyncSocket::CreatePair(&pair[0], &pair[1])); in TEST_F()