| Index: remoting/host/security_key/fake_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_security_key_ipc_client.h
|
| similarity index 86%
|
| rename from remoting/host/security_key/fake_remote_security_key_ipc_client.h
|
| rename to remoting/host/security_key/fake_security_key_ipc_client.h
|
| index d08ce7b34379ca6e0f1f9f3bb42c3d798ed39c6c..7dc3b116d788cbace708cc4ce031dc27fc2d05f2 100644
|
| --- a/remoting/host/security_key/fake_remote_security_key_ipc_client.h
|
| +++ b/remoting/host/security_key/fake_security_key_ipc_client.h
|
| @@ -11,7 +11,7 @@
|
| #include "base/callback_forward.h"
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| -#include "remoting/host/security_key/remote_security_key_ipc_client.h"
|
| +#include "remoting/host/security_key/security_key_ipc_client.h"
|
|
|
| namespace IPC {
|
| class Channel;
|
| @@ -20,16 +20,16 @@ class Message;
|
|
|
| namespace remoting {
|
|
|
| -// Simulates the RemoteSecurityKeyIpcClient and provides access to data members
|
| +// Simulates the SecurityKeyIpcClient and provides access to data members
|
| // for testing. This class is used for scenarios which require an IPC channel
|
| // as well as for tests which only need callbacks activated.
|
| -class FakeRemoteSecurityKeyIpcClient : public RemoteSecurityKeyIpcClient {
|
| +class FakeSecurityKeyIpcClient : public SecurityKeyIpcClient {
|
| public:
|
| - explicit FakeRemoteSecurityKeyIpcClient(
|
| + explicit FakeSecurityKeyIpcClient(
|
| const base::Closure& channel_event_callback);
|
| - ~FakeRemoteSecurityKeyIpcClient() override;
|
| + ~FakeSecurityKeyIpcClient() override;
|
|
|
| - // RemoteSecurityKeyIpcClient interface.
|
| + // SecurityKeyIpcClient interface.
|
| bool WaitForSecurityKeyIpcServerChannel() override;
|
| void EstablishIpcConnection(
|
| const base::Closure& connection_ready_callback,
|
| @@ -46,7 +46,7 @@ class FakeRemoteSecurityKeyIpcClient : public RemoteSecurityKeyIpcClient {
|
| // an IPC channel for testing.
|
| void SendSecurityKeyRequestViaIpc(const std::string& request_payload);
|
|
|
| - base::WeakPtr<FakeRemoteSecurityKeyIpcClient> AsWeakPtr();
|
| + base::WeakPtr<FakeSecurityKeyIpcClient> AsWeakPtr();
|
|
|
| const std::string& last_message_received() const {
|
| return last_message_received_;
|
| @@ -107,9 +107,9 @@ class FakeRemoteSecurityKeyIpcClient : public RemoteSecurityKeyIpcClient {
|
| // Value returned by SendSecurityKeyRequest() method.
|
| std::string security_key_response_payload_;
|
|
|
| - base::WeakPtrFactory<FakeRemoteSecurityKeyIpcClient> weak_factory_;
|
| + base::WeakPtrFactory<FakeSecurityKeyIpcClient> weak_factory_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(FakeRemoteSecurityKeyIpcClient);
|
| + DISALLOW_COPY_AND_ASSIGN(FakeSecurityKeyIpcClient);
|
| };
|
|
|
| } // namespace remoting
|
|
|