OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ |
6 #define CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 | 11 |
12 class Profile; | 12 class Profile; |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 class DevToolsHttpHandler; | 15 class DevToolsHttpHandler; |
16 } | 16 } |
17 | 17 |
18 class RemoteDebuggingServer { | 18 class RemoteDebuggingServer { |
19 public: | 19 public: |
20 RemoteDebuggingServer(Profile* profile, | 20 RemoteDebuggingServer(Profile* profile, |
21 const std::string& ip, | 21 const std::string& ip, |
22 int port, | 22 int port, |
23 const std::string& frontend_url); | 23 const std::string& frontend_url); |
24 | 24 |
25 virtual ~RemoteDebuggingServer(); | 25 virtual ~RemoteDebuggingServer(); |
26 | 26 |
27 private: | 27 private: |
28 content::DevToolsHttpHandler* devtools_http_handler_; | 28 content::DevToolsHttpHandler* devtools_http_handler_; |
29 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); | 29 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); |
30 }; | 30 }; |
31 | 31 |
32 #endif // CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_ | 32 #endif // CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ |
OLD | NEW |