Home
last modified time | relevance | path

Searched refs:TCPSocketState (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ppapi/shared_impl/
Dppb_tcp_socket_shared.cc11 TCPSocketState::TCPSocketState(StateType state) in TCPSocketState() function in ppapi::TCPSocketState
17 TCPSocketState::~TCPSocketState() { in ~TCPSocketState()
20 void TCPSocketState::SetPendingTransition(TransitionType pending_transition) { in SetPendingTransition()
25 void TCPSocketState::CompletePendingTransition(bool success) { in CompletePendingTransition()
51 void TCPSocketState::DoTransition(TransitionType transition, bool success) { in DoTransition()
56 bool TCPSocketState::IsValidTransition(TransitionType transition) const { in IsValidTransition()
78 bool TCPSocketState::IsPending(TransitionType transition) const { in IsPending()
82 bool TCPSocketState::IsConnected() const { in IsConnected()
86 bool TCPSocketState::IsBound() const { in IsBound()
Dppb_tcp_socket_shared.h12 class PPAPI_SHARED_EXPORT TCPSocketState {
41 explicit TCPSocketState(StateType state);
42 ~TCPSocketState();
/external/chromium_org/ppapi/proxy/
Dtcp_socket_resource_base.cc37 state_(TCPSocketState::INITIAL), in TCPSocketResourceBase()
57 state_(TCPSocketState::CONNECTED), in TCPSocketResourceBase()
75 if (state_.IsPending(TCPSocketState::BIND)) in BindImpl()
77 if (!state_.IsValidTransition(TCPSocketState::BIND)) in BindImpl()
81 state_.SetPendingTransition(TCPSocketState::BIND); in BindImpl()
98 if (state_.IsPending(TCPSocketState::CONNECT)) in ConnectImpl()
100 if (!state_.IsValidTransition(TCPSocketState::CONNECT)) in ConnectImpl()
104 state_.SetPendingTransition(TCPSocketState::CONNECT); in ConnectImpl()
120 if (state_.IsPending(TCPSocketState::CONNECT)) in ConnectWithNetAddressImpl()
122 if (!state_.IsValidTransition(TCPSocketState::CONNECT)) in ConnectWithNetAddressImpl()
[all …]
Dtcp_socket_resource_base.h130 TCPSocketState state_;
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_tcp_socket_message_filter.cc40 using ppapi::TCPSocketState;
63 state_(TCPSocketState::INITIAL), in PepperTCPSocketMessageFilter()
91 state_(TCPSocketState::CONNECTED), in PepperTCPSocketMessageFilter()
265 if (!state_.IsValidTransition(TCPSocketState::SSL_CONNECT) || in OnMsgSSLHandshake()
294 state_.SetPendingTransition(TCPSocketState::SSL_CONNECT); in OnMsgSSLHandshake()
325 DCHECK_EQ(state_.state(), TCPSocketState::CONNECTED); in OnMsgRead()
332 DCHECK_EQ(state_.state(), TCPSocketState::SSL_CONNECTED); in OnMsgRead()
401 if (state_.state() != TCPSocketState::LISTENING) in OnMsgAccept()
420 if (state_.state() == TCPSocketState::CLOSED) in OnMsgClose()
423 state_.DoTransition(TCPSocketState::CLOSE, true); in OnMsgClose()
[all …]
Dpepper_tcp_socket_message_filter.h181 ppapi::TCPSocketState state_;