| 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 DOMString? IPAddress; | 269 DOMString? IPAddress; |
| 270 DOMString[]? NameServers; | 270 DOMString[]? NameServers; |
| 271 long? RoutingPrefix; | 271 long? RoutingPrefix; |
| 272 DOMString? Type; | 272 DOMString? Type; |
| 273 DOMString? WebProxyAutoDiscoveryUrl; | 273 DOMString? WebProxyAutoDiscoveryUrl; |
| 274 }; | 274 }; |
| 275 | 275 |
| 276 dictionary ManagedIPConfigProperties { | 276 dictionary ManagedIPConfigProperties { |
| 277 ManagedDOMString? Gateway; | 277 ManagedDOMString? Gateway; |
| 278 ManagedDOMString? IPAddress; | 278 ManagedDOMString? IPAddress; |
| 279 ManagedDOMString[]? NameServers; | 279 ManagedDOMStringList? NameServers; |
| 280 ManagedLong? RoutingPrefix; | 280 ManagedLong? RoutingPrefix; |
| 281 ManagedDOMString? Type; | 281 ManagedDOMString? Type; |
| 282 ManagedDOMString? WebProxyAutoDiscoveryUrl; | 282 ManagedDOMString? WebProxyAutoDiscoveryUrl; |
| 283 }; | 283 }; |
| 284 | 284 |
| 285 dictionary XAUTHProperties { | 285 dictionary XAUTHProperties { |
| 286 DOMString? Password; | 286 DOMString? Password; |
| 287 boolean? SaveCredentials; | 287 boolean? SaveCredentials; |
| 288 DOMString? Username; | 288 DOMString? Username; |
| 289 }; | 289 }; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 ManagedBoolean? CompNoAdapt; | 439 ManagedBoolean? CompNoAdapt; |
| 440 ManagedBoolean? IgnoreDefaultRoute; | 440 ManagedBoolean? IgnoreDefaultRoute; |
| 441 ManagedDOMString? KeyDirection; | 441 ManagedDOMString? KeyDirection; |
| 442 ManagedDOMString? NsCertType; | 442 ManagedDOMString? NsCertType; |
| 443 ManagedDOMString? OTP; | 443 ManagedDOMString? OTP; |
| 444 ManagedDOMString? Password; | 444 ManagedDOMString? Password; |
| 445 ManagedLong? Port; | 445 ManagedLong? Port; |
| 446 ManagedDOMString? Proto; | 446 ManagedDOMString? Proto; |
| 447 ManagedDOMString? PushPeerInfo; | 447 ManagedDOMString? PushPeerInfo; |
| 448 ManagedDOMString? RemoteCertEKU; | 448 ManagedDOMString? RemoteCertEKU; |
| 449 ManagedDOMString[]? RemoteCertKU; | 449 ManagedDOMStringList? RemoteCertKU; |
| 450 ManagedDOMString? RemoteCertTLS; | 450 ManagedDOMString? RemoteCertTLS; |
| 451 ManagedLong? RenegSec; | 451 ManagedLong? RenegSec; |
| 452 ManagedBoolean? SaveCredentials; | 452 ManagedBoolean? SaveCredentials; |
| 453 ManagedDOMString[]? ServerCARefs; | 453 ManagedDOMStringList? ServerCARefs; |
| 454 ManagedDOMString? ServerCertRef; | 454 ManagedDOMString? ServerCertRef; |
| 455 ManagedLong? ServerPollTimeout; | 455 ManagedLong? ServerPollTimeout; |
| 456 ManagedLong? Shaper; | 456 ManagedLong? Shaper; |
| 457 ManagedDOMString? StaticChallenge; | 457 ManagedDOMString? StaticChallenge; |
| 458 ManagedDOMString? TLSAuthContents; | 458 ManagedDOMString? TLSAuthContents; |
| 459 ManagedDOMString? TLSRemote; | 459 ManagedDOMString? TLSRemote; |
| 460 ManagedDOMString? UserAuthenticationType; | 460 ManagedDOMString? UserAuthenticationType; |
| 461 ManagedDOMString? Username; | 461 ManagedDOMString? Username; |
| 462 ManagedDOMString? Verb; | 462 ManagedDOMString? Verb; |
| 463 ManagedDOMString? VerifyHash; | 463 ManagedDOMString? VerifyHash; |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 // Fired when the list of devices has changed or any device state properties | 1044 // Fired when the list of devices has changed or any device state properties |
| 1045 // have changed. | 1045 // have changed. |
| 1046 static void onDeviceStateListChanged(); | 1046 static void onDeviceStateListChanged(); |
| 1047 | 1047 |
| 1048 // Fired when a portal detection for a network completes. Sends the guid of | 1048 // Fired when a portal detection for a network completes. Sends the guid of |
| 1049 // the network and the corresponding captive portal status. | 1049 // the network and the corresponding captive portal status. |
| 1050 static void onPortalDetectionCompleted(DOMString networkGuid, | 1050 static void onPortalDetectionCompleted(DOMString networkGuid, |
| 1051 CaptivePortalStatus status); | 1051 CaptivePortalStatus status); |
| 1052 }; | 1052 }; |
| 1053 }; | 1053 }; |
| OLD | NEW |