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

Unified Diff: net/base/request_priority.cc

Issue 1866483002: Add a new priority level, THROTTLED, below IDLE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjusted predictor priorities. Created 4 years, 2 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/base/request_priority.cc
diff --git a/net/base/request_priority.cc b/net/base/request_priority.cc
index 4f2ab7f7e06107a31676f88c9e3a506afd2e639a..87a6749d740afb511a2160389a3ba83dace33ef7 100644
--- a/net/base/request_priority.cc
+++ b/net/base/request_priority.cc
@@ -10,6 +10,8 @@ namespace net {
const char* RequestPriorityToString(RequestPriority priority) {
switch (priority) {
+ case THROTTLED:
+ return "THROTTLED";
case IDLE:
return "IDLE";
case LOWEST:

Powered by Google App Engine
This is Rietveld 408576698