| Index: remoting/host/security_key/remote_security_key_message_reader_impl.h
|
| diff --git a/remoting/host/security_key/remote_security_key_message_reader_impl.h b/remoting/host/security_key/remote_security_key_message_reader_impl.h
|
| index 873d478093a2cdad64788c5c5bd2c7cf77ad7c0f..051fc3338e6e3b6b7acc4b898685275f83c80588 100644
|
| --- a/remoting/host/security_key/remote_security_key_message_reader_impl.h
|
| +++ b/remoting/host/security_key/remote_security_key_message_reader_impl.h
|
| @@ -38,6 +38,10 @@ class RemoteSecurityKeyMessageReaderImpl
|
| // |message_callback_| on the originating thread. Run on |read_task_runner_|.
|
| void ReadMessage();
|
|
|
| + // Reads the nubmer of bytes indicated by |bytes_to_read| into |buffer| from
|
| + // |read_stream_|. Returns true if all bytes were retrieved successfully.
|
| + bool ReadFromStream(char* buffer, size_t bytes_to_read);
|
| +
|
| // Callback run on |read_task_runner_| when an error occurs or EOF is reached.
|
| void NotifyError();
|
|
|
|
|