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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Effective: The effective source for the property: UserPolicy, DevicePolicy, | 70 // Effective: The effective source for the property: UserPolicy, DevicePolicy, |
71 // UserSetting or SharedSetting. | 71 // UserSetting or SharedSetting. |
72 // UserPolicy: The value provided by the user policy. | 72 // UserPolicy: The value provided by the user policy. |
73 // DevicePolicy: The value provided by the device policy. | 73 // DevicePolicy: The value provided by the device policy. |
74 // UserSetting: The value set by the logged in user. Only provided if | 74 // UserSetting: The value set by the logged in user. Only provided if |
75 // UserEditable is true (i.e. no policy affects the property or the | 75 // UserEditable is true (i.e. no policy affects the property or the |
76 // policy provided value is recommened only). | 76 // policy provided value is recommened only). |
77 // SharedSetting: The value set for all users of the device. Only provided if | 77 // SharedSetting: The value set for all users of the device. Only provided if |
78 // DeviceEditiable is true (i.e. no policy affects the property or the | 78 // DeviceEditiable is true (i.e. no policy affects the property or the |
79 // policy provided value is recommened only). | 79 // policy provided value is recommened only). |
80 // UserEditable: True if the UserPolicy allows the property to be edited | 80 // UserEditable: True if a UserPolicy exists and allows the property to be |
81 // (i.e. is a recommended value). Defaults to True. | 81 // edited (i.e. is a recommended value). Defaults to False. |
82 // DeviceEditable: True if the DevicePolicy allows the property to be | 82 // DeviceEditable: True if a DevicePolicy exists and allows the property to be |
83 // edited (i.e. is a recommended value). Defaults to True. | 83 // edited (i.e. is a recommended value). Defaults to False. |
84 | 84 |
85 dictionary ManagedBoolean { | 85 dictionary ManagedBoolean { |
86 boolean? Active; | 86 boolean? Active; |
87 DOMString? Effective; | 87 DOMString? Effective; |
88 boolean? UserPolicy; | 88 boolean? UserPolicy; |
89 boolean? DevicePolicy; | 89 boolean? DevicePolicy; |
90 boolean? UserSetting; | 90 boolean? UserSetting; |
91 boolean? SharedSetting; | 91 boolean? SharedSetting; |
92 boolean? UserEditable; | 92 boolean? UserEditable; |
93 boolean? DeviceEditable; | 93 boolean? DeviceEditable; |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 | 548 |
549 dictionary CellularStateProperties { | 549 dictionary CellularStateProperties { |
550 ActivationStateType? ActivationState; | 550 ActivationStateType? ActivationState; |
551 DOMString? NetworkTechnology; | 551 DOMString? NetworkTechnology; |
552 DOMString? RoamingState; | 552 DOMString? RoamingState; |
553 boolean? SIMPresent; | 553 boolean? SIMPresent; |
554 long? SignalStrength; | 554 long? SignalStrength; |
555 }; | 555 }; |
556 | 556 |
557 dictionary EthernetProperties { | 557 dictionary EthernetProperties { |
| 558 boolean? AutoConnect; |
558 DOMString? Authentication; | 559 DOMString? Authentication; |
559 EAPProperties? EAP; | 560 EAPProperties? EAP; |
560 }; | 561 }; |
561 | 562 |
562 dictionary ManagedEthernetProperties { | 563 dictionary ManagedEthernetProperties { |
| 564 ManagedBoolean? AutoConnect; |
563 ManagedDOMString? Authentication; | 565 ManagedDOMString? Authentication; |
564 ManagedEAPProperties? EAP; | 566 ManagedEAPProperties? EAP; |
565 }; | 567 }; |
566 | 568 |
567 dictionary EthernetStateProperties { | 569 dictionary EthernetStateProperties { |
568 DOMString Authentication; | 570 DOMString Authentication; |
569 }; | 571 }; |
570 | 572 |
571 dictionary VPNProperties { | 573 dictionary VPNProperties { |
572 boolean? AutoConnect; | 574 boolean? AutoConnect; |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 // Fired when the list of devices has changed or any device state properties | 1040 // Fired when the list of devices has changed or any device state properties |
1039 // have changed. | 1041 // have changed. |
1040 static void onDeviceStateListChanged(); | 1042 static void onDeviceStateListChanged(); |
1041 | 1043 |
1042 // Fired when a portal detection for a network completes. Sends the guid of | 1044 // Fired when a portal detection for a network completes. Sends the guid of |
1043 // the network and the corresponding captive portal status. | 1045 // the network and the corresponding captive portal status. |
1044 static void onPortalDetectionCompleted(DOMString networkGuid, | 1046 static void onPortalDetectionCompleted(DOMString networkGuid, |
1045 CaptivePortalStatus status); | 1047 CaptivePortalStatus status); |
1046 }; | 1048 }; |
1047 }; | 1049 }; |
OLD | NEW |