Index: remoting/host/security_key/fake_security_key_ipc_server.cc |
diff --git a/remoting/host/security_key/fake_security_key_ipc_server.cc b/remoting/host/security_key/fake_security_key_ipc_server.cc |
index e8ed4424e7e40d6e5c40f6ed887c8bab558af5a8..561ed31a61fa30398cc759a04ec3bb38e150fc19 100644 |
--- a/remoting/host/security_key/fake_security_key_ipc_server.cc |
+++ b/remoting/host/security_key/fake_security_key_ipc_server.cc |
@@ -99,6 +99,16 @@ bool FakeSecurityKeyIpcServer::SendResponse(const std::string& message_data) { |
new ChromotingNetworkToRemoteSecurityKeyMsg_Response(message_data)); |
} |
+void FakeSecurityKeyIpcServer::SendConnectionReadyMessage() { |
+ ipc_channel_->Send( |
+ new ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionReady()); |
+} |
+ |
+void FakeSecurityKeyIpcServer::SendInvalidSessionMessage() { |
+ ipc_channel_->Send( |
+ new ChromotingNetworkToRemoteSecurityKeyMsg_InvalidSession()); |
+} |
+ |
FakeSecurityKeyIpcServerFactory::FakeSecurityKeyIpcServerFactory() { |
SecurityKeyIpcServer::SetFactoryForTest(this); |
} |