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

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

Issue 12541007: This adds the setProperties and getState functions to the networking API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed flag usage Created 7 years, 9 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 53ecbc9cf65cb0ae4400346bf7e7dc327caa56c5..0b0e9cf18291a2d7665fabac5ff8c5b07b6c1455 100644
--- a/chrome/common/extensions/api/networking_private.json
+++ b/chrome/common/extensions/api/networking_private.json
@@ -66,6 +66,49 @@
]
},
{
+ "name": "getState",
+ "description": "Gets the cached read-only properties of the network with id networkGuid.",
pneubeck (no reviews) 2013/03/07 13:06:18 Mention here and at getVisibleNetworks, that both
Greg Spencer (Chromium) 2013/03/07 22:01:23 Good point. Done.
+ "parameters": [
+ {
+ "name": "networkGuid",
+ "type": "string",
+ "description": "The unique identifier of the network to set properties on."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "properties",
+ "$ref": "NetworkProperties",
+ "description": "Results of the query for network properties."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "setProperties",
+ "description": "Sets the properties of the network with id networkGuid.",
+ "parameters": [
+ {
+ "name": "networkGuid",
+ "type": "string",
+ "description": "The unique identifier of the network to set properties on."
+ },
+ {
+ "name": "properties",
+ "$ref": "NetworkProperties",
+ "description": "The properties to set on the network."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": []
+ }
+ ]
+ },
+ {
"name": "getVisibleNetworks",
"description": "Gets the list of visible networks.",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698