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

Unified Diff: ipc/ipc_channel.h

Issue 1334593002: Reland #2 "ipc: Add a new field num_brokered_attachments to the message header." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and type error. Created 5 years, 3 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 | « content/common/resource_messages.cc ('k') | ipc/ipc_channel_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel.h
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h
index 4784a5cac2f80c491ef27ab01aae9c07431ae341..06555d333de03dc565a8bed0d25a75461577eca2 100644
--- a/ipc/ipc_channel.h
+++ b/ipc/ipc_channel.h
@@ -169,6 +169,11 @@ class IPC_EXPORT Channel : public Endpoint {
~Channel() override;
+ // TODO(erikchen): Temporary code to help track http://crbug.com/527588.
+ using MessageVerifier = void (*)(const Message*);
+ static void SetMessageVerifier(MessageVerifier verifier);
+ static MessageVerifier GetMessageVerifier();
+
// Connect the pipe. On the server side, this will initiate
// waiting for connections. On the client, it attempts to
// connect to a pre-existing pipe. Note, calling Connect()
« no previous file with comments | « content/common/resource_messages.cc ('k') | ipc/ipc_channel_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698