Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: remoting/host/security_key/fake_ipc_security_key_auth_handler.cc

Issue 2162083003: Renaming Gnubby and RemoteSecurityKey files/classes/members (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a GYP build error Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/security_key/fake_ipc_security_key_auth_handler.cc
diff --git a/remoting/host/security_key/fake_ipc_gnubby_auth_handler.cc b/remoting/host/security_key/fake_ipc_security_key_auth_handler.cc
similarity index 54%
rename from remoting/host/security_key/fake_ipc_gnubby_auth_handler.cc
rename to remoting/host/security_key/fake_ipc_security_key_auth_handler.cc
index 2918f387933a3e283c26460c031ef8379e08594f..f16e8b4b369901bf169fb6c30decf03d66f92c2a 100644
--- a/remoting/host/security_key/fake_ipc_gnubby_auth_handler.cc
+++ b/remoting/host/security_key/fake_ipc_security_key_auth_handler.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/security_key/fake_ipc_gnubby_auth_handler.h"
+#include "remoting/host/security_key/fake_ipc_security_key_auth_handler.h"
#include <memory>
@@ -16,48 +16,51 @@
namespace remoting {
-FakeIpcGnubbyAuthHandler::FakeIpcGnubbyAuthHandler() {}
+FakeIpcSecurityKeyAuthHandler::FakeIpcSecurityKeyAuthHandler() {}
-FakeIpcGnubbyAuthHandler::~FakeIpcGnubbyAuthHandler() {}
+FakeIpcSecurityKeyAuthHandler::~FakeIpcSecurityKeyAuthHandler() {}
-void FakeIpcGnubbyAuthHandler::CreateGnubbyConnection() {
+void FakeIpcSecurityKeyAuthHandler::CreateSecurityKeyConnection() {
ipc_server_channel_ = IPC::Channel::CreateNamedServer(
IPC::ChannelHandle(ipc_server_channel_name_), this);
ASSERT_NE(nullptr, ipc_server_channel_);
ASSERT_TRUE(ipc_server_channel_->Connect());
}
-bool FakeIpcGnubbyAuthHandler::IsValidConnectionId(int connection_id) const {
+bool FakeIpcSecurityKeyAuthHandler::IsValidConnectionId(
+ int connection_id) const {
return false;
}
-void FakeIpcGnubbyAuthHandler::SendClientResponse(
+void FakeIpcSecurityKeyAuthHandler::SendClientResponse(
int connection_id,
const std::string& response_data) {}
-void FakeIpcGnubbyAuthHandler::SendErrorAndCloseConnection(int connection_id) {}
+void FakeIpcSecurityKeyAuthHandler::SendErrorAndCloseConnection(
+ int connection_id) {}
-void FakeIpcGnubbyAuthHandler::SetSendMessageCallback(
+void FakeIpcSecurityKeyAuthHandler::SetSendMessageCallback(
const SendMessageCallback& callback) {}
-size_t FakeIpcGnubbyAuthHandler::GetActiveConnectionCountForTest() const {
+size_t FakeIpcSecurityKeyAuthHandler::GetActiveConnectionCountForTest() const {
return 0;
}
-void FakeIpcGnubbyAuthHandler::SetRequestTimeoutForTest(
+void FakeIpcSecurityKeyAuthHandler::SetRequestTimeoutForTest(
base::TimeDelta timeout) {}
-bool FakeIpcGnubbyAuthHandler::OnMessageReceived(const IPC::Message& message) {
+bool FakeIpcSecurityKeyAuthHandler::OnMessageReceived(
+ const IPC::Message& message) {
// This class does handle any IPC messages sent by the client.
return false;
}
-void FakeIpcGnubbyAuthHandler::OnChannelConnected(int32_t peer_pid) {
+void FakeIpcSecurityKeyAuthHandler::OnChannelConnected(int32_t peer_pid) {
ASSERT_TRUE(ipc_server_channel_->Send(
new ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails(
ipc_security_key_channel_name_)));
}
-void FakeIpcGnubbyAuthHandler::OnChannelError() {}
+void FakeIpcSecurityKeyAuthHandler::OnChannelError() {}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698