Index: components/nacl/loader/nacl_ipc_adapter.h |
diff --git a/components/nacl/loader/nacl_ipc_adapter.h b/components/nacl/loader/nacl_ipc_adapter.h |
index 270920595518bbd2e336669015638c0cfb49cde0..d361995a8988da9ce4eb9529a8e2542941199da9 100644 |
--- a/components/nacl/loader/nacl_ipc_adapter.h |
+++ b/components/nacl/loader/nacl_ipc_adapter.h |
@@ -148,6 +148,12 @@ class NaClIPCAdapter : public base::RefCountedThreadSafe<NaClIPCAdapter>, |
~IOThreadData(); |
scoped_ptr<IPC::Channel> channel_; |
+ |
+ // When we send a synchronous message (from untrusted to trusted), we store |
+ // its type here, so that later we can associate the reply with its type |
+ // for scanning. |
+ typedef std::map<int, uint32> PendingSyncMsgMap; |
+ PendingSyncMsgMap pending_sync_msgs_; |
}; |
virtual ~NaClIPCAdapter(); |