Lines Matching refs:bridge_
56 DCHECK(!bridge_);
61 // |bridge_| is alive from Connect to DidClose, so Context must be alive
63 scoped_refptr<WebSocketStreamHandleBridge> bridge_;
71 bridge_(NULL) {
76 DCHECK(!bridge_);
77 bridge_ = WebSocketStreamHandleBridge::Create(handle_, this);
79 bridge_->Connect(url);
84 DCHECK(bridge_);
85 return bridge_->Send(
91 if (bridge_)
92 bridge_->Close();
98 // If Connect was called, |bridge_| is not NULL, so that this Context closes
99 // the |bridge_| here. Then |bridge_| will call back DidClose, and will
101 // Otherwise, |bridge_| is NULL.
102 if (bridge_)
103 bridge_->Close();
128 bridge_ = NULL;