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

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: Rebase + feedback 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 158017f6dd683cdcbb8cab50cb7d83ac6ceaf9f4..d2902666facca69de5c8dc0155c335a4f0643d34 100644
--- a/extensions/common/api/networking_private.json
+++ b/extensions/common/api/networking_private.json
@@ -189,6 +189,24 @@
]
},
{
+ "name": "forgetNetwork",
+ "description": "Forgets a network configuration, clearing any configured properties of networks with identifiers matching those associated with 'networkGuid'. If no configuration matching 'networkGuid' exists then an error will be set and the operation will fail.",
pneubeck (no reviews) 2015/03/23 14:15:20 reads a bit complicated. Please re-read as a nativ
stevenjb 2015/03/23 16:11:02 Attempted to clarify.
+ "parameters": [
+ {
+ "name": "networkGuid",
+ "type": "string",
+ "description": "The unique identifier of the network to forget."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "parameters": [],
+ "description": "Called when the operation has completed."
+ }
+ ]
+ },
+ {
"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