Chromium Code Reviews| 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 4a142e31b432840e9f4de70fb7475a06c1cbc7ce..686278c58f7a24396c2febfabbe0de40d729e229 100644 |
| --- a/chrome/common/extensions/api/networking_private.json |
| +++ b/chrome/common/extensions/api/networking_private.json |
| @@ -102,14 +102,26 @@ |
| ], |
| "events": [ |
| { |
| - "name": "onNetworkChanged", |
| + "name": "onNetworksChanged", |
| "type": "function", |
| - "description": "Fired when the properties change on any of the networks. Only contains the networks that changed, but each item contains all the properties for the changed network.", |
| + "description": "Fired when the properties change on any of the networks. Sends a list of identifiers for networks whose properties have changed.", |
|
not at google - send to devlin
2013/02/12 22:07:25
What is the expected behaviour here? Will the exte
Greg Spencer (Chromium)
2013/02/12 23:11:02
Yes, often it will, but it is expected that there
|
| "parameters": [ |
| { |
| "name": "changes", |
| "type": "array", |
| - "items": { "$ref": "NetworkProperties" } |
| + "items": { "type": "string" } |
| + } |
| + ] |
| + }, |
| + { |
| + "name": "onNetworkListChanged", |
| + "type": "function", |
| + "description": "Fired when the list of networks has changed. Sends a complete list of identifiers for all the current networks.", |
| + "parameters": [ |
| + { |
| + "name": "changes", |
| + "type": "array", |
| + "items": { "type": "string" } |
| } |
| ] |
| } |