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

Unified Diff: net/base/request_priority.h

Issue 10185007: [net] Change order of RequestPriority to natural: higher > lower (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed left-over comment 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
« no previous file with comments | « net/base/prioritized_dispatcher_unittest.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/request_priority.h
diff --git a/net/base/request_priority.h b/net/base/request_priority.h
index ca7a1ec509f99bf2062f714776781b09796bee55..ff4bfe5b5528d79dccd98c68ca093cd2f73f3abc 100644
--- a/net/base/request_priority.h
+++ b/net/base/request_priority.h
@@ -11,11 +11,12 @@ namespace net {
// Prioritization used in various parts of the networking code such
// as connection prioritization and resource loading prioritization.
enum RequestPriority {
- HIGHEST = 0, // 0 must be the highest priority.
- MEDIUM,
- LOW,
+ MINIMUM_PRIORITY = 0,
+ IDLE = 0,
LOWEST,
- IDLE,
+ LOW,
+ MEDIUM,
+ HIGHEST,
NUM_PRIORITIES,
};
« no previous file with comments | « net/base/prioritized_dispatcher_unittest.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698