| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 ManagedIssuerSubjectPattern? Subject; | 226 ManagedIssuerSubjectPattern? Subject; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 dictionary EAPProperties { | 229 dictionary EAPProperties { |
| 230 DOMString? AnonymousIdentity; | 230 DOMString? AnonymousIdentity; |
| 231 CertificatePattern? ClientCertPattern; | 231 CertificatePattern? ClientCertPattern; |
| 232 DOMString? ClientCertRef; | 232 DOMString? ClientCertRef; |
| 233 DOMString? ClientCertType; | 233 DOMString? ClientCertType; |
| 234 DOMString? Identity; | 234 DOMString? Identity; |
| 235 DOMString? Inner; | 235 DOMString? Inner; |
| 236 DOMString Outer; | 236 // The outer EAP type. Required by ONC, but may not be provided when |
| 237 // translating from Shill. |
| 238 DOMString? Outer; |
| 237 DOMString? Password; | 239 DOMString? Password; |
| 238 boolean? SaveCredentials; | 240 boolean? SaveCredentials; |
| 241 DOMString[]? ServerCAPEMs; |
| 239 DOMString[]? ServerCARefs; | 242 DOMString[]? ServerCARefs; |
| 240 boolean? UseProactiveKeyCaching; | 243 boolean? UseProactiveKeyCaching; |
| 241 boolean? UseSystemCAs; | 244 boolean? UseSystemCAs; |
| 242 }; | 245 }; |
| 243 | 246 |
| 244 dictionary ManagedEAPProperties { | 247 dictionary ManagedEAPProperties { |
| 245 ManagedDOMString? AnonymousIdentity; | 248 ManagedDOMString? AnonymousIdentity; |
| 246 ManagedCertificatePattern? ClientCertPattern; | 249 ManagedCertificatePattern? ClientCertPattern; |
| 247 ManagedDOMString? ClientCertRef; | 250 ManagedDOMString? ClientCertRef; |
| 248 ManagedDOMString? ClientCertType; | 251 ManagedDOMString? ClientCertType; |
| 249 ManagedDOMString? Identity; | 252 ManagedDOMString? Identity; |
| 250 ManagedDOMString? Inner; | 253 ManagedDOMString? Inner; |
| 251 ManagedDOMString Outer; | 254 // The outer EAP type. Required by ONC, but may not be provided when |
| 255 // translating from Shill. |
| 256 ManagedDOMString? Outer; |
| 252 ManagedDOMString? Password; | 257 ManagedDOMString? Password; |
| 253 ManagedBoolean? SaveCredentials; | 258 ManagedBoolean? SaveCredentials; |
| 259 ManagedDOMStringList? ServerCAPEMs; |
| 254 ManagedDOMStringList? ServerCARefs; | 260 ManagedDOMStringList? ServerCARefs; |
| 255 ManagedBoolean? UseProactiveKeyCaching; | 261 ManagedBoolean? UseProactiveKeyCaching; |
| 256 ManagedBoolean? UseSystemCAs; | 262 ManagedBoolean? UseSystemCAs; |
| 257 }; | 263 }; |
| 258 | 264 |
| 259 dictionary FoundNetworkProperties { | 265 dictionary FoundNetworkProperties { |
| 260 DOMString Status; | 266 DOMString Status; |
| 261 DOMString NetworkId; | 267 DOMString NetworkId; |
| 262 DOMString Technology; | 268 DOMString Technology; |
| 263 DOMString? ShortName; | 269 DOMString? ShortName; |
| (...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 // Fired when the list of devices has changed or any device state properties | 1088 // Fired when the list of devices has changed or any device state properties |
| 1083 // have changed. | 1089 // have changed. |
| 1084 static void onDeviceStateListChanged(); | 1090 static void onDeviceStateListChanged(); |
| 1085 | 1091 |
| 1086 // Fired when a portal detection for a network completes. Sends the guid of | 1092 // Fired when a portal detection for a network completes. Sends the guid of |
| 1087 // the network and the corresponding captive portal status. | 1093 // the network and the corresponding captive portal status. |
| 1088 static void onPortalDetectionCompleted(DOMString networkGuid, | 1094 static void onPortalDetectionCompleted(DOMString networkGuid, |
| 1089 CaptivePortalStatus status); | 1095 CaptivePortalStatus status); |
| 1090 }; | 1096 }; |
| 1091 }; | 1097 }; |
| OLD | NEW |