Chromium Code Reviews| Index: content/browser/loader/resource_scheduler.h |
| diff --git a/content/browser/loader/resource_scheduler.h b/content/browser/loader/resource_scheduler.h |
| index 76b455c409fd5cd87f3764b72dce42d7f48abf6d..3c801663144035d20dd993a928b9521b4b62182e 100644 |
| --- a/content/browser/loader/resource_scheduler.h |
| +++ b/content/browser/loader/resource_scheduler.h |
| @@ -140,6 +140,11 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe { |
| // be delayed. |
| bool priority_requests_delayable_; |
| + // True if the scheduler should yield between several successive calls to |
| + // start resource requests. |
| + bool yielding_scheduler_; |
|
Charlie Harrison
2017/02/09 19:08:04
Without seeing the type, "yielding_scheduler_" imp
jkarlin
2017/02/09 19:48:13
Changed to yielding_scheduler_enabled_. How does t
Charlie Harrison
2017/02/09 20:43:29
Sounds good!
|
| + int max_requests_before_yielding_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(ResourceScheduler); |
| }; |