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 a1ec4ea6407a712a1a6eb084088a74fd7ccf0191..00039c3b73ffb51087dc7b0ae923b8bf6bb90f29 100644 |
--- a/third_party/closure_compiler/externs/networking_private.js |
+++ b/third_party/closure_compiler/externs/networking_private.js |
@@ -78,6 +78,7 @@ chrome.networkingPrivate.NetworkType = { |
ALL: 'All', |
CELLULAR: 'Cellular', |
ETHERNET: 'Ethernet', |
+ TETHER: 'Tether', |
VPN: 'VPN', |
WIRELESS: 'Wireless', |
WI_FI: 'WiFi', |
@@ -762,6 +763,26 @@ chrome.networkingPrivate.EthernetStateProperties; |
/** |
* @typedef {{ |
+ * BatteryPercentage: (number|undefined), |
+ * Carrier: (string|undefined), |
+ * SignalStrength: (number|undefined) |
+ * }} |
+ * @see https://developer.chrome.com/extensions/networkingPrivate#type-TetherProperties |
+ */ |
+chrome.networkingPrivate.TetherProperties; |
+ |
+/** |
+ * @typedef {{ |
+ * BatteryPercentage: (number|undefined), |
+ * Carrier: (string|undefined), |
+ * SignalStrength: (number|undefined) |
+ * }} |
+ * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedTetherProperties |
+ */ |
+chrome.networkingPrivate.ManagedTetherProperties; |
+ |
+/** |
+ * @typedef {{ |
* AutoConnect: (boolean|undefined), |
* Host: (string|undefined), |
* IPsec: (!chrome.networkingPrivate.IPSecProperties|undefined), |
@@ -916,6 +937,7 @@ chrome.networkingPrivate.NetworkConfigProperties; |
* StaticIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), |
* SavedIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), |
* Source: (string|undefined), |
+ * Tether: (!chrome.networkingPrivate.TetherProperties|undefined), |
* Type: !chrome.networkingPrivate.NetworkType, |
* VPN: (!chrome.networkingPrivate.VPNProperties|undefined), |
* WiFi: (!chrome.networkingPrivate.WiFiProperties|undefined), |
@@ -944,6 +966,7 @@ chrome.networkingPrivate.NetworkProperties; |
* StaticIPConfig: (!chrome.networkingPrivate.ManagedIPConfigProperties|undefined), |
* SavedIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), |
* Source: (string|undefined), |
+ * Tether: (!chrome.networkingPrivate.ManagedTetherProperties|undefined), |
* Type: !chrome.networkingPrivate.NetworkType, |
* VPN: (!chrome.networkingPrivate.ManagedVPNProperties|undefined), |
* WiFi: (!chrome.networkingPrivate.ManagedWiFiProperties|undefined), |
@@ -964,6 +987,7 @@ chrome.networkingPrivate.ManagedProperties; |
* Name: (string|undefined), |
* Priority: (number|undefined), |
* Source: (string|undefined), |
+ * Tether: (!chrome.networkingPrivate.TetherProperties|undefined), |
* Type: !chrome.networkingPrivate.NetworkType, |
* VPN: (!chrome.networkingPrivate.VPNStateProperties|undefined), |
* WiFi: (!chrome.networkingPrivate.WiFiStateProperties|undefined), |
@@ -1200,6 +1224,7 @@ chrome.networkingPrivate.startActivate = function(networkGuid, carrier, callback |
* trusted device. |
* @param {function(boolean):void} callback A callback function that indicates |
* whether or not the device is a trusted device. |
+ * @deprecated Use networking.castPrivate API. |
stevenjb
2017/04/14 22:04:49
Can you put up a CL with just these changes and ha
Kyle Horimoto
2017/04/17 21:05:11
Removed it as part of this CL; will send another C
|
* @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyDestination |
*/ |
chrome.networkingPrivate.verifyDestination = function(properties, callback) {}; |
@@ -1213,6 +1238,7 @@ chrome.networkingPrivate.verifyDestination = function(properties, callback) {}; |
* @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. |
+ * @deprecated Use networking.castPrivate API. |
* @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyAndEncryptCredentials |
*/ |
chrome.networkingPrivate.verifyAndEncryptCredentials = function(properties, networkGuid, callback) {}; |
@@ -1226,6 +1252,7 @@ chrome.networkingPrivate.verifyAndEncryptCredentials = function(properties, netw |
* @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. |
+ * @deprecated Use networking.castPrivate API. |
* @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyAndEncryptData |
*/ |
chrome.networkingPrivate.verifyAndEncryptData = function(properties, data, callback) {}; |
@@ -1241,6 +1268,7 @@ chrome.networkingPrivate.verifyAndEncryptData = function(properties, data, callb |
* 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)). |
+ * @deprecated Use networking.castPrivate API. |
* @see https://developer.chrome.com/extensions/networkingPrivate#method-setWifiTDLSEnabledState |
*/ |
chrome.networkingPrivate.setWifiTDLSEnabledState = function(ip_or_mac_address, enabled, callback) {}; |
@@ -1251,6 +1279,7 @@ chrome.networkingPrivate.setWifiTDLSEnabledState = function(ip_or_mac_address, e |
* @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'. |
+ * @deprecated Use networking.castPrivate API. |
* @see https://developer.chrome.com/extensions/networkingPrivate#method-getWifiTDLSStatus |
*/ |
chrome.networkingPrivate.getWifiTDLSStatus = function(ip_or_mac_address, callback) {}; |