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

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

Issue 2575963002: Handle Security Key requests from outside the remoted session correctly (Closed)
Patch Set: Addressing CR Feedback Created 4 years 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_server.h
diff --git a/remoting/host/security_key/fake_security_key_ipc_server.h b/remoting/host/security_key/fake_security_key_ipc_server.h
index 7f7f4a3bd97473754c5e1359a2b15c2e597a3e5c..5b8c56845ce51f07321d8c83347cc13b153e0cd9 100644
--- a/remoting/host/security_key/fake_security_key_ipc_server.h
+++ b/remoting/host/security_key/fake_security_key_ipc_server.h
@@ -50,6 +50,12 @@ class FakeSecurityKeyIpcServer : public SecurityKeyIpcServer,
// Simulates the IPC channel being closed.
void CloseChannel();
+ // Sends a ConnectionReady message to the client.
+ void SendConnectionReadyMessage();
+
+ // Sends an InvalidSession message to the client.
+ void SendInvalidSessionMessage();
+
// Returns a WeakPtr reference to this instance.
base::WeakPtr<FakeSecurityKeyIpcServer> AsWeakPtr();

Powered by Google App Engine
This is Rietveld 408576698