OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // The <code>chrome.networkingPrivate</code> API is used for configuring | 5 // The <code>chrome.networkingPrivate</code> API is used for configuring |
6 // network connections (Cellular, Ethernet, VPN, WiFi or WiMAX). This private | 6 // network connections (Cellular, Ethernet, VPN, WiFi or WiMAX). This private |
7 // API is only valid if called from a browser or app associated with the | 7 // API is only valid if called from a browser or app associated with the |
8 // primary user. See the Open Network Configuration (ONC) documentation for | 8 // primary user. See the Open Network Configuration (ONC) documentation for |
9 // descriptions of properties: | 9 // descriptions of properties: |
10 // <a href="https://code.google.com/p/chromium/codesearch#chromium/src/component
s/onc/docs/onc_spec.html"> | 10 // <a href="https://code.google.com/p/chromium/codesearch#chromium/src/component
s/onc/docs/onc_spec.html"> |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 DOMString? ClientCertType; | 233 DOMString? ClientCertType; |
234 DOMString? Identity; | 234 DOMString? Identity; |
235 DOMString? Inner; | 235 DOMString? Inner; |
236 // The outer EAP type. Required by ONC, but may not be provided when | 236 // The outer EAP type. Required by ONC, but may not be provided when |
237 // translating from Shill. | 237 // translating from Shill. |
238 DOMString? Outer; | 238 DOMString? Outer; |
239 DOMString? Password; | 239 DOMString? Password; |
240 boolean? SaveCredentials; | 240 boolean? SaveCredentials; |
241 DOMString[]? ServerCAPEMs; | 241 DOMString[]? ServerCAPEMs; |
242 DOMString[]? ServerCARefs; | 242 DOMString[]? ServerCARefs; |
| 243 DOMString? SubjectMatch; |
243 boolean? UseProactiveKeyCaching; | 244 boolean? UseProactiveKeyCaching; |
244 boolean? UseSystemCAs; | 245 boolean? UseSystemCAs; |
245 }; | 246 }; |
246 | 247 |
247 dictionary ManagedEAPProperties { | 248 dictionary ManagedEAPProperties { |
248 ManagedDOMString? AnonymousIdentity; | 249 ManagedDOMString? AnonymousIdentity; |
249 ManagedCertificatePattern? ClientCertPattern; | 250 ManagedCertificatePattern? ClientCertPattern; |
250 ManagedDOMString? ClientCertRef; | 251 ManagedDOMString? ClientCertRef; |
251 ManagedDOMString? ClientCertType; | 252 ManagedDOMString? ClientCertType; |
252 ManagedDOMString? Identity; | 253 ManagedDOMString? Identity; |
253 ManagedDOMString? Inner; | 254 ManagedDOMString? Inner; |
254 // The outer EAP type. Required by ONC, but may not be provided when | 255 // The outer EAP type. Required by ONC, but may not be provided when |
255 // translating from Shill. | 256 // translating from Shill. |
256 ManagedDOMString? Outer; | 257 ManagedDOMString? Outer; |
257 ManagedDOMString? Password; | 258 ManagedDOMString? Password; |
258 ManagedBoolean? SaveCredentials; | 259 ManagedBoolean? SaveCredentials; |
259 ManagedDOMStringList? ServerCAPEMs; | 260 ManagedDOMStringList? ServerCAPEMs; |
260 ManagedDOMStringList? ServerCARefs; | 261 ManagedDOMStringList? ServerCARefs; |
| 262 ManagedDOMString? SubjectMatch; |
261 ManagedBoolean? UseProactiveKeyCaching; | 263 ManagedBoolean? UseProactiveKeyCaching; |
262 ManagedBoolean? UseSystemCAs; | 264 ManagedBoolean? UseSystemCAs; |
263 }; | 265 }; |
264 | 266 |
265 dictionary FoundNetworkProperties { | 267 dictionary FoundNetworkProperties { |
266 DOMString Status; | 268 DOMString Status; |
267 DOMString NetworkId; | 269 DOMString NetworkId; |
268 DOMString Technology; | 270 DOMString Technology; |
269 DOMString? ShortName; | 271 DOMString? ShortName; |
270 DOMString? LongName; | 272 DOMString? LongName; |
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 // Fired when the list of devices has changed or any device state properties | 1085 // Fired when the list of devices has changed or any device state properties |
1084 // have changed. | 1086 // have changed. |
1085 static void onDeviceStateListChanged(); | 1087 static void onDeviceStateListChanged(); |
1086 | 1088 |
1087 // Fired when a portal detection for a network completes. Sends the guid of | 1089 // Fired when a portal detection for a network completes. Sends the guid of |
1088 // the network and the corresponding captive portal status. | 1090 // the network and the corresponding captive portal status. |
1089 static void onPortalDetectionCompleted(DOMString networkGuid, | 1091 static void onPortalDetectionCompleted(DOMString networkGuid, |
1090 CaptivePortalStatus status); | 1092 CaptivePortalStatus status); |
1091 }; | 1093 }; |
1092 }; | 1094 }; |
OLD | NEW |