| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 // This file was generated by: | 5 // This file was generated by: |
| 6 // ./tools/json_schema_compiler/compiler.py. | 6 // ./tools/json_schema_compiler/compiler.py. |
| 7 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
| 8 // 'chrome.networkingPrivate.FooType'. | 8 // 'chrome.networkingPrivate.FooType'. |
| 9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
| 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md | 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 * Subject: (!chrome.networkingPrivate.ManagedIssuerSubjectPattern|undefined) | 288 * Subject: (!chrome.networkingPrivate.ManagedIssuerSubjectPattern|undefined) |
| 289 * }} | 289 * }} |
| 290 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedCe
rtificatePattern | 290 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedCe
rtificatePattern |
| 291 */ | 291 */ |
| 292 chrome.networkingPrivate.ManagedCertificatePattern; | 292 chrome.networkingPrivate.ManagedCertificatePattern; |
| 293 | 293 |
| 294 /** | 294 /** |
| 295 * @typedef {{ | 295 * @typedef {{ |
| 296 * AnonymousIdentity: (string|undefined), | 296 * AnonymousIdentity: (string|undefined), |
| 297 * ClientCertPattern: (!chrome.networkingPrivate.CertificatePattern|undefined)
, | 297 * ClientCertPattern: (!chrome.networkingPrivate.CertificatePattern|undefined)
, |
| 298 * ClientCertPKCS11Id: (string|undefined), |
| 298 * ClientCertRef: (string|undefined), | 299 * ClientCertRef: (string|undefined), |
| 299 * ClientCertType: (string|undefined), | 300 * ClientCertType: (string|undefined), |
| 300 * Identity: (string|undefined), | 301 * Identity: (string|undefined), |
| 301 * Inner: (string|undefined), | 302 * Inner: (string|undefined), |
| 302 * Outer: (string|undefined), | 303 * Outer: (string|undefined), |
| 303 * Password: (string|undefined), | 304 * Password: (string|undefined), |
| 304 * SaveCredentials: (boolean|undefined), | 305 * SaveCredentials: (boolean|undefined), |
| 305 * ServerCAPEMs: (!Array<string>|undefined), | 306 * ServerCAPEMs: (!Array<string>|undefined), |
| 306 * ServerCARefs: (!Array<string>|undefined), | 307 * ServerCARefs: (!Array<string>|undefined), |
| 307 * SubjectMatch: (string|undefined), | 308 * SubjectMatch: (string|undefined), |
| 308 * UseProactiveKeyCaching: (boolean|undefined), | 309 * UseProactiveKeyCaching: (boolean|undefined), |
| 309 * UseSystemCAs: (boolean|undefined) | 310 * UseSystemCAs: (boolean|undefined) |
| 310 * }} | 311 * }} |
| 311 * @see https://developer.chrome.com/extensions/networkingPrivate#type-EAPProper
ties | 312 * @see https://developer.chrome.com/extensions/networkingPrivate#type-EAPProper
ties |
| 312 */ | 313 */ |
| 313 chrome.networkingPrivate.EAPProperties; | 314 chrome.networkingPrivate.EAPProperties; |
| 314 | 315 |
| 315 /** | 316 /** |
| 316 * @typedef {{ | 317 * @typedef {{ |
| 317 * AnonymousIdentity: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 318 * AnonymousIdentity: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| 318 * ClientCertPattern: (!chrome.networkingPrivate.ManagedCertificatePattern|und
efined), | 319 * ClientCertPattern: (!chrome.networkingPrivate.ManagedCertificatePattern|und
efined), |
| 320 * ClientCertPKCS11Id: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| 319 * ClientCertRef: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 321 * ClientCertRef: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| 320 * ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 322 * ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| 321 * Identity: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 323 * Identity: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| 322 * Inner: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 324 * Inner: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| 323 * Outer: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 325 * Outer: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| 324 * Password: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 326 * Password: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| 325 * SaveCredentials: (!chrome.networkingPrivate.ManagedBoolean|undefined), | 327 * SaveCredentials: (!chrome.networkingPrivate.ManagedBoolean|undefined), |
| 326 * ServerCAPEMs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined), | 328 * ServerCAPEMs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined), |
| 327 * ServerCARefs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined), | 329 * ServerCARefs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined), |
| 328 * SubjectMatch: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 330 * SubjectMatch: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 /** | 1035 /** |
| 1034 * @typedef {{ | 1036 * @typedef {{ |
| 1035 * AllowOnlyPolicyNetworksToAutoconnect: (boolean|undefined), | 1037 * AllowOnlyPolicyNetworksToAutoconnect: (boolean|undefined), |
| 1036 * AllowOnlyPolicyNetworksToConnect: (boolean|undefined) | 1038 * AllowOnlyPolicyNetworksToConnect: (boolean|undefined) |
| 1037 * }} | 1039 * }} |
| 1038 * @see https://developer.chrome.com/extensions/networkingPrivate#type-GlobalPol
icy | 1040 * @see https://developer.chrome.com/extensions/networkingPrivate#type-GlobalPol
icy |
| 1039 */ | 1041 */ |
| 1040 chrome.networkingPrivate.GlobalPolicy; | 1042 chrome.networkingPrivate.GlobalPolicy; |
| 1041 | 1043 |
| 1042 /** | 1044 /** |
| 1045 * @typedef {{ |
| 1046 * hash: string, |
| 1047 * issuedBy: string, |
| 1048 * issuedTo: string, |
| 1049 * pem: (string|undefined), |
| 1050 * PKCS11Id: (string|undefined), |
| 1051 * hardwareBacked: boolean |
| 1052 * }} |
| 1053 * @see https://developer.chrome.com/extensions/networkingPrivate#type-Certifica
te |
| 1054 */ |
| 1055 chrome.networkingPrivate.Certificate; |
| 1056 |
| 1057 /** |
| 1058 * @typedef {{ |
| 1059 * serverCaCertificates: !Array<!chrome.networkingPrivate.Certificate>, |
| 1060 * userCertificates: !Array<!chrome.networkingPrivate.Certificate> |
| 1061 * }} |
| 1062 * @see https://developer.chrome.com/extensions/networkingPrivate#type-Certifica
teLists |
| 1063 */ |
| 1064 chrome.networkingPrivate.CertificateLists; |
| 1065 |
| 1066 /** |
| 1043 * Gets all the properties of the network with id networkGuid. Includes all | 1067 * Gets all the properties of the network with id networkGuid. Includes all |
| 1044 * properties of the network (read-only and read/write values). | 1068 * properties of the network (read-only and read/write values). |
| 1045 * @param {string} networkGuid The GUID of the network to get properties for. | 1069 * @param {string} networkGuid The GUID of the network to get properties for. |
| 1046 * @param {function(!chrome.networkingPrivate.NetworkProperties):void} callback | 1070 * @param {function(!chrome.networkingPrivate.NetworkProperties):void} callback |
| 1047 * Called with the network properties when received. | 1071 * Called with the network properties when received. |
| 1048 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getProp
erties | 1072 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getProp
erties |
| 1049 */ | 1073 */ |
| 1050 chrome.networkingPrivate.getProperties = function(networkGuid, callback) {}; | 1074 chrome.networkingPrivate.getProperties = function(networkGuid, callback) {}; |
| 1051 | 1075 |
| 1052 /** | 1076 /** |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1324 | 1348 |
| 1325 /** | 1349 /** |
| 1326 * Gets the global policy properties. These properties are not expected to | 1350 * Gets the global policy properties. These properties are not expected to |
| 1327 * change during a session. | 1351 * change during a session. |
| 1328 * @param {function(!chrome.networkingPrivate.GlobalPolicy):void} callback | 1352 * @param {function(!chrome.networkingPrivate.GlobalPolicy):void} callback |
| 1329 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getGlob
alPolicy | 1353 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getGlob
alPolicy |
| 1330 */ | 1354 */ |
| 1331 chrome.networkingPrivate.getGlobalPolicy = function(callback) {}; | 1355 chrome.networkingPrivate.getGlobalPolicy = function(callback) {}; |
| 1332 | 1356 |
| 1333 /** | 1357 /** |
| 1358 * Gets the lists of certificates available for network configuration. |
| 1359 * @param {function(!chrome.networkingPrivate.CertificateLists):void} callback |
| 1360 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getCert
ificateLists |
| 1361 */ |
| 1362 chrome.networkingPrivate.getCertificateLists = function(callback) {}; |
| 1363 |
| 1364 /** |
| 1334 * Fired when the properties change on any of the networks. Sends a list of | 1365 * Fired when the properties change on any of the networks. Sends a list of |
| 1335 * GUIDs for networks whose properties have changed. | 1366 * GUIDs for networks whose properties have changed. |
| 1336 * @type {!ChromeEvent} | 1367 * @type {!ChromeEvent} |
| 1337 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onNetwor
ksChanged | 1368 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onNetwor
ksChanged |
| 1338 */ | 1369 */ |
| 1339 chrome.networkingPrivate.onNetworksChanged; | 1370 chrome.networkingPrivate.onNetworksChanged; |
| 1340 | 1371 |
| 1341 /** | 1372 /** |
| 1342 * Fired when the list of networks has changed. Sends a complete list of GUIDs | 1373 * Fired when the list of networks has changed. Sends a complete list of GUIDs |
| 1343 * for all the current networks. | 1374 * for all the current networks. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1354 */ | 1385 */ |
| 1355 chrome.networkingPrivate.onDeviceStateListChanged; | 1386 chrome.networkingPrivate.onDeviceStateListChanged; |
| 1356 | 1387 |
| 1357 /** | 1388 /** |
| 1358 * Fired when a portal detection for a network completes. Sends the guid of the | 1389 * Fired when a portal detection for a network completes. Sends the guid of the |
| 1359 * network and the corresponding captive portal status. | 1390 * network and the corresponding captive portal status. |
| 1360 * @type {!ChromeEvent} | 1391 * @type {!ChromeEvent} |
| 1361 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortal
DetectionCompleted | 1392 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortal
DetectionCompleted |
| 1362 */ | 1393 */ |
| 1363 chrome.networkingPrivate.onPortalDetectionCompleted; | 1394 chrome.networkingPrivate.onPortalDetectionCompleted; |
| 1395 |
| 1396 /** |
| 1397 * Fired when any certificate list has changed. |
| 1398 * @type {!ChromeEvent} |
| 1399 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onCertif
icateListsChanged |
| 1400 */ |
| 1401 chrome.networkingPrivate.onCertificateListsChanged; |
| OLD | NEW |