DevTools: enable target domain handler on the browser target, make browser target non-discoverable

Desktop / Chromium - Pavel Feldman [chromium.org] - 5 August 2017 07:59 EDT

Bug: 666865 Change-Id: I9c4b431db1a4b2ecf34d817d13c3a5c3010790ed TBR: change in the API NOPRESUBMIT: true Reviewed-on: https://chromium-review.googlesource.com/596719 Commit-Queue: Pavel Feldman

77da4d5 DevTools: enable target domain handler on the browser target, make browser target non-discoverable.
.../browser/aw_devtools_manager_delegate.cc | 4 ++
.../browser/aw_devtools_manager_delegate.h | 1 +
.../android/devtools_manager_delegate_android.cc | 4 ++
.../android/devtools_manager_delegate_android.h | 1 +
.../devtools/device/devtools_device_discovery.cc | 8 ++-
.../devtools/device/devtools_device_discovery.h | 2 +
.../devtools/device/port_forwarding_controller.cc | 7 +-
.../devtools/browser_devtools_agent_host.cc | 5 +-
content/browser/devtools/devtools_http_handler.cc | 75 ++++++++++++----------
content/browser/devtools/devtools_http_handler.h | 1 +
.../devtools/devtools_http_handler_unittest.cc | 5 +-
.../public/browser/devtools_manager_delegate.cc | 4 ++
content/public/browser/devtools_manager_delegate.h | 4 ++
13 files changed, 74 insertions(+), 47 deletions(-)

Upstream: git.chromium.org


  • Share