Index: remoting/host/security_key/fake_remote_security_key_ipc_client.h |
diff --git a/remoting/host/security_key/fake_remote_security_key_ipc_client.h b/remoting/host/security_key/fake_remote_security_key_ipc_client.h |
index adf10db01bea48cccd96debbc54cc60f187cfc79..d08ce7b34379ca6e0f1f9f3bb42c3d798ed39c6c 100644 |
--- a/remoting/host/security_key/fake_remote_security_key_ipc_client.h |
+++ b/remoting/host/security_key/fake_remote_security_key_ipc_client.h |
@@ -52,6 +52,8 @@ class FakeRemoteSecurityKeyIpcClient : public RemoteSecurityKeyIpcClient { |
return last_message_received_; |
} |
+ bool ipc_channel_connected() { return ipc_channel_connected_; } |
+ |
void set_wait_for_ipc_channel_return_value(bool return_value) { |
wait_for_ipc_channel_return_value_ = return_value; |
} |
@@ -99,6 +101,9 @@ class FakeRemoteSecurityKeyIpcClient : public RemoteSecurityKeyIpcClient { |
// Value returned by WaitForSecurityKeyIpcServerChannel() method. |
bool wait_for_ipc_channel_return_value_ = true; |
+ // Stores whether a connection to the server IPC channel is active. |
+ bool ipc_channel_connected_ = false; |
+ |
// Value returned by SendSecurityKeyRequest() method. |
std::string security_key_response_payload_; |