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

Unified Diff: ipc/ipc_sync_channel.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
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel.cc
===================================================================
--- ipc/ipc_sync_channel.cc (revision 83739)
+++ ipc/ipc_sync_channel.cc (working copy)
@@ -400,6 +400,9 @@
}
bool SyncChannel::SendWithTimeout(Message* message, int timeout_ms) {
+ if (outgoing_message_filter())
jam 2011/05/02 20:06:11 this should be done in ChannelProxy::Send
+ message = outgoing_message_filter()->Rewrite(message);
+
if (!message->is_sync()) {
ChannelProxy::Send(message);
return true;
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698