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

Unified Diff: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js

Issue 2864263002: [DevTools] Expose TCP targets config in frontend, use it for Node (Closed)
Patch Set: works Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
diff --git a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
index d00516af944a4146fe3cee22359b3886922fed86..309fed71678284142de490a87f04a71673dda1bc 100644
--- a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
+++ b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
@@ -65,7 +65,10 @@ InspectorFrontendHostAPI.EventDescriptors = [
[InspectorFrontendHostAPI.Events.DeviceCountUpdated, 'deviceCountUpdated', ['count']],
[
InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, 'devicesDiscoveryConfigChanged',
- ['discoverUsbDevices', 'portForwardingEnabled', 'portForwardingConfig']
+ [
+ 'discoverUsbDevices', 'portForwardingEnabled', 'portForwardingConfig', 'networkDiscoveryEnabled',
+ 'networkDiscoveryConfig'
+ ]
],
[
InspectorFrontendHostAPI.Events.DevicesPortForwardingStatusChanged, 'devicesPortForwardingStatusChanged', ['status']
@@ -253,8 +256,12 @@ InspectorFrontendHostAPI.prototype = {
* @param {boolean} discoverUsbDevices
* @param {boolean} portForwardingEnabled
* @param {!Adb.PortForwardingConfig} portForwardingConfig
+ * @param {boolean} networkDiscoveryEnabled
+ * @param {!Adb.NetworkDiscoveryConfig} networkDiscoveryConfig
*/
- setDevicesDiscoveryConfig(discoverUsbDevices, portForwardingEnabled, portForwardingConfig) {},
+ setDevicesDiscoveryConfig(
+ discoverUsbDevices, portForwardingEnabled, portForwardingConfig, networkDiscoveryEnabled,
+ networkDiscoveryConfig) {},
/**
* @param {boolean} enabled

Powered by Google App Engine
This is Rietveld 408576698