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 dee2866bb3fe6fe4972835cfbe71f0e0703d6734..5d3a0ac071c1b2d5f32adf0cfe2becc18003872c 100644 |
--- a/chrome/common/extensions/api/networking_private.json |
+++ b/chrome/common/extensions/api/networking_private.json |
@@ -413,9 +413,9 @@ |
"description": "Returns captive portal status for the network with networkGuid.", |
"parameters": [ |
{ |
- "name": "networkGuid", |
+ "name": "networkPath", |
"type": "string", |
- "description": "The unique identifier of the network to get captive portal status." |
+ "description": "The path of the network to get captive portal status." |
}, |
{ |
"name": "callback", |
@@ -455,6 +455,21 @@ |
"items": { "type": "string" } |
} |
] |
+ }, |
+ { |
+ "name": "onPortalDetectionCompleted", |
+ "type": "function", |
+ "description": "Fired when a portal detection for a network completes. Sends a name of the network and corresponding captive portal status.", |
+ "parameters": [ |
+ { |
+ "name": "networkPath", |
+ "type": "string" |
+ }, |
+ { |
+ "name": "status", |
+ "$ref": "CaptivePortalStatus" |
+ } |
+ ] |
} |
] |
} |