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

Unified Diff: chrome/common/extensions/api/networking_private.json

Issue 156353002: Implement networkingPrivate.setWifiTDLSEnabledState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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: 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..ff1db8dd8d1a8c22b1c5bb2ce42a4ff437d5cc06 100644
--- a/chrome/common/extensions/api/networking_private.json
+++ b/chrome/common/extensions/api/networking_private.json
@@ -353,6 +353,33 @@
"description": "A callback function that receives base64-encoded encrypted data to send to a trusted device."
}
]
+ },
+ {
+ "name": "setWifiTDLSEnabledState",
+ "description": "Enables TDLS for wifi traffic if available.",
+ "parameters": [
+ {
+ "name": "ip_or_mac_address",
+ "type": "string",
+ "description": "The IP or MAC address for which to enable TDLS."
asargent_no_longer_on_chrome 2014/02/10 18:23:26 I am relatively unfamiliar with TDLS, but from my
stevenjb 2014/02/12 23:22:52 Done.
+ },
+ {
+ "name": "enabled",
+ "type": "boolean",
+ "description": "If true, enable TDLS."
tbarzic 2014/02/07 23:17:41 this suggests that enabled==false case is no-op, b
stevenjb 2014/02/12 23:22:52 Done.
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "state",
+ "type": "string"
+ }
+ ],
+ "description": "A callback function that receives a string with the current TDLS state."
asargent_no_longer_on_chrome 2014/02/10 18:23:26 What are the expected values of |state|? If this i
stevenjb 2014/02/12 23:22:52 Listed possible values; meaning should be clear wi
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698