diff options
Diffstat (limited to 'net/http/http_basic_stream.h')
-rw-r--r-- | net/http/http_basic_stream.h | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/net/http/http_basic_stream.h b/net/http/http_basic_stream.h index 2c26315..267c7c1 100644 --- a/net/http/http_basic_stream.h +++ b/net/http/http_basic_stream.h @@ -42,41 +42,44 @@ class HttpBasicStream : public HttpStream { // HttpStream methods: virtual int InitializeStream(const HttpRequestInfo* request_info, const BoundNetLog& net_log, - CompletionCallback* callback); + CompletionCallback* callback) OVERRIDE; virtual int SendRequest(const HttpRequestHeaders& headers, UploadDataStream* request_body, HttpResponseInfo* response, - CompletionCallback* callback); + CompletionCallback* callback) OVERRIDE; - virtual uint64 GetUploadProgress() const; + virtual uint64 GetUploadProgress() const OVERRIDE; - virtual int ReadResponseHeaders(CompletionCallback* callback); + virtual int ReadResponseHeaders(CompletionCallback* callback) OVERRIDE; - virtual const HttpResponseInfo* GetResponseInfo() const; + virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; virtual int ReadResponseBody(IOBuffer* buf, int buf_len, - CompletionCallback* callback); + CompletionCallback* callback) OVERRIDE; - virtual void Close(bool not_reusable); + virtual void Close(bool not_reusable) OVERRIDE; - virtual HttpStream* RenewStreamForAuth(); + virtual HttpStream* RenewStreamForAuth() OVERRIDE; - virtual bool IsResponseBodyComplete() const; + virtual bool IsResponseBodyComplete() const OVERRIDE; - virtual bool CanFindEndOfResponse() const; + virtual bool CanFindEndOfResponse() const OVERRIDE; - virtual bool IsMoreDataBuffered() const; + virtual bool IsMoreDataBuffered() const OVERRIDE; - virtual bool IsConnectionReused() const; + virtual bool IsConnectionReused() const OVERRIDE; - virtual void SetConnectionReused(); + virtual void SetConnectionReused() OVERRIDE; - virtual void GetSSLInfo(SSLInfo* ssl_info); + virtual bool IsConnectionReusable() const OVERRIDE; - virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); + virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; - virtual bool IsSpdyHttpStream() const; + virtual void GetSSLCertRequestInfo( + SSLCertRequestInfo* cert_request_info) OVERRIDE; + + virtual bool IsSpdyHttpStream() const OVERRIDE; private: scoped_refptr<GrowableIOBuffer> read_buf_; |