Lines Matching refs:WebSocketJob
36 net::WebSocketJob* job = new net::WebSocketJob(delegate);
58 void WebSocketJob::EnsureInit() {
62 WebSocketJob::WebSocketJob(SocketStream::Delegate* delegate)
75 WebSocketJob::~WebSocketJob() {
81 void WebSocketJob::Connect() {
88 bool WebSocketJob::SendData(const char* data, int len) {
128 void WebSocketJob::Close() {
138 void WebSocketJob::RestartWithAuth(
145 void WebSocketJob::DetachDelegate() {
150 scoped_refptr<WebSocketJob> protect(this);
163 int WebSocketJob::OnStartOpenConnection(
176 void WebSocketJob::OnConnected(
185 void WebSocketJob::OnSentData(SocketStream* socket, int amount_sent) {
209 FROM_HERE, NewRunnableMethod(this, &WebSocketJob::SendPending));
213 void WebSocketJob::OnReceivedData(
238 void WebSocketJob::OnClose(SocketStream* socket) {
243 scoped_refptr<WebSocketJob> protect(this);
257 void WebSocketJob::OnAuthRequired(
263 void WebSocketJob::OnError(const SocketStream* socket, int error) {
268 bool WebSocketJob::SendHandshakeRequest(const char* data, int len) {
279 void WebSocketJob::AddCookieHeaderAndSend() {
291 void WebSocketJob::OnCanGetCookiesCompleted(int policy) {
319 void WebSocketJob::OnSentHandshakeRequest(
335 void WebSocketJob::OnReceivedHandshakeResponse(
363 void WebSocketJob::SaveCookiesAndNotifyHeaderComplete() {
377 void WebSocketJob::SaveNextCookie() {
421 void WebSocketJob::OnCanSetCookieCompleted(int policy) {
439 GURL WebSocketJob::GetURLForCookies() const {
448 const AddressList& WebSocketJob::address_list() const {
452 void WebSocketJob::SetWaiting() {
456 bool WebSocketJob::IsWaiting() const {
460 void WebSocketJob::Wakeup() {
468 &WebSocketJob::DoCallback));
471 void WebSocketJob::DoCallback() {
481 void WebSocketJob::SendPending() {