Index: remoting/host/security_key/fake_ipc_security_key_auth_handler.h |
diff --git a/remoting/host/security_key/fake_ipc_gnubby_auth_handler.h b/remoting/host/security_key/fake_ipc_security_key_auth_handler.h |
similarity index 63% |
rename from remoting/host/security_key/fake_ipc_gnubby_auth_handler.h |
rename to remoting/host/security_key/fake_ipc_security_key_auth_handler.h |
index 73b5377f516a71bcff9f79159d1789459433d07e..086fcaacb47a1d65d12f8712d30c1737294c4a82 100644 |
--- a/remoting/host/security_key/fake_ipc_gnubby_auth_handler.h |
+++ b/remoting/host/security_key/fake_ipc_security_key_auth_handler.h |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_ |
-#define REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_ |
+#ifndef REMOTING_HOST_SECURITY_KEY_FAKE_IPC_SECURITY_KEY_AUTH_HANDLER_H_ |
+#define REMOTING_HOST_SECURITY_KEY_FAKE_IPC_SECURITY_KEY_AUTH_HANDLER_H_ |
-#include "remoting/host/security_key/gnubby_auth_handler.h" |
+#include "remoting/host/security_key/security_key_auth_handler.h" |
#include <memory> |
#include <string> |
@@ -20,20 +20,20 @@ class Message; |
namespace remoting { |
-// Simplified implementation of an IPC based GnubbyAuthHandler class used for |
-// testing. |
-class FakeIpcGnubbyAuthHandler : public GnubbyAuthHandler, |
- public IPC::Listener { |
+// Simplified implementation of an IPC based SecurityKeyAuthHandler class used |
+// for testing. |
+class FakeIpcSecurityKeyAuthHandler : public SecurityKeyAuthHandler, |
+ public IPC::Listener { |
public: |
- FakeIpcGnubbyAuthHandler(); |
- ~FakeIpcGnubbyAuthHandler() override; |
+ FakeIpcSecurityKeyAuthHandler(); |
+ ~FakeIpcSecurityKeyAuthHandler() override; |
- // GnubbyAuthHandler interface. |
- void CreateGnubbyConnection() override; |
- bool IsValidConnectionId(int gnubby_connection_id) const override; |
- void SendClientResponse(int gnubby_connection_id, |
+ // SecurityKeyAuthHandler interface. |
+ void CreateSecurityKeyConnection() override; |
+ bool IsValidConnectionId(int security_key_connection_id) const override; |
+ void SendClientResponse(int security_key_connection_id, |
const std::string& response) override; |
- void SendErrorAndCloseConnection(int gnubby_connection_id) override; |
+ void SendErrorAndCloseConnection(int security_key_connection_id) override; |
void SetSendMessageCallback(const SendMessageCallback& callback) override; |
size_t GetActiveConnectionCountForTest() const override; |
void SetRequestTimeoutForTest(base::TimeDelta timeout) override; |
@@ -64,9 +64,9 @@ class FakeIpcGnubbyAuthHandler : public GnubbyAuthHandler, |
// channel to start a security key forwarding session on. |
std::unique_ptr<IPC::Channel> ipc_server_channel_; |
- DISALLOW_COPY_AND_ASSIGN(FakeIpcGnubbyAuthHandler); |
+ DISALLOW_COPY_AND_ASSIGN(FakeIpcSecurityKeyAuthHandler); |
}; |
} // namespace remoting |
-#endif // REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_ |
+#endif // REMOTING_HOST_SECURITY_KEY_FAKE_IPC_SECURITY_KEY_AUTH_HANDLER_H_ |