diff options
author | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-24 21:09:05 +0000 |
---|---|---|
committer | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-24 21:09:05 +0000 |
commit | 31ae7abec500e5d497079745490d8ba4986b1ba2 (patch) | |
tree | c5b3a979b1b540b8398fb21285a2154957ac7cd7 /net/spdy/spdy_stream.h | |
parent | 0da2ecf6b25b9b18ab3f009e8ba2181b09735b6f (diff) | |
download | chromium_src-31ae7abec500e5d497079745490d8ba4986b1ba2.zip chromium_src-31ae7abec500e5d497079745490d8ba4986b1ba2.tar.gz chromium_src-31ae7abec500e5d497079745490d8ba4986b1ba2.tar.bz2 |
[net] Change order of RequestPriority to natural: higher > lower
BUG=124683
TEST=./net_unittests
Review URL: http://codereview.chromium.org/10185007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_stream.h')
-rw-r--r-- | net/spdy/spdy_stream.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h index 55e8777..5f5ceda 100644 --- a/net/spdy/spdy_stream.h +++ b/net/spdy/spdy_stream.h @@ -18,6 +18,7 @@ #include "net/base/io_buffer.h" #include "net/base/net_export.h" #include "net/base/net_log.h" +#include "net/base/request_priority.h" #include "net/base/server_bound_cert_service.h" #include "net/base/ssl_client_cert_type.h" #include "net/base/upload_data.h" @@ -122,8 +123,8 @@ class NET_EXPORT_PRIVATE SpdyStream const std::string& path() const { return path_; } void set_path(const std::string& path) { path_ = path; } - int priority() const { return priority_; } - void set_priority(int priority) { priority_ = priority; } + RequestPriority priority() const { return priority_; } + void set_priority(RequestPriority priority) { priority_ = priority; } int32 send_window_size() const { return send_window_size_; } void set_send_window_size(int32 window_size) { @@ -315,7 +316,7 @@ class NET_EXPORT_PRIVATE SpdyStream SpdyStreamId stream_id_; std::string path_; - int priority_; + RequestPriority priority_; size_t slot_; // Flow control variables. |