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

Unified Diff: remoting/host/gnubby_auth_handler_win.cc

Issue 138753005: Add gnubby authentication to remoting host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another Windows warning 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
« no previous file with comments | « remoting/host/gnubby_auth_handler_posix_unittest.cc ('k') | remoting/host/gnubby_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/gnubby_auth_handler_win.cc
diff --git a/remoting/host/gnubby_auth_handler_win.cc b/remoting/host/gnubby_auth_handler_win.cc
new file mode 100644
index 0000000000000000000000000000000000000000..12731b3adf42fdb3c8384b2971055597ab14e40a
--- /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
« no previous file with comments | « remoting/host/gnubby_auth_handler_posix_unittest.cc ('k') | remoting/host/gnubby_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698