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

Unified Diff: remoting/host/security_key/fake_security_key_ipc_client.h

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_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

Powered by Google App Engine
This is Rietveld 408576698