| Index: ipc/ipc_channel_win.cc
|
| ===================================================================
|
| --- ipc/ipc_channel_win.cc (revision 130136)
|
| +++ ipc/ipc_channel_win.cc (working copy)
|
| @@ -142,7 +142,9 @@
|
| }
|
|
|
| bool Channel::ChannelImpl::WillDispatchInputMessage(Message* msg) {
|
| - // We don't need to do anything here.
|
| + // Make sure we get a hello when client validation is required.
|
| + if (validate_client_)
|
| + return IsHelloMessage(*msg);
|
| return true;
|
| }
|
|
|
| @@ -157,6 +159,8 @@
|
| listener()->OnChannelError();
|
| return;
|
| }
|
| + // validation completed.
|
| + validate_client_ = false;
|
| listener()->OnChannelConnected(claimed_pid);
|
| }
|
|
|
|
|