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

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

Issue 987963002: Add forgetNetwork to networkingPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add to chrome_extensions.js Created 5 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: extensions/common/api/networking_private.json
diff --git a/extensions/common/api/networking_private.json b/extensions/common/api/networking_private.json
index 5d221283c932c4ae61e95661215da17f7c6c0a79..72126ee4df60e64bc4d8c3daf7e7103237c8ec2d 100644
--- a/extensions/common/api/networking_private.json
+++ b/extensions/common/api/networking_private.json
@@ -187,6 +187,24 @@
]
},
{
+ "name": "forgetNetwork",
+ "description": "Forgets a network configuration, clearing any configured properties.",
pneubeck (no reviews) 2015/03/16 10:14:58 Re "Clearing any configured properties.": The curr
stevenjb 2015/03/20 16:52:27 What you suggest is reasonable, but I do not think
pneubeck (no reviews) 2015/03/23 14:15:20 I can believe that it was a UI decision to show at
stevenjb 2015/03/23 16:11:02 If we had already implemented NCH::RemoveConfigura
+ "parameters": [
+ {
+ "name": "networkGuid",
+ "type": "string",
+ "description": "The unique identifier of the network to forget."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "parameters": [],
+ "description": "A callback function that indicates that network has been forgotten."
pneubeck (no reviews) 2015/03/16 10:14:58 the callback itself doesn't indicate success. only
stevenjb 2015/03/20 16:52:27 Done.
+ }
+ ]
+ },
+ {
"name": "getNetworks",
"description": "Returns a list of network objects with the same properties provided by getState. A filter is provided to specify the type of networks returned and to limit the number of networks. Networks are ordered by the system based on their priority, with connected or connecting networks listed first.",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698