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

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: panel 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..c79e142e87c10c9ebf2bde98eca14778cad63dc5 100644
--- a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
+++ b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
@@ -63,10 +63,7 @@ InspectorFrontendHostAPI.EventDescriptors = [
[InspectorFrontendHostAPI.Events.ContextMenuCleared, 'contextMenuCleared', []],
[InspectorFrontendHostAPI.Events.ContextMenuItemSelected, 'contextMenuItemSelected', ['id']],
[InspectorFrontendHostAPI.Events.DeviceCountUpdated, 'deviceCountUpdated', ['count']],
- [
- InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, 'devicesDiscoveryConfigChanged',
- ['discoverUsbDevices', 'portForwardingEnabled', 'portForwardingConfig']
- ],
+ [InspectorFrontendHostAPI.Events.DevicesDiscoveryConfigChanged, 'devicesDiscoveryConfigChanged', ['config']],
[
InspectorFrontendHostAPI.Events.DevicesPortForwardingStatusChanged, 'devicesPortForwardingStatusChanged', ['status']
],
@@ -250,11 +247,9 @@ InspectorFrontendHostAPI.prototype = {
sendMessageToBackend(message) {},
/**
- * @param {boolean} discoverUsbDevices
- * @param {boolean} portForwardingEnabled
- * @param {!Adb.PortForwardingConfig} portForwardingConfig
+ * @param {!Adb.Config} config
*/
- setDevicesDiscoveryConfig(discoverUsbDevices, portForwardingEnabled, portForwardingConfig) {},
+ setDevicesDiscoveryConfig(config) {},
/**
* @param {boolean} enabled

Powered by Google App Engine
This is Rietveld 408576698