diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-09 18:25:03 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-09 18:25:03 +0000 |
commit | 7cf4091e5e3eb7b3ee40c8fdc886226100b3a2e7 (patch) | |
tree | 423fdaae7c04f5ea304640618000675feb4e3443 /net/spdy | |
parent | 57005ec7bf8cebf0e53a3e59dd9ca062ba1eb053 (diff) | |
download | chromium_src-7cf4091e5e3eb7b3ee40c8fdc886226100b3a2e7.zip chromium_src-7cf4091e5e3eb7b3ee40c8fdc886226100b3a2e7.tar.gz chromium_src-7cf4091e5e3eb7b3ee40c8fdc886226100b3a2e7.tar.bz2 |
Start deinlining non-empty virtual methods. (This will be automatically checked
for in the future.)
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/5574006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r-- | net/spdy/spdy_http_stream.cc | 26 | ||||
-rw-r--r-- | net/spdy/spdy_http_stream.h | 20 |
2 files changed, 32 insertions, 14 deletions
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc index 5d27ee1..75f8039 100644 --- a/net/spdy/spdy_http_stream.cc +++ b/net/spdy/spdy_http_stream.cc @@ -141,6 +141,32 @@ void SpdyHttpStream::Close(bool not_reusable) { Cancel(); } +HttpStream* SpdyHttpStream::RenewStreamForAuth() { + return NULL; +} + +bool SpdyHttpStream::IsResponseBodyComplete() const { + if (!stream_) + return false; + return stream_->closed(); +} + +bool SpdyHttpStream::CanFindEndOfResponse() const { + return true; +} + +bool SpdyHttpStream::IsMoreDataBuffered() const { + return false; +} + +bool SpdyHttpStream::IsConnectionReused() const { + return spdy_session_->IsReused(); +} + +void SpdyHttpStream::SetConnectionReused() { + // SPDY doesn't need an indicator here. +} + int SpdyHttpStream::SendRequest(const HttpRequestHeaders& request_headers, UploadDataStream* request_body, HttpResponseInfo* response, diff --git a/net/spdy/spdy_http_stream.h b/net/spdy/spdy_http_stream.h index cd351cd..76649b2 100644 --- a/net/spdy/spdy_http_stream.h +++ b/net/spdy/spdy_http_stream.h @@ -55,20 +55,12 @@ class SpdyHttpStream : public SpdyStream::Delegate, public HttpStream { int buf_len, CompletionCallback* callback); virtual void Close(bool not_reusable); - virtual HttpStream* RenewStreamForAuth() { return NULL; } - virtual bool IsResponseBodyComplete() const { - if (!stream_) - return false; - return stream_->closed(); - } - virtual bool CanFindEndOfResponse() const { return true; } - virtual bool IsMoreDataBuffered() const { return false; } - virtual bool IsConnectionReused() const { - return spdy_session_->IsReused(); - } - virtual void SetConnectionReused() { - // SPDY doesn't need an indicator here. - } + virtual HttpStream* RenewStreamForAuth(); + virtual bool IsResponseBodyComplete() const; + virtual bool CanFindEndOfResponse() const; + virtual bool IsMoreDataBuffered() const; + virtual bool IsConnectionReused() const; + virtual void SetConnectionReused(); virtual void GetSSLInfo(SSLInfo* ssl_info); virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); |