summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/debugger_wrapper.cc
diff options
context:
space:
mode:
authorsdoyon@chromium.org <sdoyon@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 19:30:15 +0000
committersdoyon@chromium.org <sdoyon@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 19:30:15 +0000
commita1ec6d1f82699b1e06cca1bca9efdb4ed212c2c3 (patch)
tree75e77bb933a9ce8149df5053fa82fe619c42c044 /chrome/browser/debugger/debugger_wrapper.cc
parent51a0f7d1e4a47ff6dbc739687237f17a62bc8333 (diff)
downloadchromium_src-a1ec6d1f82699b1e06cca1bca9efdb4ed212c2c3.zip
chromium_src-a1ec6d1f82699b1e06cca1bca9efdb4ed212c2c3.tar.gz
chromium_src-a1ec6d1f82699b1e06cca1bca9efdb4ed212c2c3.tar.bz2
Extension ports devtools remote service.
Wires message ports to extensions through the devtools remote socket. BUG=none TEST=none Review URL: http://codereview.chromium.org/174226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/debugger_wrapper.cc')
-rw-r--r--chrome/browser/debugger/debugger_wrapper.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/debugger/debugger_wrapper.cc b/chrome/browser/debugger/debugger_wrapper.cc
index fa2fac6..c551846 100644
--- a/chrome/browser/debugger/debugger_wrapper.cc
+++ b/chrome/browser/debugger/debugger_wrapper.cc
@@ -7,6 +7,7 @@
#include "chrome/browser/debugger/debugger_remote_service.h"
#include "chrome/browser/debugger/devtools_protocol_handler.h"
#include "chrome/browser/debugger/devtools_remote_service.h"
+#include "chrome/browser/debugger/extension_ports_remote_service.h"
DebuggerWrapper::DebuggerWrapper(int port) {
if (port > 0) {
@@ -17,6 +18,9 @@ DebuggerWrapper::DebuggerWrapper(int port) {
proto_handler_->RegisterDestination(
new DebuggerRemoteService(proto_handler_),
DebuggerRemoteService::kToolName);
+ proto_handler_->RegisterDestination(
+ new ExtensionPortsRemoteService(proto_handler_),
+ ExtensionPortsRemoteService::kToolName);
proto_handler_->Start();
}
}