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

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

Issue 11270027: Add a ResourceScheduler to ResourceDispatcherHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use new WebKit signals Created 7 years, 10 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
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..5a5419856951a8cb9f050ab7a1f61420b92e4c8f 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_; }
+
private:
FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest,
TestBlockedRequestsProcessDies);
@@ -429,6 +432,8 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
ObserverList<ResourceMessageDelegate>*> DelegateMap;
DelegateMap delegate_map_;
+ ResourceScheduler scheduler_;
+
DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
};
« no previous file with comments | « no previous file | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | content/browser/loader/resource_scheduler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698