Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Issue 8635005: DevTools: remove support for legacy remote debugger (Closed)

Created:
9 years, 1 month ago by yurys
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Erik does not do reviews, mihaip+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

DevTools: remove support for legacy remote debugger. DevTools remote debugging protocol supersedes the legacy protocol and old implementation should be removed. BUG=104625 TEST=Existing tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111540

Patch Set 1 #

Patch Set 2 : Deleted shouldHideScriptsPanel #

Patch Set 3 : Fixed tests compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2778 lines) Patch
M chrome/browser/browser_process.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 3 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 chunks +0 lines, -11 lines 0 comments Download
D chrome/browser/debugger/debugger_remote_service.h View 1 chunk +0 lines, -127 lines 0 comments Download
D chrome/browser/debugger/debugger_remote_service.cc View 1 chunk +0 lines, -335 lines 0 comments Download
D chrome/browser/debugger/devtools_protocol_handler.h View 1 chunk +0 lines, -76 lines 0 comments Download
D chrome/browser/debugger/devtools_protocol_handler.cc View 1 chunk +0 lines, -128 lines 0 comments Download
D chrome/browser/debugger/devtools_remote.h View 1 chunk +0 lines, -47 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_listen_socket.h View 1 chunk +0 lines, -72 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_listen_socket.cc View 1 chunk +0 lines, -258 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_listen_socket_unittest.h View 1 chunk +0 lines, -129 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_listen_socket_unittest.cc View 1 chunk +0 lines, -387 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_message.h View 1 chunk +0 lines, -99 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_message.cc View 1 chunk +0 lines, -65 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_message_unittest.cc View 1 chunk +0 lines, -70 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_service.h View 1 chunk +0 lines, -50 lines 0 comments Download
D chrome/browser/debugger/devtools_remote_service.cc View 1 chunk +0 lines, -110 lines 0 comments Download
D chrome/browser/debugger/extension_ports_remote_service.h View 1 chunk +0 lines, -116 lines 0 comments Download
D chrome/browser/debugger/extension_ports_remote_service.cc View 1 chunk +0 lines, -380 lines 0 comments Download
D chrome/browser/debugger/inspectable_tab_proxy.h View 1 chunk +0 lines, -91 lines 0 comments Download
D chrome/browser/debugger/inspectable_tab_proxy.cc View 1 chunk +0 lines, -117 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 1 chunk +1 line, -11 lines 0 comments Download
M chrome/chrome.gyp View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/base/testing_browser_process.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/base/testing_browser_process.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/common/devtools_messages.h View 2 chunks +0 lines, -12 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/devtools_agent.h View 2 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/devtools_agent.cc View 4 chunks +0 lines, -15 lines 0 comments Download
M content/renderer/devtools_agent_filter.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/devtools_agent_filter.cc View 4 chunks +0 lines, -17 lines 0 comments Download
M content/renderer/devtools_client.h View 1 2 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/devtools_client.cc View 1 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
yurys
9 years, 1 month ago (2011-11-22 09:05:54 UTC) #1
pfeldman
lgtm Do you really think we can get away with it? :)
9 years, 1 month ago (2011-11-22 09:15:26 UTC) #2
yurys
On 2011/11/22 09:15:26, pfeldman wrote: > lgtm > > Do you really think we can ...
9 years, 1 month ago (2011-11-22 09:48:32 UTC) #3
pfeldman
> I've heard that Speed Tracer team already has a patch which migrates their > ...
9 years, 1 month ago (2011-11-22 11:53:11 UTC) #4
Kelly Norton
I'm planning to release a speed tracer the moment the new API leaves experimental. Unfortunately, ...
9 years, 1 month ago (2011-11-22 12:10:59 UTC) #5
pfeldman
We should be able to do that. In the meanwhile, can we consider adding SpeedTracer ...
9 years, 1 month ago (2011-11-22 12:20:36 UTC) #6
sdoyon
On Tue, 22 Nov 2011, yurys@chromium.org wrote: > I have my doubts wrt ExtensionPortsRemoteService, if ...
9 years, 1 month ago (2011-11-22 16:31:44 UTC) #7
Kelly Norton
If we can find a way to make it happen, I'm happy to put Speed ...
9 years, 1 month ago (2011-11-22 17:00:37 UTC) #8
Peter Rybin
Yury, maybe it's still technically possible to gather statistics for this protocol usage? Peter 2011/11/22 ...
9 years, 1 month ago (2011-11-22 17:03:23 UTC) #9
jam
lgtm In general, I agree that we just have to bite the bullet and get ...
9 years, 1 month ago (2011-11-22 18:08:25 UTC) #10
jam
On 2011/11/22 18:08:25, John Abd-El-Malek wrote: > lgtm > > In general, I agree that ...
9 years, 1 month ago (2011-11-22 18:09:11 UTC) #11
yurys
9 years, 1 month ago (2011-11-23 16:55:35 UTC) #12
On 2011/11/22 16:31:44, sdoyon wrote:
> On Tue, 22 Nov 2011, mailto:yurys@chromium.org wrote:
> 
> > I have my doubts wrt ExtensionPortsRemoteService, if there are any clients
of
> > that functionality we should expose it by means of the new protocol. 
> > Stephane,
> > you added this code a while back, could you look at this change and speak up

> > if
> > removing ExtensionPortsRemoteService would break anything?
> 
> I use it, as an accessibility bridge, for debugging when developing on 
> CWS. Some of the Toolbar and ChromeFrame folks sniffed around this stuff 
> at some point but that was a long time ago. I will admit it's quite 
> possible this has a user count of 1 (myself) at this point. Although I 
> will feel somewhat stranded without this. What would it take to plug 
> something equivalent in that new protocol?
> 

The new remote debugging capabilities are described at
http://code.google.com/chrome/devtools/docs/remote-debugging.html 
The debugger client may use either WebSocket connection or
chrome.experimental.debugger extension API as a transport. This currently allows
connecting to the browser tabs but it shouldn't be hard to extended with
extension background pages.

We'll be glad to help you migrate to the new protocol but we need more details
to better understand your use cases and what functionality is missing.

Powered by Google App Engine
This is Rietveld 408576698