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

Unified Diff: third_party/closure_compiler/interfaces/networking_private_interface.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
« no previous file with comments | « third_party/closure_compiler/externs/networking_private.js ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/interfaces/networking_private_interface.js
diff --git a/third_party/closure_compiler/interfaces/networking_private_interface.js b/third_party/closure_compiler/interfaces/networking_private_interface.js
index 9e0ac6795a2267952bfa304685ba897954accc8a..8d4e42b098870ec6a9cb9f55cf708b5900b10374 100644
--- a/third_party/closure_compiler/interfaces/networking_private_interface.js
+++ b/third_party/closure_compiler/interfaces/networking_private_interface.js
@@ -170,70 +170,6 @@ NetworkingPrivate.prototype = {
startActivate: assertNotReached,
/**
- * Verifies that the device is a trusted device.
- * @param {!chrome.networkingPrivate.VerificationProperties} properties
- * Properties of the destination to use in verifying that it is a
- * trusted device.
- * @param {function(boolean):void} callback A callback function that indicates
- * whether or not the device is a trusted device.
- * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyDestination
- */
- verifyDestination: assertNotReached,
-
- /**
- * Verifies that the device is a trusted device and retrieves encrypted
- * network credentials.
- * @param {!chrome.networkingPrivate.VerificationProperties} properties
- * Properties of the destination to use in verifying that it is a
- * trusted device.
- * @param {string} networkGuid The GUID of the Cellular network to activate.
- * @param {function(string):void} callback A callback function that receives
- * base64-encoded encrypted credential data to send to a trusted
- * device.
- * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyAndEncryptCredentials
- */
- verifyAndEncryptCredentials: assertNotReached,
-
- /**
- * Verifies that the device is a trusted device and encrypts supplied data
- * with device public key.
- * @param {!chrome.networkingPrivate.VerificationProperties} properties
- * Properties of the destination to use in verifying that it is a
- * trusted device.
- * @param {string} data A string containing the base64-encoded data to
- * encrypt.
- * @param {function(string):void} callback A callback function that receives
- * base64-encoded encrypted data to send to a trusted device.
- * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyAndEncryptData
- */
- verifyAndEncryptData: assertNotReached,
-
- /**
- * Enables TDLS for WiFi traffic with a specified peer if available.
- * @param {string} ip_or_mac_address The IP or MAC address of the peer with
- * which to enable a TDLS connection. |enabled| If true, enable TDLS,
- * otherwise disable TDLS.
- * @param {boolean} enabled
- * @param {function(string):void=} callback A callback function that receives
- * a string with an error or the current TDLS status. 'Failed'
- * indicates that the request failed (e.g. MAC address lookup failed).
- * 'Timeout' indicates that the lookup timed out. Otherwise a valid
- * status is returned (see $(ref:getWifiTDLSStatus)).
- * @see https://developer.chrome.com/extensions/networkingPrivate#method-setWifiTDLSEnabledState
- */
- setWifiTDLSEnabledState: assertNotReached,
-
- /**
- * Returns the current TDLS status for the specified peer.
- * @param {string} ip_or_mac_address The IP or MAC address of the peer.
- * @param {function(string):void} callback A callback function that receives a
- * string with the current TDLS status which can be 'Connected',
- * 'Disabled', 'Disconnected', 'Nonexistent', or 'Unknown'.
- * @see https://developer.chrome.com/extensions/networkingPrivate#method-getWifiTDLSStatus
- */
- getWifiTDLSStatus: assertNotReached,
-
- /**
* Returns captive portal status for the network matching 'networkGuid'.
* @param {string} networkGuid The GUID of the network to get captive portal
* status for.
@@ -284,6 +220,13 @@ NetworkingPrivate.prototype = {
* @see https://developer.chrome.com/extensions/networkingPrivate#method-getGlobalPolicy
*/
getGlobalPolicy: assertNotReached,
+
+ /**
+ * 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
+ */
+ getCertificateLists: assertNotReached,
};
/**
@@ -317,3 +260,10 @@ NetworkingPrivate.prototype.onDeviceStateListChanged;
* @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortalDetectionCompleted
*/
NetworkingPrivate.prototype.onPortalDetectionCompleted;
+
+/**
+ * Fired when any certificate list has changed..
+ * @type {!ChromeEvent}
+ * @see https://developer.chrome.com/extensions/networkingPrivate#event-onCertificateListsChanged
+ */
+NetworkingPrivate.prototype.onCertificateListsChanged;
« no previous file with comments | « third_party/closure_compiler/externs/networking_private.js ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698