| Index: remoting/host/security_key/fake_security_key_ipc_client.h
|
| diff --git a/remoting/host/security_key/fake_security_key_ipc_client.h b/remoting/host/security_key/fake_security_key_ipc_client.h
|
| index b3b9523ebb7a4e44e31ba274568ca6536a94324b..5e314f4f5c2d0d3aa1ef99167ff143aa6c63b832 100644
|
| --- a/remoting/host/security_key/fake_security_key_ipc_client.h
|
| +++ b/remoting/host/security_key/fake_security_key_ipc_client.h
|
| @@ -75,6 +75,10 @@ class FakeSecurityKeyIpcClient : public SecurityKeyIpcClient {
|
| security_key_response_payload_ = response_payload;
|
| }
|
|
|
| + void set_on_channel_connected_callback(const base::Closure& callback) {
|
| + on_channel_connected_callback_ = callback;
|
| + }
|
| +
|
| private:
|
| // IPC::Listener implementation.
|
| bool OnMessageReceived(const IPC::Message& message) override;
|
| @@ -93,6 +97,9 @@ class FakeSecurityKeyIpcClient : public SecurityKeyIpcClient {
|
| // Called when a change in the IPC channel state has occurred.
|
| base::Closure channel_event_callback_;
|
|
|
| + // Called when the IPC Channel is connected.
|
| + base::Closure on_channel_connected_callback_;
|
| +
|
| // Used for sending/receiving security key messages between processes.
|
| std::unique_ptr<IPC::Channel> client_channel_;
|
|
|
|
|