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

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

Issue 12225087: This adds the onNetworkChanged event to networkingPrivate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disabling test temporarily 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
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" }
+ }
+ ]
+ }
]
}
]
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698