| Index: content/browser/loader/resource_scheduler.h
|
| diff --git a/content/browser/loader/resource_scheduler.h b/content/browser/loader/resource_scheduler.h
|
| index 71014ce122f0598ccb85de7f173cc537fcbddfff..4ebc73416da794ebfd27b2fa256d21db0ab29ccf 100644
|
| --- a/content/browser/loader/resource_scheduler.h
|
| +++ b/content/browser/loader/resource_scheduler.h
|
| @@ -14,7 +14,7 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/sequence_checker.h"
|
| #include "content/common/content_export.h"
|
| #include "net/base/priority_queue.h"
|
| #include "net/base/request_priority.h"
|
| @@ -52,7 +52,7 @@ class ResourceThrottle;
|
| // The scheduler may defer issuing the request via the ResourceThrottle
|
| // interface or it may alter the request's priority by calling set_priority() on
|
| // the URLRequest.
|
| -class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe {
|
| +class CONTENT_EXPORT ResourceScheduler {
|
| public:
|
| ResourceScheduler();
|
| ~ResourceScheduler();
|
| @@ -150,6 +150,8 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe {
|
| bool yielding_scheduler_enabled_;
|
| int max_requests_before_yielding_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ResourceScheduler);
|
| };
|
|
|
|
|