DevTools: cut host and port from webSocketDebuggerUrl in addition to ws:// prefix
commitf497fb7a80fc1eeccec8f74f391151ab0ab59dbc
authoryurys <yurys@chromium.org>
Thu, 2 Jul 2015 17:10:56 +0000 (2 10:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Jul 2015 17:12:46 +0000 (2 17:12 +0000)
treec9ef59f832739a02e296603d1d490787cd7b4384
parent7082f703826012d621f5c0da115d2ce45549e343
DevTools: cut host and port from webSocketDebuggerUrl in addition to ws:// prefix

At the moment we only use path component of the url. This CL makes it works correctly when webSocketDebuggerUrl contains non-empty host component.

Drive-by: renamed method parameters from debug_url and url to target_path where appropriate.
BUG=506609

Review URL: https://codereview.chromium.org/1219263004

Cr-Commit-Position: refs/heads/master@{#337235}
chrome/browser/devtools/device/android_device_manager.cc
chrome/browser/devtools/device/android_device_manager.h
chrome/browser/devtools/device/android_web_socket.cc
chrome/browser/devtools/device/devtools_android_bridge.cc
chrome/browser/devtools/device/devtools_android_bridge.h