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

Unified Diff: content/common/child_thread.cc

Issue 14359004: Inject renderer recieve message time into resource notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added description comment Created 7 years, 8 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/common/child_thread.cc
diff --git a/content/common/child_thread.cc b/content/common/child_thread.cc
index efb5e7120e3f89e5093d36adc81be14ca0daa766..15e5255b5b0759c12825870f9ec95540d27019eb 100644
--- a/content/common/child_thread.cc
+++ b/content/common/child_thread.cc
@@ -15,6 +15,7 @@
#include "content/common/child_histogram_message_filter.h"
#include "content/common/child_process.h"
#include "content/common/child_process_messages.h"
+#include "content/common/child_resource_message_filter.h"
#include "content/common/fileapi/file_system_dispatcher.h"
#include "content/common/quota_dispatcher.h"
#include "content/common/resource_dispatcher.h"
@@ -116,11 +117,14 @@ void ChildThread::Init() {
new ThreadSafeSender(base::MessageLoopProxy::current(),
sync_message_filter_);
histogram_message_filter_ = new ChildHistogramMessageFilter();
+ resource_message_filter_ =
+ new ChildResourceMessageFilter(resource_dispatcher());
channel_->AddFilter(histogram_message_filter_.get());
channel_->AddFilter(sync_message_filter_.get());
channel_->AddFilter(new components::ChildTraceMessageFilter(
ChildProcess::current()->io_message_loop_proxy()));
+ channel_->AddFilter(resource_message_filter_.get());
#if defined(OS_POSIX)
// Check that --process-type is specified so we don't do this in unit tests

Powered by Google App Engine
This is Rietveld 408576698