| 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 5ef6d7bde67d87f8fcc161e50def9c90b3ae77ae..dee2866bb3fe6fe4972835cfbe71f0e0703d6734 100644
|
| --- a/chrome/common/extensions/api/networking_private.json
|
| +++ b/chrome/common/extensions/api/networking_private.json
|
| @@ -59,6 +59,11 @@
|
| "id": "NetworkType",
|
| "type": "string",
|
| "enum": ["Ethernet", "WiFi", "Cellular"]
|
| + },
|
| + {
|
| + "id": "CaptivePortalStatus",
|
| + "type": "string",
|
| + "enum": ["Unknown", "Offline", "Online", "Portal", "ProxyAuthRequired"]
|
| }
|
| ],
|
| "functions": [
|
| @@ -402,6 +407,28 @@
|
| "description": "A callback function that receives a string with the current TDLS status which can be 'Connected', 'Disabled', 'Disconnected', 'Nonexistent', or 'Unknown'"
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "getCaptivePortalStatus",
|
| + "description": "Returns captive portal status for the network with networkGuid.",
|
| + "parameters": [
|
| + {
|
| + "name": "networkGuid",
|
| + "type": "string",
|
| + "description": "The unique identifier of the network to get captive portal status."
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": [
|
| + {
|
| + "name": "status",
|
| + "$ref": "CaptivePortalStatus",
|
| + "description": "Results of the query for network captive portal status."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| }
|
| ],
|
| "events": [
|
|
|