| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "remoting/host/gnubby_auth_handler.h" | 5 #include "remoting/host/gnubby_auth_handler.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace remoting { | 9 namespace remoting { |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 class GnubbyAuthHandlerWin : public GnubbyAuthHandler { | 13 class GnubbyAuthHandlerWin : public GnubbyAuthHandler { |
| 14 private: | 14 private: |
| 15 // GnubbyAuthHandler interface. | 15 // GnubbyAuthHandler interface. |
| 16 virtual void DeliverClientMessage(const std::string& message) OVERRIDE; | 16 virtual void DeliverClientMessage(const std::string& message) override; |
| 17 virtual void DeliverHostDataMessage(int connection_id, | 17 virtual void DeliverHostDataMessage(int connection_id, |
| 18 const std::string& data) const OVERRIDE; | 18 const std::string& data) const override; |
| 19 | 19 |
| 20 DISALLOW_COPY_AND_ASSIGN(GnubbyAuthHandlerWin); | 20 DISALLOW_COPY_AND_ASSIGN(GnubbyAuthHandlerWin); |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace | 23 } // namespace |
| 24 | 24 |
| 25 // static | 25 // static |
| 26 scoped_ptr<GnubbyAuthHandler> GnubbyAuthHandler::Create( | 26 scoped_ptr<GnubbyAuthHandler> GnubbyAuthHandler::Create( |
| 27 protocol::ClientStub* client_stub) { | 27 protocol::ClientStub* client_stub) { |
| 28 return nullptr; | 28 return nullptr; |
| 29 } | 29 } |
| 30 | 30 |
| 31 // static | 31 // static |
| 32 void GnubbyAuthHandler::SetGnubbySocketName( | 32 void GnubbyAuthHandler::SetGnubbySocketName( |
| 33 const base::FilePath& gnubby_socket_name) { | 33 const base::FilePath& gnubby_socket_name) { |
| 34 NOTIMPLEMENTED(); | 34 NOTIMPLEMENTED(); |
| 35 } | 35 } |
| 36 | 36 |
| 37 void GnubbyAuthHandlerWin::DeliverClientMessage(const std::string& message) { | 37 void GnubbyAuthHandlerWin::DeliverClientMessage(const std::string& message) { |
| 38 NOTIMPLEMENTED(); | 38 NOTIMPLEMENTED(); |
| 39 } | 39 } |
| 40 | 40 |
| 41 void GnubbyAuthHandlerWin::DeliverHostDataMessage(int connection_id, | 41 void GnubbyAuthHandlerWin::DeliverHostDataMessage(int connection_id, |
| 42 const std::string& data) | 42 const std::string& data) |
| 43 const { | 43 const { |
| 44 NOTIMPLEMENTED(); | 44 NOTIMPLEMENTED(); |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace remoting | 47 } // namespace remoting |
| OLD | NEW |