| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 { | 166 { |
| 167 "name": "properties", | 167 "name": "properties", |
| 168 "$ref": "NetworkProperties", | 168 "$ref": "NetworkProperties", |
| 169 "description": "The properties to configure the new network with." | 169 "description": "The properties to configure the new network with." |
| 170 }, | 170 }, |
| 171 { | 171 { |
| 172 "name": "callback", | 172 "name": "callback", |
| 173 "type": "function", | 173 "type": "function", |
| 174 "parameters": [ | 174 "parameters": [ |
| 175 { | 175 { |
| 176 "name": "guid", | 176 "name": "networkGuid", |
| 177 "type": "string" | 177 "type": "string" |
| 178 } | 178 } |
| 179 ] | 179 ] |
| 180 } | 180 } |
| 181 ] | 181 ] |
| 182 }, | 182 }, |
| 183 { | 183 { |
| 184 "name": "getVisibleNetworks", | 184 "name": "getVisibleNetworks", |
| 185 "description": "Returns a list of visible network objects with the follo
wing ONC properties: GUID, Type, Name, ConnectionState, ErrorState, WiFi.Securit
y, WiFi.SignalStrength, Cellular.NetworkTechnology, Cellular.ActivationState, Ce
llular.RoamingState. Cellular.OutOfCredits", | 185 "description": "Returns a list of visible network objects with the follo
wing ONC properties: GUID, Type, Name, ConnectionState, ErrorState, WiFi.Securit
y, WiFi.SignalStrength, Cellular.NetworkTechnology, Cellular.ActivationState, Ce
llular.RoamingState. Cellular.OutOfCredits", |
| 186 "parameters": [ | 186 "parameters": [ |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 { | 308 { |
| 309 "name": "verifyAndEncryptCredentials", | 309 "name": "verifyAndEncryptCredentials", |
| 310 "description": "Verifies that the device is a trusted device and retriev
es encrypted network credentials.", | 310 "description": "Verifies that the device is a trusted device and retriev
es encrypted network credentials.", |
| 311 "parameters": [ | 311 "parameters": [ |
| 312 { | 312 { |
| 313 "name": "properties", | 313 "name": "properties", |
| 314 "$ref": "VerificationProperties", | 314 "$ref": "VerificationProperties", |
| 315 "description": "Properties of the destination to use in verifying th
at it is a trusted device." | 315 "description": "Properties of the destination to use in verifying th
at it is a trusted device." |
| 316 }, | 316 }, |
| 317 { | 317 { |
| 318 "name": "guid", | 318 "name": "networkGuid", |
| 319 "type": "string", | 319 "type": "string", |
| 320 "description": "A string containing the unique identifier of the net
work to get credentials for." | 320 "description": "A string containing the unique identifier of the net
work to get credentials for." |
| 321 }, | 321 }, |
| 322 { | 322 { |
| 323 "name": "callback", | 323 "name": "callback", |
| 324 "type": "function", | 324 "type": "function", |
| 325 "parameters": [ | 325 "parameters": [ |
| 326 { | 326 { |
| 327 "name": "credentials", | 327 "name": "credentials", |
| 328 "type": "string" | 328 "type": "string" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 "name": "status", | 403 "name": "status", |
| 404 "type": "string" | 404 "type": "string" |
| 405 } | 405 } |
| 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 matching '
guid'.", |
| 414 "parameters": [ | 414 "parameters": [ |
| 415 { | 415 { |
| 416 "name": "networkPath", | 416 "name": "networkGuid", |
| 417 "type": "string", | 417 "type": "string", |
| 418 "description": "The path of the network to get captive portal status
." | 418 "description": "The guid 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 23 matching lines...) Expand all Loading... |
| 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 }, | 458 }, |
| 459 { | 459 { |
| 460 "name": "onPortalDetectionCompleted", | 460 "name": "onPortalDetectionCompleted", |
| 461 "type": "function", | 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.", | 462 "description": "Fired when a portal detection for a network completes. S
ends the guid of the network and the corresponding captive portal status.", |
| 463 "parameters": [ | 463 "parameters": [ |
| 464 { | 464 { |
| 465 "name": "networkPath", | 465 "name": "networkGuid", |
| 466 "type": "string" | 466 "type": "string" |
| 467 }, | 467 }, |
| 468 { | 468 { |
| 469 "name": "status", | 469 "name": "status", |
| 470 "$ref": "CaptivePortalStatus" | 470 "$ref": "CaptivePortalStatus" |
| 471 } | 471 } |
| 472 ] | 472 ] |
| 473 } | 473 } |
| 474 ] | 474 ] |
| 475 } | 475 } |
| 476 ] | 476 ] |
| OLD | NEW |