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

Unified Diff: remoting/host/host_mock_objects.cc

Issue 138753005: Add gnubby authentication to remoting host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/host_mock_objects.cc
diff --git a/remoting/host/host_mock_objects.cc b/remoting/host/host_mock_objects.cc
index 4bdd064d24a155229e9f0cc0088c3c8640baf504..61936882845a66594523eb0badcae8e365acfd0e 100644
--- a/remoting/host/host_mock_objects.cc
+++ b/remoting/host/host_mock_objects.cc
@@ -69,4 +69,30 @@ MockHostStatusObserver::MockHostStatusObserver() {}
MockHostStatusObserver::~MockHostStatusObserver() {}
+MockGnubbyAuthHandler::MockGnubbyAuthHandler(
+ scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
+ GnubbyConnectionFactory* gnubby_connection_factory,
+ protocol::ClientStub* client_stub)
+ : GnubbyAuthHandler(network_task_runner,
+ gnubby_connection_factory,
+ client_stub) {}
+
+MockGnubbyAuthHandler::~MockGnubbyAuthHandler() {}
+
+MockGnubbyConnection::MockGnubbyConnection(
+ scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
+ GnubbyAuthHandler* auth_handler,
+ int connection_id,
+ net::StreamSocket* socket)
+ : GnubbyConnection(network_task_runner,
+ auth_handler,
+ connection_id,
+ socket) {}
+
+MockGnubbyConnection::~MockGnubbyConnection() {}
+
+MockGnubbyConnectionFactory::MockGnubbyConnectionFactory() {}
+
+MockGnubbyConnectionFactory::~MockGnubbyConnectionFactory() {}
+
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698