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 #ifndef COMPONENTS_DEVTOOLS_BRIDGE_SOCKET_TUNNEL_SERVER_H_
6 #define COMPONENTS_DEVTOOLS_BRIDGE_SOCKET_TUNNEL_SERVER_H_
11 #include "base/memory/scoped_ptr.h"
17 namespace devtools_bridge
{
19 class AbstractDataChannel
;
20 class SessionDependencyFactory
;
22 class SocketTunnelServer
{
24 SocketTunnelServer(SessionDependencyFactory
* factory
,
25 AbstractDataChannel
* data_channel
,
26 const std::string
& socket_name
);
27 ~SocketTunnelServer();
31 class ConnectionController
;
32 class DataChannelObserver
;
34 AbstractDataChannel
* const data_channel_
;
36 DISALLOW_COPY_AND_ASSIGN(SocketTunnelServer
);
39 } // namespace devtools_bridge
41 #endif // COMPONENTS_DEVTOOLS_BRIDGE_SOCKET_TUNNEL_SERVER_H_