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

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

Issue 12220113: Next phase for chrome.networkingPrivate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 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.",
"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" }
}
]
}

Powered by Google App Engine
This is Rietveld 408576698