Chromium Code Reviews| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 346 "type": "function", | 346 "type": "function", |
| 347 "parameters": [ | 347 "parameters": [ |
| 348 { | 348 { |
| 349 "name": "encryptedData", | 349 "name": "encryptedData", |
| 350 "type": "string" | 350 "type": "string" |
| 351 } | 351 } |
| 352 ], | 352 ], |
| 353 "description": "A callback function that receives base64-encoded enc rypted data to send to a trusted device." | 353 "description": "A callback function that receives base64-encoded enc rypted data to send to a trusted device." |
| 354 } | 354 } |
| 355 ] | 355 ] |
| 356 }, | |
| 357 { | |
| 358 "name": "setWifiTDLSEnabledState", | |
| 359 "description": "Enables TDLS for wifi traffic if available.", | |
| 360 "parameters": [ | |
| 361 { | |
| 362 "name": "ip_or_mac_address", | |
| 363 "type": "string", | |
| 364 "description": "The IP or MAC address for which to enable TDLS." | |
|
asargent_no_longer_on_chrome
2014/02/10 18:23:26
I am relatively unfamiliar with TDLS, but from my
stevenjb
2014/02/12 23:22:52
Done.
| |
| 365 }, | |
| 366 { | |
| 367 "name": "enabled", | |
| 368 "type": "boolean", | |
| 369 "description": "If true, enable TDLS." | |
|
tbarzic
2014/02/07 23:17:41
this suggests that enabled==false case is no-op, b
stevenjb
2014/02/12 23:22:52
Done.
| |
| 370 }, | |
| 371 { | |
| 372 "name": "callback", | |
| 373 "type": "function", | |
| 374 "parameters": [ | |
| 375 { | |
| 376 "name": "state", | |
| 377 "type": "string" | |
| 378 } | |
| 379 ], | |
| 380 "description": "A callback function that receives a string with the current TDLS state." | |
|
asargent_no_longer_on_chrome
2014/02/10 18:23:26
What are the expected values of |state|? If this i
stevenjb
2014/02/12 23:22:52
Listed possible values; meaning should be clear wi
| |
| 381 } | |
| 382 ] | |
| 356 } | 383 } |
| 357 ], | 384 ], |
| 358 "events": [ | 385 "events": [ |
| 359 { | 386 { |
| 360 "name": "onNetworksChanged", | 387 "name": "onNetworksChanged", |
| 361 "type": "function", | 388 "type": "function", |
| 362 "description": "Fired when the properties change on any of the networks. Sends a list of identifiers for networks whose properties have changed.", | 389 "description": "Fired when the properties change on any of the networks. Sends a list of identifiers for networks whose properties have changed.", |
| 363 "parameters": [ | 390 "parameters": [ |
| 364 { | 391 { |
| 365 "name": "changes", | 392 "name": "changes", |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 376 { | 403 { |
| 377 "name": "changes", | 404 "name": "changes", |
| 378 "type": "array", | 405 "type": "array", |
| 379 "items": { "type": "string" } | 406 "items": { "type": "string" } |
| 380 } | 407 } |
| 381 ] | 408 ] |
| 382 } | 409 } |
| 383 ] | 410 ] |
| 384 } | 411 } |
| 385 ] | 412 ] |
| OLD | NEW |