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

Unified Diff: net/spdy/spdy_network_transaction_spdy3_unittest.cc

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_network_transaction_spdy3_unittest.cc
diff --git a/net/spdy/spdy_network_transaction_spdy3_unittest.cc b/net/spdy/spdy_network_transaction_spdy3_unittest.cc
index dcc48e5527c6c9568875a89f617e3cb4705fc3c9..6cfe4a6b440edfb09d8b19cabafa2e2962c5c3e3 100644
--- a/net/spdy/spdy_network_transaction_spdy3_unittest.cc
+++ b/net/spdy/spdy_network_transaction_spdy3_unittest.cc
@@ -569,8 +569,8 @@ TEST_P(SpdyNetworkTransactionSpdy3Test, Get) {
}
TEST_P(SpdyNetworkTransactionSpdy3Test, GetAtEachPriority) {
- for (RequestPriority p = HIGHEST; p < NUM_PRIORITIES;
- p = RequestPriority(p+1)) {
+ for (RequestPriority p = MINIMUM_PRIORITY; p < NUM_PRIORITIES;
+ p = RequestPriority(p + 1)) {
// Construct the request.
scoped_ptr<SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, p));
MockWrite writes[] = { CreateMockWrite(*req) };

Powered by Google App Engine
This is Rietveld 408576698