Home | History | Annotate | Download | only in glue

Lines Matching refs:Context

23 // WebSocketStreamHandleImpl::Context -----------------------------------------
25 class WebSocketStreamHandleImpl::Context
26 : public base::RefCounted<Context>,
29 explicit Context(WebSocketStreamHandleImpl* handle);
52 friend class base::RefCounted<Context>;
53 ~Context() {
61 // |bridge_| is alive from Connect to DidClose, so Context must be alive
65 DISALLOW_COPY_AND_ASSIGN(Context);
68 WebSocketStreamHandleImpl::Context::Context(WebSocketStreamHandleImpl* handle)
74 void WebSocketStreamHandleImpl::Context::Connect(const WebKit::WebURL& url) {
82 bool WebSocketStreamHandleImpl::Context::Send(const WebKit::WebData& data) {
89 void WebSocketStreamHandleImpl::Context::Close() {
95 void WebSocketStreamHandleImpl::Context::Detach() {
98 // If Connect was called, |bridge_| is not NULL, so that this Context closes
106 void WebSocketStreamHandleImpl::Context::DidOpenStream(
113 void WebSocketStreamHandleImpl::Context::DidSendData(
119 void WebSocketStreamHandleImpl::Context::DidReceiveData(
125 void WebSocketStreamHandleImpl::Context::DidClose(
142 : ALLOW_THIS_IN_INITIALIZER_LIST(context_(new Context(this))) {