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

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

Issue 2363743005: Remove code for max connection throttling; the experiment's complete. (Closed)
Patch Set: Merge to p420427. Created 4 years, 3 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 85442f0f37c0044f4a9be191e56e1fbf471229ff..0b4218227b9721dcf0416ebdcd2c35cc5a8e74bb 100644
--- a/content/browser/loader/resource_scheduler.h
+++ b/content/browser/loader/resource_scheduler.h
@@ -105,17 +105,6 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe {
int intra_priority_value);
private:
- // Returns true if limiting of outstanding requests is enabled.
- bool limit_outstanding_requests() const {
- return limit_outstanding_requests_;
- }
-
- // Returns the outstanding request limit. Only valid if
- // |IsLimitingOutstandingRequests()|.
- size_t outstanding_request_limit() const {
- return outstanding_request_limit_;
- }
-
// Returns the maximum number of delayable requests to all be in-flight at
// any point in time (across all hosts).
size_t max_num_delayable_requests() const {
@@ -145,8 +134,6 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe {
Client* GetClient(int child_id, int route_id);
ClientMap client_map_;
- bool limit_outstanding_requests_;
- size_t outstanding_request_limit_;
size_t max_num_delayable_requests_;
RequestSet unowned_requests_;
« 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