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

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

Issue 2839693003: MD Settings: Fix networking config errors (Closed)
Patch Set: Feedback Created 3 years, 8 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 chrome.networkingPrivate.ManagedCertificatePattern; 292 chrome.networkingPrivate.ManagedCertificatePattern;
293 293
294 /** 294 /**
295 * @typedef {{ 295 * @typedef {{
296 * AnonymousIdentity: (string|undefined), 296 * AnonymousIdentity: (string|undefined),
297 * ClientCertPattern: (!chrome.networkingPrivate.CertificatePattern|undefined) , 297 * ClientCertPattern: (!chrome.networkingPrivate.CertificatePattern|undefined) ,
298 * ClientCertRef: (string|undefined), 298 * ClientCertRef: (string|undefined),
299 * ClientCertType: (string|undefined), 299 * ClientCertType: (string|undefined),
300 * Identity: (string|undefined), 300 * Identity: (string|undefined),
301 * Inner: (string|undefined), 301 * Inner: (string|undefined),
302 * Outer: string, 302 * Outer: (string|undefined),
303 * Password: (string|undefined), 303 * Password: (string|undefined),
304 * SaveCredentials: (boolean|undefined), 304 * SaveCredentials: (boolean|undefined),
305 * ServerCAPEMs: (!Array<string>|undefined),
305 * ServerCARefs: (!Array<string>|undefined), 306 * ServerCARefs: (!Array<string>|undefined),
306 * UseProactiveKeyCaching: (boolean|undefined), 307 * UseProactiveKeyCaching: (boolean|undefined),
307 * UseSystemCAs: (boolean|undefined) 308 * UseSystemCAs: (boolean|undefined)
308 * }} 309 * }}
309 * @see https://developer.chrome.com/extensions/networkingPrivate#type-EAPProper ties 310 * @see https://developer.chrome.com/extensions/networkingPrivate#type-EAPProper ties
310 */ 311 */
311 chrome.networkingPrivate.EAPProperties; 312 chrome.networkingPrivate.EAPProperties;
312 313
313 /** 314 /**
314 * @typedef {{ 315 * @typedef {{
315 * AnonymousIdentity: (!chrome.networkingPrivate.ManagedDOMString|undefined), 316 * AnonymousIdentity: (!chrome.networkingPrivate.ManagedDOMString|undefined),
316 * ClientCertPattern: (!chrome.networkingPrivate.ManagedCertificatePattern|und efined), 317 * ClientCertPattern: (!chrome.networkingPrivate.ManagedCertificatePattern|und efined),
317 * ClientCertRef: (!chrome.networkingPrivate.ManagedDOMString|undefined), 318 * ClientCertRef: (!chrome.networkingPrivate.ManagedDOMString|undefined),
318 * ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined), 319 * ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined),
319 * Identity: (!chrome.networkingPrivate.ManagedDOMString|undefined), 320 * Identity: (!chrome.networkingPrivate.ManagedDOMString|undefined),
320 * Inner: (!chrome.networkingPrivate.ManagedDOMString|undefined), 321 * Inner: (!chrome.networkingPrivate.ManagedDOMString|undefined),
321 * Outer: !chrome.networkingPrivate.ManagedDOMString, 322 * Outer: (!chrome.networkingPrivate.ManagedDOMString|undefined),
322 * Password: (!chrome.networkingPrivate.ManagedDOMString|undefined), 323 * Password: (!chrome.networkingPrivate.ManagedDOMString|undefined),
323 * SaveCredentials: (!chrome.networkingPrivate.ManagedBoolean|undefined), 324 * SaveCredentials: (!chrome.networkingPrivate.ManagedBoolean|undefined),
325 * ServerCAPEMs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined),
324 * ServerCARefs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined), 326 * ServerCARefs: (!chrome.networkingPrivate.ManagedDOMStringList|undefined),
325 * UseProactiveKeyCaching: (!chrome.networkingPrivate.ManagedBoolean|undefined ), 327 * UseProactiveKeyCaching: (!chrome.networkingPrivate.ManagedBoolean|undefined ),
326 * UseSystemCAs: (!chrome.networkingPrivate.ManagedBoolean|undefined) 328 * UseSystemCAs: (!chrome.networkingPrivate.ManagedBoolean|undefined)
327 * }} 329 * }}
328 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedEA PProperties 330 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedEA PProperties
329 */ 331 */
330 chrome.networkingPrivate.ManagedEAPProperties; 332 chrome.networkingPrivate.ManagedEAPProperties;
331 333
332 /** 334 /**
333 * @typedef {{ 335 * @typedef {{
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 */ 1219 */
1218 chrome.networkingPrivate.startActivate = function(networkGuid, carrier, callback ) {}; 1220 chrome.networkingPrivate.startActivate = function(networkGuid, carrier, callback ) {};
1219 1221
1220 /** 1222 /**
1221 * Verifies that the device is a trusted device. 1223 * Verifies that the device is a trusted device.
1222 * @param {!chrome.networkingPrivate.VerificationProperties} properties 1224 * @param {!chrome.networkingPrivate.VerificationProperties} properties
1223 * Properties of the destination to use in verifying that it is a 1225 * Properties of the destination to use in verifying that it is a
1224 * trusted device. 1226 * trusted device.
1225 * @param {function(boolean):void} callback A callback function that indicates 1227 * @param {function(boolean):void} callback A callback function that indicates
1226 * whether or not the device is a trusted device. 1228 * whether or not the device is a trusted device.
1229 * @deprecated Use networking.castPrivate API.
1227 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyD estination 1230 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyD estination
1228 */ 1231 */
1229 chrome.networkingPrivate.verifyDestination = function(properties, callback) {}; 1232 chrome.networkingPrivate.verifyDestination = function(properties, callback) {};
1230 1233
1231 /** 1234 /**
1232 * Verifies that the device is a trusted device and retrieves encrypted network 1235 * Verifies that the device is a trusted device and retrieves encrypted network
1233 * credentials. 1236 * credentials.
1234 * @param {!chrome.networkingPrivate.VerificationProperties} properties 1237 * @param {!chrome.networkingPrivate.VerificationProperties} properties
1235 * Properties of the destination to use in verifying that it is a 1238 * Properties of the destination to use in verifying that it is a
1236 * trusted device. 1239 * trusted device.
1237 * @param {string} networkGuid The GUID of the Cellular network to activate. 1240 * @param {string} networkGuid The GUID of the Cellular network to activate.
1238 * @param {function(string):void} callback A callback function that receives 1241 * @param {function(string):void} callback A callback function that receives
1239 * base64-encoded encrypted credential data to send to a trusted device. 1242 * base64-encoded encrypted credential data to send to a trusted device.
1243 * @deprecated Use networking.castPrivate API.
1240 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyA ndEncryptCredentials 1244 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyA ndEncryptCredentials
1241 */ 1245 */
1242 chrome.networkingPrivate.verifyAndEncryptCredentials = function(properties, netw orkGuid, callback) {}; 1246 chrome.networkingPrivate.verifyAndEncryptCredentials = function(properties, netw orkGuid, callback) {};
1243 1247
1244 /** 1248 /**
1245 * Verifies that the device is a trusted device and encrypts supplied data with 1249 * Verifies that the device is a trusted device and encrypts supplied data with
1246 * device public key. 1250 * device public key.
1247 * @param {!chrome.networkingPrivate.VerificationProperties} properties 1251 * @param {!chrome.networkingPrivate.VerificationProperties} properties
1248 * Properties of the destination to use in verifying that it is a 1252 * Properties of the destination to use in verifying that it is a
1249 * trusted device. 1253 * trusted device.
1250 * @param {string} data A string containing the base64-encoded data to encrypt. 1254 * @param {string} data A string containing the base64-encoded data to encrypt.
1251 * @param {function(string):void} callback A callback function that receives 1255 * @param {function(string):void} callback A callback function that receives
1252 * base64-encoded encrypted data to send to a trusted device. 1256 * base64-encoded encrypted data to send to a trusted device.
1257 * @deprecated Use networking.castPrivate API.
1253 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyA ndEncryptData 1258 * @see https://developer.chrome.com/extensions/networkingPrivate#method-verifyA ndEncryptData
1254 */ 1259 */
1255 chrome.networkingPrivate.verifyAndEncryptData = function(properties, data, callb ack) {}; 1260 chrome.networkingPrivate.verifyAndEncryptData = function(properties, data, callb ack) {};
1256 1261
1257 /** 1262 /**
1258 * Enables TDLS for WiFi traffic with a specified peer if available. 1263 * Enables TDLS for WiFi traffic with a specified peer if available.
1259 * @param {string} ip_or_mac_address The IP or MAC address of the peer with 1264 * @param {string} ip_or_mac_address The IP or MAC address of the peer with
1260 * which to enable a TDLS connection. |enabled| If true, enable TDLS, 1265 * which to enable a TDLS connection. |enabled| If true, enable TDLS,
1261 * otherwise disable TDLS. 1266 * otherwise disable TDLS.
1262 * @param {boolean} enabled 1267 * @param {boolean} enabled
1263 * @param {function(string):void=} callback A callback function that receives a 1268 * @param {function(string):void=} callback A callback function that receives a
1264 * string with an error or the current TDLS status. 'Failed' indicates 1269 * string with an error or the current TDLS status. 'Failed' indicates
1265 * that the request failed (e.g. MAC address lookup failed). 'Timeout' 1270 * that the request failed (e.g. MAC address lookup failed). 'Timeout'
1266 * indicates that the lookup timed out. Otherwise a valid status is 1271 * indicates that the lookup timed out. Otherwise a valid status is
1267 * returned (see $(ref:getWifiTDLSStatus)). 1272 * returned (see $(ref:getWifiTDLSStatus)).
1273 * @deprecated Use networking.castPrivate API.
1268 * @see https://developer.chrome.com/extensions/networkingPrivate#method-setWifi TDLSEnabledState 1274 * @see https://developer.chrome.com/extensions/networkingPrivate#method-setWifi TDLSEnabledState
1269 */ 1275 */
1270 chrome.networkingPrivate.setWifiTDLSEnabledState = function(ip_or_mac_address, e nabled, callback) {}; 1276 chrome.networkingPrivate.setWifiTDLSEnabledState = function(ip_or_mac_address, e nabled, callback) {};
1271 1277
1272 /** 1278 /**
1273 * Returns the current TDLS status for the specified peer. 1279 * Returns the current TDLS status for the specified peer.
1274 * @param {string} ip_or_mac_address The IP or MAC address of the peer. 1280 * @param {string} ip_or_mac_address The IP or MAC address of the peer.
1275 * @param {function(string):void} callback A callback function that receives a 1281 * @param {function(string):void} callback A callback function that receives a
1276 * string with the current TDLS status which can be 'Connected', 1282 * string with the current TDLS status which can be 'Connected',
1277 * 'Disabled', 'Disconnected', 'Nonexistent', or 'Unknown'. 1283 * 'Disabled', 'Disconnected', 'Nonexistent', or 'Unknown'.
1284 * @deprecated Use networking.castPrivate API.
1278 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getWifi TDLSStatus 1285 * @see https://developer.chrome.com/extensions/networkingPrivate#method-getWifi TDLSStatus
1279 */ 1286 */
1280 chrome.networkingPrivate.getWifiTDLSStatus = function(ip_or_mac_address, callbac k) {}; 1287 chrome.networkingPrivate.getWifiTDLSStatus = function(ip_or_mac_address, callbac k) {};
1281 1288
1282 /** 1289 /**
1283 * Returns captive portal status for the network matching 'networkGuid'. 1290 * Returns captive portal status for the network matching 'networkGuid'.
1284 * @param {string} networkGuid The GUID of the network to get captive portal 1291 * @param {string} networkGuid The GUID of the network to get captive portal
1285 * status for. 1292 * status for.
1286 * @param {function(!chrome.networkingPrivate.CaptivePortalStatus):void} 1293 * @param {function(!chrome.networkingPrivate.CaptivePortalStatus):void}
1287 * callback A callback function that returns the results of the query for 1294 * callback A callback function that returns the results of the query for
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 */ 1361 */
1355 chrome.networkingPrivate.onDeviceStateListChanged; 1362 chrome.networkingPrivate.onDeviceStateListChanged;
1356 1363
1357 /** 1364 /**
1358 * Fired when a portal detection for a network completes. Sends the guid of the 1365 * Fired when a portal detection for a network completes. Sends the guid of the
1359 * network and the corresponding captive portal status. 1366 * network and the corresponding captive portal status.
1360 * @type {!ChromeEvent} 1367 * @type {!ChromeEvent}
1361 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortal DetectionCompleted 1368 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortal DetectionCompleted
1362 */ 1369 */
1363 chrome.networkingPrivate.onPortalDetectionCompleted; 1370 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