Index: third_party/closure_compiler/externs/networking_private.js |
diff --git a/third_party/closure_compiler/externs/networking_private.js b/third_party/closure_compiler/externs/networking_private.js |
index 676f1933ce191621ea01e125ac5a1a33a9a56405..559ebf6c5d8f3923e1d1349796ed17c2d43c6487 100644 |
--- a/third_party/closure_compiler/externs/networking_private.js |
+++ b/third_party/closure_compiler/externs/networking_private.js |
@@ -295,6 +295,7 @@ chrome.networkingPrivate.ManagedCertificatePattern; |
* @typedef {{ |
* AnonymousIdentity: (string|undefined), |
* ClientCertPattern: (!chrome.networkingPrivate.CertificatePattern|undefined), |
+ * ClientCertPKCS11Id: (string|undefined), |
* ClientCertRef: (string|undefined), |
* ClientCertType: (string|undefined), |
* Identity: (string|undefined), |
@@ -316,6 +317,7 @@ chrome.networkingPrivate.EAPProperties; |
* @typedef {{ |
* AnonymousIdentity: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
* ClientCertPattern: (!chrome.networkingPrivate.ManagedCertificatePattern|undefined), |
+ * ClientCertPKCS11Id: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
* ClientCertRef: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
* ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
* Identity: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
@@ -1040,6 +1042,28 @@ chrome.networkingPrivate.NetworkFilter; |
chrome.networkingPrivate.GlobalPolicy; |
/** |
+ * @typedef {{ |
+ * hash: string, |
+ * issuedBy: string, |
+ * issuedTo: string, |
+ * pem: (string|undefined), |
+ * PKCS11Id: (string|undefined), |
+ * hardwareBacked: boolean |
+ * }} |
+ * @see https://developer.chrome.com/extensions/networkingPrivate#type-Certificate |
+ */ |
+chrome.networkingPrivate.Certificate; |
+ |
+/** |
+ * @typedef {{ |
+ * server_ca_certificates: !Array<!chrome.networkingPrivate.Certificate>, |
+ * user_certificates: !Array<!chrome.networkingPrivate.Certificate> |
+ * }} |
+ * @see https://developer.chrome.com/extensions/networkingPrivate#type-CertificateLists |
+ */ |
+chrome.networkingPrivate.CertificateLists; |
+ |
+/** |
* Gets all the properties of the network with id networkGuid. Includes all |
* properties of the network (read-only and read/write values). |
* @param {string} networkGuid The GUID of the network to get properties for. |
@@ -1331,6 +1355,13 @@ chrome.networkingPrivate.setCellularSimState = function(networkGuid, simState, c |
chrome.networkingPrivate.getGlobalPolicy = function(callback) {}; |
/** |
+ * Gets the lists of certificates available for network configuration. |
+ * @param {function(!chrome.networkingPrivate.CertificateLists):void} callback |
+ * @see https://developer.chrome.com/extensions/networkingPrivate#method-getCertificateLists |
+ */ |
+chrome.networkingPrivate.getCertificateLists = function(callback) {}; |
+ |
+/** |
* Fired when the properties change on any of the networks. Sends a list of |
* GUIDs for networks whose properties have changed. |
* @type {!ChromeEvent} |
@@ -1361,3 +1392,10 @@ chrome.networkingPrivate.onDeviceStateListChanged; |
* @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortalDetectionCompleted |
*/ |
chrome.networkingPrivate.onPortalDetectionCompleted; |
+ |
+/** |
+ * Fired when any certificate list has changed. |
+ * @type {!ChromeEvent} |
+ * @see https://developer.chrome.com/extensions/networkingPrivate#event-onCertificateListsChanged |
+ */ |
+chrome.networkingPrivate.onCertificateListsChanged; |