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

Unified Diff: content/common/child_thread.cc

Issue 6711024: Example of how to interpose yourself in a message stream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
===================================================================
--- content/common/child_thread.cc (revision 83227)
+++ content/common/child_thread.cc (working copy)
@@ -127,6 +127,10 @@
return router_.ResolveRoute(routing_id);
}
+void ChildThread::SetOutgoingMessageFilter(IPC::OutgoingMessageFilter* filter){
+ channel_->set_outgoing_message_filter(filter);
+}
+
webkit_glue::ResourceLoaderBridge* ChildThread::CreateBridge(
const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) {
return resource_dispatcher()->CreateBridge(request_info);

Powered by Google App Engine
This is Rietveld 408576698