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": "chrome/browser/extensions/api/networking_private/networ
king_private_api.h" | 10 "implemented_in": "chrome/browser/extensions/api/networking_private/networ
king_private_api.h" |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 ], | 406 ], |
407 "description": "A callback function that receives a string with the
current TDLS status which can be 'Connected', 'Disabled', 'Disconnected', 'Nonex
istent', or 'Unknown'" | 407 "description": "A callback function that receives a string with the
current TDLS status which can be 'Connected', 'Disabled', 'Disconnected', 'Nonex
istent', or 'Unknown'" |
408 } | 408 } |
409 ] | 409 ] |
410 }, | 410 }, |
411 { | 411 { |
412 "name": "getCaptivePortalStatus", | 412 "name": "getCaptivePortalStatus", |
413 "description": "Returns captive portal status for the network with netwo
rkGuid.", | 413 "description": "Returns captive portal status for the network with netwo
rkGuid.", |
414 "parameters": [ | 414 "parameters": [ |
415 { | 415 { |
416 "name": "networkGuid", | 416 "name": "networkPath", |
417 "type": "string", | 417 "type": "string", |
418 "description": "The unique identifier of the network to get captive
portal status." | 418 "description": "The path of the network to get captive portal status
." |
419 }, | 419 }, |
420 { | 420 { |
421 "name": "callback", | 421 "name": "callback", |
422 "type": "function", | 422 "type": "function", |
423 "parameters": [ | 423 "parameters": [ |
424 { | 424 { |
425 "name": "status", | 425 "name": "status", |
426 "$ref": "CaptivePortalStatus", | 426 "$ref": "CaptivePortalStatus", |
427 "description": "Results of the query for network captive portal
status." | 427 "description": "Results of the query for network captive portal
status." |
428 } | 428 } |
(...skipping 19 matching lines...) Expand all Loading... |
448 "name": "onNetworkListChanged", | 448 "name": "onNetworkListChanged", |
449 "type": "function", | 449 "type": "function", |
450 "description": "Fired when the list of networks has changed. Sends a co
mplete list of identifiers for all the current networks.", | 450 "description": "Fired when the list of networks has changed. Sends a co
mplete list of identifiers for all the current networks.", |
451 "parameters": [ | 451 "parameters": [ |
452 { | 452 { |
453 "name": "changes", | 453 "name": "changes", |
454 "type": "array", | 454 "type": "array", |
455 "items": { "type": "string" } | 455 "items": { "type": "string" } |
456 } | 456 } |
457 ] | 457 ] |
| 458 }, |
| 459 { |
| 460 "name": "onPortalDetectionCompleted", |
| 461 "type": "function", |
| 462 "description": "Fired when a portal detection for a network completes. S
ends a name of the network and corresponding captive portal status.", |
| 463 "parameters": [ |
| 464 { |
| 465 "name": "networkPath", |
| 466 "type": "string" |
| 467 }, |
| 468 { |
| 469 "name": "status", |
| 470 "$ref": "CaptivePortalStatus" |
| 471 } |
| 472 ] |
458 } | 473 } |
459 ] | 474 ] |
460 } | 475 } |
461 ] | 476 ] |
OLD | NEW |