| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 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. | |
| 4 | |
| 5 // Include this file if you need to access the Debugger outside of the debugger | |
| 6 // project. Don't include debugger.h directly. If there's functionality from | |
| 7 // Debugger needed, add new wrapper methods to this file. | |
| 8 | |
| 9 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_WRAPPER_H_ | |
| 10 #define CHROME_BROWSER_DEBUGGER_DEBUGGER_WRAPPER_H_ | |
| 11 #pragma once | |
| 12 | |
| 13 #include "base/basictypes.h" | |
| 14 #include "base/ref_counted.h" | |
| 15 | |
| 16 class DebuggerHost; | |
| 17 class DevToolsHttpProtocolHandler; | |
| 18 class DevToolsProtocolHandler; | |
| 19 class DevToolsRemoteListenSocket; | |
| 20 | |
| 21 class DebuggerWrapper : public base::RefCountedThreadSafe<DebuggerWrapper> { | |
| 22 public: | |
| 23 DebuggerWrapper(int port, bool useHttp); | |
| 24 | |
| 25 private: | |
| 26 friend class base::RefCountedThreadSafe<DebuggerWrapper>; | |
| 27 | |
| 28 virtual ~DebuggerWrapper(); | |
| 29 | |
| 30 scoped_refptr<DevToolsProtocolHandler> proto_handler_; | |
| 31 scoped_refptr<DevToolsHttpProtocolHandler> http_handler_; | |
| 32 }; | |
| 33 | |
| 34 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_WRAPPER_H_ | |
| OLD | NEW |