Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: net/spdy/spdy_stream.h

Issue 10185007: [net] Change order of RequestPriority to natural: higher > lower (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use MINIMUM_PRIORITY instead of 0. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/spdy/spdy_stream.h
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
index 55e8777bb5790cc083bfa1a93a28029ebea76fb0..5f5ceda049706713352fb284bb9c1d2f72aae961 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.

Powered by Google App Engine
This is Rietveld 408576698