| Index: content/browser/loader/resource_dispatcher_host_impl.h
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
|
| index edffcf7888f93787248112c03b522183ae7051a5..0627227c2b05e7ba192454acc8d5e7bd6e3325c2 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.h
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.h
|
| @@ -27,6 +27,7 @@
|
| #include "content/browser/download/download_resource_handler.h"
|
| #include "content/browser/loader/resource_loader.h"
|
| #include "content/browser/loader/resource_loader_delegate.h"
|
| +#include "content/browser/loader/resource_scheduler.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/child_process_data.h"
|
| #include "content/public/browser/download_id.h"
|
| @@ -217,6 +218,8 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
|
|
| void ClearSSLClientAuthHandlerForRequest(net::URLRequest* request);
|
|
|
| + ResourceScheduler* scheduler() { return scheduler_.get(); }
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest,
|
| TestBlockedRequestsProcessDies);
|
| @@ -256,6 +259,9 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| int* render_process_host_id,
|
| int* render_view_host_id);
|
|
|
| + // An init helper that runs on the IO thread.
|
| + void OnInit();
|
| +
|
| // A shutdown helper that runs on the IO thread.
|
| void OnShutdown();
|
|
|
| @@ -429,6 +435,8 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| ObserverList<ResourceMessageDelegate>*> DelegateMap;
|
| DelegateMap delegate_map_;
|
|
|
| + scoped_ptr<ResourceScheduler> scheduler_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
|
| };
|
|
|
|
|