summaryrefslogtreecommitdiffstats
path: root/remoting/host/gnubby_auth_handler_win.cc
diff options
context:
space:
mode:
authorpsj@chromium.org <psj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-20 13:28:14 +0000
committerpsj@chromium.org <psj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-20 13:28:14 +0000
commit3a5b82c105248302907e2f8813823fbf00c76db5 (patch)
tree1cd67526ccf64a7a3eb54d00b11f3b189521913e /remoting/host/gnubby_auth_handler_win.cc
parentd358f57009b85fb7440208afa5ba87636b491889 (diff)
downloadchromium_src-3a5b82c105248302907e2f8813823fbf00c76db5.zip
chromium_src-3a5b82c105248302907e2f8813823fbf00c76db5.tar.gz
chromium_src-3a5b82c105248302907e2f8813823fbf00c76db5.tar.bz2
Add gnubby authentication to remoting host
The remoting host changes, including the associated policy definitions, required to proxy gnubby traffic through a Chrome Remote Desktop session. BUG=134250 Review URL: https://codereview.chromium.org/138753005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/gnubby_auth_handler_win.cc')
-rw-r--r--remoting/host/gnubby_auth_handler_win.cc47
1 files changed, 47 insertions, 0 deletions
diff --git a/remoting/host/gnubby_auth_handler_win.cc b/remoting/host/gnubby_auth_handler_win.cc
new file mode 100644
index 0000000..12731b3
--- /dev/null
+++ b/remoting/host/gnubby_auth_handler_win.cc
@@ -0,0 +1,47 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "remoting/host/gnubby_auth_handler.h"
+
+#include "base/logging.h"
+
+namespace remoting {
+
+namespace {
+
+class GnubbyAuthHandlerWin : public GnubbyAuthHandler {
+ private:
+ // GnubbyAuthHandler interface.
+ virtual void DeliverClientMessage(const std::string& message) OVERRIDE;
+ virtual void DeliverHostDataMessage(int connection_id,
+ const std::string& data) const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(GnubbyAuthHandlerWin);
+};
+
+} // namespace
+
+// static
+scoped_ptr<GnubbyAuthHandler> GnubbyAuthHandler::Create(
+ protocol::ClientStub* client_stub) {
+ return scoped_ptr<GnubbyAuthHandler>();
+}
+
+// static
+void GnubbyAuthHandler::SetGnubbySocketName(
+ const base::FilePath& gnubby_socket_name) {
+ NOTIMPLEMENTED();
+}
+
+void GnubbyAuthHandlerWin::DeliverClientMessage(const std::string& message) {
+ NOTIMPLEMENTED();
+}
+
+void GnubbyAuthHandlerWin::DeliverHostDataMessage(int connection_id,
+ const std::string& data)
+ const {
+ NOTIMPLEMENTED();
+}
+
+} // namespace remoting