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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 7 8 #include <string> 9 10 #include "base/basictypes.h" 11 #include "chrome/browser/ui/host_desktop.h" 12 13 namespace content { 14 class DevToolsHttpHandler; 15 } 16 17 class RemoteDebuggingServer { 18 public: 19 RemoteDebuggingServer(chrome::HostDesktopType host_desktop_type, 20 const std::string& ip, 21 int port, 22 const std::string& frontend_url); 23 24 virtual ~RemoteDebuggingServer(); 25 26 private: 27 content::DevToolsHttpHandler* devtools_http_handler_; 28 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); 29 }; 30 31 #endif // CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 32