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

Side by Side Diff: third_party/closure_compiler/externs/networking_private.js

Issue 2843163002: MD Settings: Fix networking config errors (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « extensions/common/api/networking_private.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 chrome.networkingPrivate.ManagedCertificatePattern; 291 chrome.networkingPrivate.ManagedCertificatePattern;
292 292
293 /** 293 /**
294 * @typedef {{ 294 * @typedef {{
295 * AnonymousIdentity: (string|undefined), 295 * AnonymousIdentity: (string|undefined),
296 * ClientCertPattern: (!chrome.networkingPrivate.CertificatePattern|undefined) , 296 * ClientCertPattern: (!chrome.networkingPrivate.CertificatePattern|undefined) ,
297 * ClientCertRef: (string|undefined), 297 * ClientCertRef: (string|undefined),
298 * ClientCertType: (string|undefined), 298 * ClientCertType: (string|undefined),
299 * Identity: (string|undefined), 299 * Identity: (string|undefined),
300 * Inner: (string|undefined), 300 * Inner: (string|undefined),
301 * Outer: string, 301 * Outer: (string|undefined),
302 * Password: (string|undefined), 302 * Password: (string|undefined),
303 * SaveCredentials: (boolean|undefined), 303 * SaveCredentials: (boolean|undefined),
304 * ServerCAPEMs: (!Array<string>|undefined),
304 * ServerCARefs: (!Array<string>|undefined), 305 * ServerCARefs: (!Array<string>|undefined),
305 * UseProactiveKeyCaching: (boolean|undefined), 306 * UseProactiveKeyCaching: (boolean|undefined),
306 * UseSystemCAs: (boolean|undefined) 307 * UseSystemCAs: (boolean|undefined)
307 * }} 308 * }}
308 * @see https://developer.chrome.com/extensions/networkingPrivate#type-EAPProper ties 309 * @see https://developer.chrome.com/extensions/networkingPrivate#type-EAPProper ties
309 */ 310 */
310 chrome.networkingPrivate.EAPProperties; 311 chrome.networkingPrivate.EAPProperties;
311 312
312 /** 313 /**
313 * @typedef {{ 314 * @typedef {{
314 * AnonymousIdentity: (!chrome.networkingPrivate.ManagedDOMString|undefined), 315 * AnonymousIdentity: (!chrome.networkingPrivate.ManagedDOMString|undefined),
315 * ClientCertPattern: (!chrome.networkingPrivate.ManagedCertificatePattern|und efined), 316 * ClientCertPattern: (!chrome.networkingPrivate.ManagedCertificatePattern|und efined),
316 * ClientCertRef: (!chrome.networkingPrivate.ManagedDOMString|undefined), 317 * ClientCertRef: (!chrome.networkingPrivate.ManagedDOMString|undefined),
317 * ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined), 318 * ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined),
318 * Identity: (!chrome.networkingPrivate.ManagedDOMString|undefined), 319 * Identity: (!chrome.networkingPrivate.ManagedDOMString|undefined),
319 * Inner: (!chrome.networkingPrivate.ManagedDOMString|undefined), 320 * Inner: (!chrome.networkingPrivate.ManagedDOMString|undefined),
320 * Outer: !chrome.networkingPrivate.ManagedDOMString, 321 * Outer: (!chrome.networkingPrivate.ManagedDOMString|undefined),
321 * Password: (!chrome.networkingPrivate.ManagedDOMString|undefined), 322 * Password: (!chrome.networkingPrivate.ManagedDOMString|undefined),
322 * SaveCredentials: (!chrome.networkingPrivate.ManagedBoolean|undefined), 323 * SaveCredentials: (!chrome.networkingPrivate.ManagedBoolean|undefined),
324 * ServerCAPEMs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined),
323 * ServerCARefs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined), 325 * ServerCARefs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined),
324 * UseProactiveKeyCaching: (!chrome.networkingPrivate.ManagedBoolean|undefined ), 326 * UseProactiveKeyCaching: (!chrome.networkingPrivate.ManagedBoolean|undefined ),
325 * UseSystemCAs: (!chrome.networkingPrivate.ManagedBoolean|undefined) 327 * UseSystemCAs: (!chrome.networkingPrivate.ManagedBoolean|undefined)
326 * }} 328 * }}
327 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedEA PProperties 329 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedEA PProperties
328 */ 330 */
329 chrome.networkingPrivate.ManagedEAPProperties; 331 chrome.networkingPrivate.ManagedEAPProperties;
330 332
331 /** 333 /**
332 * @typedef {{ 334 * @typedef {{
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 */ 1195 */
1194 chrome.networkingPrivate.startActivate = function(networkGuid, carrier, callback ) {}; 1196 chrome.networkingPrivate.startActivate = function(networkGuid, carrier, callback ) {};
1195 1197
1196 /** 1198 /**
1197 * Verifies that the device is a trusted device. 1199 * Verifies that the device is a trusted device.
1198 * @param {!chrome.networkingPrivate.VerificationProperties} properties 1200 * @param {!chrome.networkingPrivate.VerificationProperties} properties
1199 * Properties of the destination to use in verifying that it is a 1201 * Properties of the destination to use in verifying that it is a
1200 * trusted device. 1202 * trusted device.
1201 * @param {function(boolean):void} callback A callback function that indicates 1203 * @param {function(boolean):void} callback A callback function that indicates
1202 * whether or not the device is a trusted device. 1204 * whether or not the device is a trusted device.
1205 * @deprecated Use networking.castPrivate API.
1203 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyD estination 1206 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyD estination
1204 */ 1207 */
1205 chrome.networkingPrivate.verifyDestination = function(properties, callback) {}; 1208 chrome.networkingPrivate.verifyDestination = function(properties, callback) {};
1206 1209
1207 /** 1210 /**
1208 * Verifies that the device is a trusted device and retrieves encrypted network 1211 * Verifies that the device is a trusted device and retrieves encrypted network
1209 * credentials. 1212 * credentials.
1210 * @param {!chrome.networkingPrivate.VerificationProperties} properties 1213 * @param {!chrome.networkingPrivate.VerificationProperties} properties
1211 * Properties of the destination to use in verifying that it is a 1214 * Properties of the destination to use in verifying that it is a
1212 * trusted device. 1215 * trusted device.
1213 * @param {string} networkGuid The GUID of the Cellular network to activate. 1216 * @param {string} networkGuid The GUID of the Cellular network to activate.
1214 * @param {function(string):void} callback A callback function that receives 1217 * @param {function(string):void} callback A callback function that receives
1215 * base64-encoded encrypted credential data to send to a trusted device. 1218 * base64-encoded encrypted credential data to send to a trusted device.
1219 * @deprecated Use networking.castPrivate API.
1216 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyA ndEncryptCredentials 1220 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyA ndEncryptCredentials
1217 */ 1221 */
1218 chrome.networkingPrivate.verifyAndEncryptCredentials = function(properties, netw orkGuid, callback) {}; 1222 chrome.networkingPrivate.verifyAndEncryptCredentials = function(properties, netw orkGuid, callback) {};
1219 1223
1220 /** 1224 /**
1221 * Verifies that the device is a trusted device and encrypts supplied data with 1225 * Verifies that the device is a trusted device and encrypts supplied data with
1222 * device public key. 1226 * device public key.
1223 * @param {!chrome.networkingPrivate.VerificationProperties} properties 1227 * @param {!chrome.networkingPrivate.VerificationProperties} properties
1224 * Properties of the destination to use in verifying that it is a 1228 * Properties of the destination to use in verifying that it is a
1225 * trusted device. 1229 * trusted device.
1226 * @param {string} data A string containing the base64-encoded data to encrypt. 1230 * @param {string} data A string containing the base64-encoded data to encrypt.
1227 * @param {function(string):void} callback A callback function that receives 1231 * @param {function(string):void} callback A callback function that receives
1228 * base64-encoded encrypted data to send to a trusted device. 1232 * base64-encoded encrypted data to send to a trusted device.
1233 * @deprecated Use networking.castPrivate API.
1229 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyA ndEncryptData 1234 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyA ndEncryptData
1230 */ 1235 */
1231 chrome.networkingPrivate.verifyAndEncryptData = function(properties, data, callb ack) {}; 1236 chrome.networkingPrivate.verifyAndEncryptData = function(properties, data, callb ack) {};
1232 1237
1233 /** 1238 /**
1234 * Enables TDLS for WiFi traffic with a specified peer if available. 1239 * Enables TDLS for WiFi traffic with a specified peer if available.
1235 * @param {string} ip_or_mac_address The IP or MAC address of the peer with 1240 * @param {string} ip_or_mac_address The IP or MAC address of the peer with
1236 * which to enable a TDLS connection. |enabled| If true, enable TDLS, 1241 * which to enable a TDLS connection. |enabled| If true, enable TDLS,
1237 * otherwise disable TDLS. 1242 * otherwise disable TDLS.
1238 * @param {boolean} enabled 1243 * @param {boolean} enabled
1239 * @param {function(string):void=} callback A callback function that receives a 1244 * @param {function(string):void=} callback A callback function that receives a
1240 * string with an error or the current TDLS status. 'Failed' indicates 1245 * string with an error or the current TDLS status. 'Failed' indicates
1241 * that the request failed (e.g. MAC address lookup failed). 'Timeout' 1246 * that the request failed (e.g. MAC address lookup failed). 'Timeout'
1242 * indicates that the lookup timed out. Otherwise a valid status is 1247 * indicates that the lookup timed out. Otherwise a valid status is
1243 * returned (see $(ref:getWifiTDLSStatus)). 1248 * returned (see $(ref:getWifiTDLSStatus)).
1249 * @deprecated Use networking.castPrivate API.
1244 * @see https://developer.chrome.com/extensions/networkingPrivate#method-setWifi TDLSEnabledState 1250 * @see https://developer.chrome.com/extensions/networkingPrivate#method-setWifi TDLSEnabledState
1245 */ 1251 */
1246 chrome.networkingPrivate.setWifiTDLSEnabledState = function(ip_or_mac_address, e nabled, callback) {}; 1252 chrome.networkingPrivate.setWifiTDLSEnabledState = function(ip_or_mac_address, e nabled, callback) {};
1247 1253
1248 /** 1254 /**
1249 * Returns the current TDLS status for the specified peer. 1255 * Returns the current TDLS status for the specified peer.
1250 * @param {string} ip_or_mac_address The IP or MAC address of the peer. 1256 * @param {string} ip_or_mac_address The IP or MAC address of the peer.
1251 * @param {function(string):void} callback A callback function that receives a 1257 * @param {function(string):void} callback A callback function that receives a
1252 * string with the current TDLS status which can be 'Connected', 1258 * string with the current TDLS status which can be 'Connected',
1253 * 'Disabled', 'Disconnected', 'Nonexistent', or 'Unknown'. 1259 * 'Disabled', 'Disconnected', 'Nonexistent', or 'Unknown'.
1260 * @deprecated Use networking.castPrivate API.
1254 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getWifi TDLSStatus 1261 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getWifi TDLSStatus
1255 */ 1262 */
1256 chrome.networkingPrivate.getWifiTDLSStatus = function(ip_or_mac_address, callbac k) {}; 1263 chrome.networkingPrivate.getWifiTDLSStatus = function(ip_or_mac_address, callbac k) {};
1257 1264
1258 /** 1265 /**
1259 * Returns captive portal status for the network matching 'networkGuid'. 1266 * Returns captive portal status for the network matching 'networkGuid'.
1260 * @param {string} networkGuid The GUID of the network to get captive portal 1267 * @param {string} networkGuid The GUID of the network to get captive portal
1261 * status for. 1268 * status for.
1262 * @param {function(!chrome.networkingPrivate.CaptivePortalStatus):void} 1269 * @param {function(!chrome.networkingPrivate.CaptivePortalStatus):void}
1263 * callback A callback function that returns the results of the query for 1270 * callback A callback function that returns the results of the query for
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 */ 1337 */
1331 chrome.networkingPrivate.onDeviceStateListChanged; 1338 chrome.networkingPrivate.onDeviceStateListChanged;
1332 1339
1333 /** 1340 /**
1334 * Fired when a portal detection for a network completes. Sends the guid of the 1341 * Fired when a portal detection for a network completes. Sends the guid of the
1335 * network and the corresponding captive portal status. 1342 * network and the corresponding captive portal status.
1336 * @type {!ChromeEvent} 1343 * @type {!ChromeEvent}
1337 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortal DetectionCompleted 1344 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortal DetectionCompleted
1338 */ 1345 */
1339 chrome.networkingPrivate.onPortalDetectionCompleted; 1346 chrome.networkingPrivate.onPortalDetectionCompleted;
OLDNEW
« no previous file with comments | « extensions/common/api/networking_private.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698