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

Unified Diff: content/browser/loader/resource_scheduler.h

Issue 2435743002: [ResourceScheduler] Throttle H2/QUIC requests just like we do for 1.1 (Closed)
Patch Set: Nit 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
« no previous file with comments | « no previous file | content/browser/loader/resource_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_scheduler.h
diff --git a/content/browser/loader/resource_scheduler.h b/content/browser/loader/resource_scheduler.h
index 0b4218227b9721dcf0416ebdcd2c35cc5a8e74bb..4a0721edfa9fd1149c2f69fd7cfcf7e12801055e 100644
--- a/content/browser/loader/resource_scheduler.h
+++ b/content/browser/loader/resource_scheduler.h
@@ -137,6 +137,10 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe {
size_t max_num_delayable_requests_;
RequestSet unowned_requests_;
+ // True if requests to servers that support priorities (e.g., H2/QUIC) can
+ // be delayed.
+ bool priority_requests_delayable_;
+
DISALLOW_COPY_AND_ASSIGN(ResourceScheduler);
};
« no previous file with comments | « no previous file | content/browser/loader/resource_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698