 Chromium Code Reviews
 Chromium Code Reviews Issue 6356015:
  DevTools: enable remote debugging with front-end served from the cloud.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 6356015:
  DevTools: enable remote debugging with front-end served from the cloud.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| Index: chrome/browser/debugger/devtools_protocol_handler.cc | 
| diff --git a/chrome/browser/debugger/devtools_protocol_handler.cc b/chrome/browser/debugger/devtools_protocol_handler.cc | 
| index 6e72ef030139faa0150f0eca4ca80e4c5ea39684..3fd577b1c24ee5e06f9efef8da9d9bc732a05e5b 100644 | 
| --- a/chrome/browser/debugger/devtools_protocol_handler.cc | 
| +++ b/chrome/browser/debugger/devtools_protocol_handler.cc | 
| @@ -7,8 +7,28 @@ | 
| #include "base/logging.h" | 
| #include "chrome/browser/browser_thread.h" | 
| #include "chrome/browser/debugger/inspectable_tab_proxy.h" | 
| +#include "chrome/browser/debugger/debugger_remote_service.h" | 
| #include "chrome/browser/debugger/devtools_remote_message.h" | 
| #include "chrome/browser/debugger/devtools_remote_listen_socket.h" | 
| +#include "chrome/browser/debugger/devtools_remote_service.h" | 
| +#include "chrome/browser/debugger/extension_ports_remote_service.h" | 
| + | 
| +// static | 
| +scoped_refptr<DevToolsProtocolHandler> DevToolsProtocolHandler::Start(int port) { | 
| 
yurys
2011/01/31 15:20:56
line is too long
 | 
| + scoped_refptr<DevToolsProtocolHandler> proto_handler = | 
| + new DevToolsProtocolHandler(port); | 
| + proto_handler->RegisterDestination( | 
| + new DevToolsRemoteService(proto_handler), | 
| + DevToolsRemoteService::kToolName); | 
| + proto_handler->RegisterDestination( | 
| + new DebuggerRemoteService(proto_handler), | 
| + DebuggerRemoteService::kToolName); | 
| + proto_handler->RegisterDestination( | 
| + new ExtensionPortsRemoteService(proto_handler), | 
| + ExtensionPortsRemoteService::kToolName); | 
| + proto_handler->Start(); | 
| + return proto_handler; | 
| +} | 
| DevToolsProtocolHandler::DevToolsProtocolHandler(int port) | 
| : port_(port), |