Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(698)

Unified Diff: third_party/closure_compiler/externs/networking_private.js

Issue 2891453002: Introduce networkingPrivate.getCertificateLists (Closed)
Patch Set: Clang format Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..584e045b55f238aed61cf72ce581a40ef1a5af2c 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 {{
+ * serverCaCertificates: !Array<!chrome.networkingPrivate.Certificate>,
+ * userCertificates: !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;
« no previous file with comments | « extensions/common/api/networking_private.idl ('k') | third_party/closure_compiler/interfaces/networking_private_interface.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698