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

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: Address latest review comments Created 6 years, 10 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..0babcd329adb684ab1a39580f1b898124a54c31d 100644
--- a/remoting/host/host_mock_objects.cc
+++ b/remoting/host/host_mock_objects.cc
@@ -39,6 +39,12 @@ MockDesktopEnvironment::CreateVideoCapturer() {
return scoped_ptr<webrtc::ScreenCapturer>(CreateVideoCapturerPtr());
}
+scoped_ptr<GnubbyAuthHandler>
+MockDesktopEnvironment::CreateGnubbyAuthHandler(
+ protocol::ClientStub* client_stub) {
+ return scoped_ptr<GnubbyAuthHandler>(CreateGnubbyAuthHandlerPtr(client_stub));
+}
+
MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {}
MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {}
@@ -69,4 +75,9 @@ MockHostStatusObserver::MockHostStatusObserver() {}
MockHostStatusObserver::~MockHostStatusObserver() {}
+MockGnubbyAuthHandler::MockGnubbyAuthHandler(protocol::ClientStub* client_stub)
+ : GnubbyAuthHandler(client_stub) {}
+
+MockGnubbyAuthHandler::~MockGnubbyAuthHandler() {}
+
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698