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

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

Issue 12188027: This adds the onNetworkChanged event to networkingPrivate (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 a56770941a829f8ba5324dbe55c3379304652f12..4a142e31b432840e9f4de70fb7475a06c1cbc7ce 100644
--- a/chrome/common/extensions/api/networking_private.json
+++ b/chrome/common/extensions/api/networking_private.json
@@ -99,6 +99,20 @@
}
]
}
+ ],
+ "events": [
+ {
+ "name": "onNetworkChanged",
+ "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.",
+ "parameters": [
+ {
+ "name": "changes",
+ "type": "array",
+ "items": { "$ref": "NetworkProperties" }
+ }
+ ]
+ }
]
}
]

Powered by Google App Engine
This is Rietveld 408576698