OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace":"networkingPrivate", | 7 "namespace":"networkingPrivate", |
8 "description": "none", | 8 "description": "none", |
9 "compiler_options": { | 9 "compiler_options": { |
10 "implemented_in": "extensions/browser/api/networking_private/networking_pr
ivate_api.h" | 10 "implemented_in": "extensions/browser/api/networking_private/networking_pr
ivate_api.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 "parameters": [ | 182 "parameters": [ |
183 { | 183 { |
184 "name": "networkGuid", | 184 "name": "networkGuid", |
185 "type": "string" | 185 "type": "string" |
186 } | 186 } |
187 ] | 187 ] |
188 } | 188 } |
189 ] | 189 ] |
190 }, | 190 }, |
191 { | 191 { |
| 192 "name": "forgetNetwork", |
| 193 "description": "Forgets a network configuration by clearing any configur
ed 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 s
uch configuration exists, an error will be set and the operation will fail.", |
| 194 "parameters": [ |
| 195 { |
| 196 "name": "networkGuid", |
| 197 "type": "string", |
| 198 "description": "The unique identifier of the network to forget." |
| 199 }, |
| 200 { |
| 201 "name": "callback", |
| 202 "type": "function", |
| 203 "optional": true, |
| 204 "parameters": [], |
| 205 "description": "Called when the operation has completed." |
| 206 } |
| 207 ] |
| 208 }, |
| 209 { |
192 "name": "getNetworks", | 210 "name": "getNetworks", |
193 "description": "Returns a list of network objects with the same properti
es provided by getState. A filter is provided to specify the type of networks re
turned and to limit the number of networks. Networks are ordered by the system b
ased on their priority, with connected or connecting networks listed first.", | 211 "description": "Returns a list of network objects with the same properti
es provided by getState. A filter is provided to specify the type of networks re
turned and to limit the number of networks. Networks are ordered by the system b
ased on their priority, with connected or connecting networks listed first.", |
194 "parameters": [ | 212 "parameters": [ |
195 { | 213 { |
196 "name": "filter", | 214 "name": "filter", |
197 "type": "object", | 215 "type": "object", |
198 "properties": { | 216 "properties": { |
199 "networkType": { | 217 "networkType": { |
200 "$ref": "NetworkType", | 218 "$ref": "NetworkType", |
201 "description": "The type of networks to return." | 219 "description": "The type of networks to return." |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 }, | 561 }, |
544 { | 562 { |
545 "name": "status", | 563 "name": "status", |
546 "$ref": "CaptivePortalStatus" | 564 "$ref": "CaptivePortalStatus" |
547 } | 565 } |
548 ] | 566 ] |
549 } | 567 } |
550 ] | 568 ] |
551 } | 569 } |
552 ] | 570 ] |
OLD | NEW |