| 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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 ManagedEAPProperties? EAP; | 576 ManagedEAPProperties? EAP; |
| 577 }; | 577 }; |
| 578 | 578 |
| 579 dictionary EthernetStateProperties { | 579 dictionary EthernetStateProperties { |
| 580 DOMString Authentication; | 580 DOMString Authentication; |
| 581 }; | 581 }; |
| 582 | 582 |
| 583 dictionary TetherProperties { | 583 dictionary TetherProperties { |
| 584 long? BatteryPercentage; | 584 long? BatteryPercentage; |
| 585 DOMString? Carrier; | 585 DOMString? Carrier; |
| 586 boolean HasConnectedToHost; |
| 586 long? SignalStrength; | 587 long? SignalStrength; |
| 587 }; | 588 }; |
| 588 | 589 |
| 589 dictionary VPNProperties { | 590 dictionary VPNProperties { |
| 590 boolean? AutoConnect; | 591 boolean? AutoConnect; |
| 591 DOMString? Host; | 592 DOMString? Host; |
| 592 IPSecProperties? IPsec; | 593 IPSecProperties? IPsec; |
| 593 L2TPProperties? L2TP; | 594 L2TPProperties? L2TP; |
| 594 OpenVPNProperties? OpenVPN; | 595 OpenVPNProperties? OpenVPN; |
| 595 ThirdPartyVPNProperties? ThirdPartyVPN; | 596 ThirdPartyVPNProperties? ThirdPartyVPN; |
| (...skipping 486 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 | 1083 // Fired when the list of devices has changed or any device state properties |
| 1083 // have changed. | 1084 // have changed. |
| 1084 static void onDeviceStateListChanged(); | 1085 static void onDeviceStateListChanged(); |
| 1085 | 1086 |
| 1086 // Fired when a portal detection for a network completes. Sends the guid of | 1087 // Fired when a portal detection for a network completes. Sends the guid of |
| 1087 // the network and the corresponding captive portal status. | 1088 // the network and the corresponding captive portal status. |
| 1088 static void onPortalDetectionCompleted(DOMString networkGuid, | 1089 static void onPortalDetectionCompleted(DOMString networkGuid, |
| 1089 CaptivePortalStatus status); | 1090 CaptivePortalStatus status); |
| 1090 }; | 1091 }; |
| 1091 }; | 1092 }; |
| OLD | NEW |