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

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 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..ed2943bce7bf598f39cf4b47d5a8471bd05a18b3 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 by clearing any configured properties for the network with GUID 'networkGuid'. This may also include any other networks with matching identifiers (e.g. WiFi SSID and Security). If no such configuration exists, an error will be set and the operation will fail.",
+ "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