1 // Copyright (c) 2014 GitHub, Inc. All rights reserved.
2 // Use of this source code is governed by the MIT license that can be
3 // found in the LICENSE file.
5 #ifndef ATOM_BROWSER_NODE_DEBUGGER_H_
6 #define ATOM_BROWSER_NODE_DEBUGGER_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h"
10 #include "base/threading/thread.h"
14 class TCPServerSocket;
19 // Add support for node's "--debug" switch.
23 virtual ~NodeDebugger();
29 scoped_ptr<net::TCPServerSocket> server_socket_;
30 scoped_ptr<net::StreamSocket> accepted_socket_;
32 base::WeakPtrFactory<NodeDebugger> weak_factory_;
34 DISALLOW_COPY_AND_ASSIGN(NodeDebugger);
39 #endif // ATOM_BROWSER_NODE_DEBUGGER_H_