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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
180 "parameters": [ | 180 "parameters": [ |
181 { | 181 { |
182 "name": "networkGuid", | 182 "name": "networkGuid", |
183 "type": "string" | 183 "type": "string" |
184 } | 184 } |
185 ] | 185 ] |
186 } | 186 } |
187 ] | 187 ] |
188 }, | 188 }, |
189 { | 189 { |
190 "name": "forgetNetwork", | |
191 "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
| |
192 "parameters": [ | |
193 { | |
194 "name": "networkGuid", | |
195 "type": "string", | |
196 "description": "The unique identifier of the network to forget." | |
197 }, | |
198 { | |
199 "name": "callback", | |
200 "type": "function", | |
201 "optional": true, | |
202 "parameters": [], | |
203 "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.
| |
204 } | |
205 ] | |
206 }, | |
207 { | |
190 "name": "getNetworks", | 208 "name": "getNetworks", |
191 "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.", | 209 "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.", |
192 "parameters": [ | 210 "parameters": [ |
193 { | 211 { |
194 "name": "filter", | 212 "name": "filter", |
195 "type": "object", | 213 "type": "object", |
196 "properties": { | 214 "properties": { |
197 "networkType": { | 215 "networkType": { |
198 "$ref": "NetworkType", | 216 "$ref": "NetworkType", |
199 "description": "The type of networks to return." | 217 "description": "The type of networks to return." |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
516 }, | 534 }, |
517 { | 535 { |
518 "name": "status", | 536 "name": "status", |
519 "$ref": "CaptivePortalStatus" | 537 "$ref": "CaptivePortalStatus" |
520 } | 538 } |
521 ] | 539 ] |
522 } | 540 } |
523 ] | 541 ] |
524 } | 542 } |
525 ] | 543 ] |
OLD | NEW |