| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ |
| 6 #define NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 const CompletionCallback& callback) override; | 50 const CompletionCallback& callback) override; |
| 51 int ReadResponseHeaders(const CompletionCallback& callback) override; | 51 int ReadResponseHeaders(const CompletionCallback& callback) override; |
| 52 int ReadResponseBody(IOBuffer* buf, | 52 int ReadResponseBody(IOBuffer* buf, |
| 53 int buf_len, | 53 int buf_len, |
| 54 const CompletionCallback& callback) override; | 54 const CompletionCallback& callback) override; |
| 55 void Close(bool not_reusable) override; | 55 void Close(bool not_reusable) override; |
| 56 bool IsResponseBodyComplete() const override; | 56 bool IsResponseBodyComplete() const override; |
| 57 bool IsConnectionReused() const override; | 57 bool IsConnectionReused() const override; |
| 58 void SetConnectionReused() override; | 58 void SetConnectionReused() override; |
| 59 bool CanReuseConnection() const override; | 59 bool CanReuseConnection() const override; |
| 60 int64 GetTotalReceivedBytes() const override; | 60 int64_t GetTotalReceivedBytes() const override; |
| 61 int64_t GetTotalSentBytes() const override; | 61 int64_t GetTotalSentBytes() const override; |
| 62 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 62 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
| 63 void GetSSLInfo(SSLInfo* ssl_info) override; | 63 void GetSSLInfo(SSLInfo* ssl_info) override; |
| 64 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; | 64 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; |
| 65 void Drain(HttpNetworkSession* session) override; | 65 void Drain(HttpNetworkSession* session) override; |
| 66 void SetPriority(RequestPriority priority) override; | 66 void SetPriority(RequestPriority priority) override; |
| 67 UploadProgress GetUploadProgress() const override; | 67 UploadProgress GetUploadProgress() const override; |
| 68 HttpStream* RenewStreamForAuth() override; | 68 HttpStream* RenewStreamForAuth() override; |
| 69 | 69 |
| 70 | 70 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 scoped_ptr<WebSocketExtensionParams> extension_params_; | 135 scoped_ptr<WebSocketExtensionParams> extension_params_; |
| 136 | 136 |
| 137 std::string* failure_message_; | 137 std::string* failure_message_; |
| 138 | 138 |
| 139 DISALLOW_COPY_AND_ASSIGN(WebSocketBasicHandshakeStream); | 139 DISALLOW_COPY_AND_ASSIGN(WebSocketBasicHandshakeStream); |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 } // namespace net | 142 } // namespace net |
| 143 | 143 |
| 144 #endif // NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ | 144 #endif // NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ |
| OLD | NEW |