diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 18:29:03 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 18:29:03 +0000 |
commit | e86839fd84dde69dac9f61004ab6e6df0180f73e (patch) | |
tree | adb6ee5b1460b71a1d8aa4422c4d04ceb10abb53 /net/spdy | |
parent | c447b17b8ac3d6a008a90a51cb23423f9fe27bf5 (diff) | |
download | chromium_src-e86839fd84dde69dac9f61004ab6e6df0180f73e.zip chromium_src-e86839fd84dde69dac9f61004ab6e6df0180f73e.tar.gz chromium_src-e86839fd84dde69dac9f61004ab6e6df0180f73e.tar.bz2 |
[Net] Propagate priority changes from HttpNetworkTransaction to its stream
BUG=166689
R=mmenke@chromium.org
Review URL: https://codereview.chromium.org/19691003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r-- | net/spdy/spdy_http_stream.cc | 5 | ||||
-rw-r--r-- | net/spdy/spdy_http_stream.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc index 08e8b58..4d911751 100644 --- a/net/spdy/spdy_http_stream.cc +++ b/net/spdy/spdy_http_stream.cc @@ -524,4 +524,9 @@ void SpdyHttpStream::Drain(HttpNetworkSession* session) { delete this; } +void SpdyHttpStream::SetPriority(RequestPriority priority) { + // TODO(akalin): Plumb this through to |stream_request_| and + // |stream_|. +} + } // namespace net diff --git a/net/spdy/spdy_http_stream.h b/net/spdy/spdy_http_stream.h index 65d9878..f6e39cd 100644 --- a/net/spdy/spdy_http_stream.h +++ b/net/spdy/spdy_http_stream.h @@ -73,6 +73,7 @@ class NET_EXPORT_PRIVATE SpdyHttpStream : public SpdyStream::Delegate, SSLCertRequestInfo* cert_request_info) OVERRIDE; virtual bool IsSpdyHttpStream() const OVERRIDE; virtual void Drain(HttpNetworkSession* session) OVERRIDE; + virtual void SetPriority(RequestPriority priority) OVERRIDE; // SpdyStream::Delegate implementation. virtual void OnRequestHeadersSent() OVERRIDE; |