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
3 // found in the LICENSE file.
5 #include "remoting/host/gnubby_auth_handler.h"
7 #include "base/logging.h"
13 class GnubbyAuthHandlerWin
: public GnubbyAuthHandler
{
15 // GnubbyAuthHandler interface.
16 virtual void DeliverClientMessage(const std::string
& message
) override
;
17 virtual void DeliverHostDataMessage(int connection_id
,
18 const std::string
& data
) const override
;
20 DISALLOW_COPY_AND_ASSIGN(GnubbyAuthHandlerWin
);
26 scoped_ptr
<GnubbyAuthHandler
> GnubbyAuthHandler::Create(
27 protocol::ClientStub
* client_stub
) {
32 void GnubbyAuthHandler::SetGnubbySocketName(
33 const base::FilePath
& gnubby_socket_name
) {
37 void GnubbyAuthHandlerWin::DeliverClientMessage(const std::string
& message
) {
41 void GnubbyAuthHandlerWin::DeliverHostDataMessage(int connection_id
,
42 const std::string
& data
)
47 } // namespace remoting