Index: chrome/common/extensions/api/networking_private.json |
diff --git a/chrome/common/extensions/api/networking_private.json b/chrome/common/extensions/api/networking_private.json |
index d80f0bd602516c24cf02875459a1c4af5877caab..5ef6d7bde67d87f8fcc161e50def9c90b3ae77ae 100644 |
--- a/chrome/common/extensions/api/networking_private.json |
+++ b/chrome/common/extensions/api/networking_private.json |
@@ -353,6 +353,55 @@ |
"description": "A callback function that receives base64-encoded encrypted data to send to a trusted device." |
} |
] |
+ }, |
+ { |
+ "name": "setWifiTDLSEnabledState", |
+ "description": "Enables TDLS for wifi traffic with a specified peer if available.", |
+ "parameters": [ |
+ { |
+ "name": "ip_or_mac_address", |
+ "type": "string", |
+ "description": "The IP or MAC address of the peer with which to enable a TDLS connection." |
+ }, |
+ { |
+ "name": "enabled", |
+ "type": "boolean", |
+ "description": "If true, enable TDLS, otherwise disable TDLS." |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "name": "status", |
+ "type": "string" |
+ } |
+ ], |
+ "description": "A callback function that receives a string with an error or the current TDLS status. 'Failed' indicates that the request failed (e.g. MAC address lookup failed). 'Timeout' indicates that the lookup timed out. Otherwise a valid status is returned (see getWifiTDLSStatus)." |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "getWifiTDLSStatus", |
+ "description": "Returns the current TDLS status for the specified peer.", |
+ "parameters": [ |
+ { |
+ "name": "ip_or_mac_address", |
+ "type": "string", |
+ "description": "The IP or MAC address of the peer." |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "name": "status", |
+ "type": "string" |
+ } |
+ ], |
+ "description": "A callback function that receives a string with the current TDLS status which can be 'Connected', 'Disabled', 'Disconnected', 'Nonexistent', or 'Unknown'" |
asargent_no_longer_on_chrome
2014/02/14 20:35:08
I just remembered that you can formally declare th
stevenjb
2014/02/14 20:46:59
Is that:
"type": "enum": ["Connected", "Disabled",
|
+ } |
+ ] |
} |
], |
"events": [ |