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

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

Issue 12600018: ResourceScheduler should use renderer notifications instead of MRUCache to track renderers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove dead code Created 7 years, 9 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 0627227c2b05e7ba192454acc8d5e7bd6e3325c2..fd3285100fefcb2ee69f3a6a2e6051baed54fe87 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -28,6 +28,7 @@
#include "content/browser/loader/resource_loader.h"
#include "content/browser/loader/resource_loader_delegate.h"
#include "content/browser/loader/resource_scheduler.h"
+#include "content/browser/loader/resource_scheduler_view_observer.h"
#include "content/common/content_export.h"
#include "content/public/browser/child_process_data.h"
#include "content/public/browser/download_id.h"
@@ -435,7 +436,8 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
ObserverList<ResourceMessageDelegate>*> DelegateMap;
DelegateMap delegate_map_;
- scoped_ptr<ResourceScheduler> scheduler_;
+ scoped_ptr<ResourceScheduler> scheduler_; // Lives on IO thread.
+ ResourceSchedulerViewObserver scheduler_observer_; // Lives on UI thread.
DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
};
« no previous file with comments | « no previous file | content/browser/loader/resource_scheduler.h » ('j') | content/browser/loader/resource_scheduler_view_observer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698