Index: content/browser/loader/resource_scheduler_filter.cc |
diff --git a/content/browser/loader/resource_scheduler_filter.cc b/content/browser/loader/resource_scheduler_filter.cc |
index 2cf32e6e89f5dad9cd0d2f7c09598063f63a23b8..97e219e91bcbace3954086a7db630be342ce12e1 100644 |
--- a/content/browser/loader/resource_scheduler_filter.cc |
+++ b/content/browser/loader/resource_scheduler_filter.cc |
@@ -11,9 +11,17 @@ |
#include "content/public/common/page_transition_types.h" |
namespace content { |
+namespace { |
+const uint32 kFilteredMessageClasses[] = { |
+ FrameMsgStart, |
+ ViewMsgStart, |
+}; |
+} // namespace |
ResourceSchedulerFilter::ResourceSchedulerFilter(int child_id) |
- : child_id_(child_id) { |
+ : BrowserMessageFilter( |
+ kFilteredMessageClasses, arraysize(kFilteredMessageClasses)), |
+ child_id_(child_id) { |
} |
ResourceSchedulerFilter::~ResourceSchedulerFilter() { |