OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 // This file was generated by: | 5 // This file was generated by: |
6 // ./tools/json_schema_compiler/compiler.py. | 6 // ./tools/json_schema_compiler/compiler.py. |
7 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
8 // 'chrome.networkingPrivate.FooType'. | 8 // 'chrome.networkingPrivate.FooType'. |
9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md | 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 }; | 71 }; |
72 | 72 |
73 /** | 73 /** |
74 * @enum {string} | 74 * @enum {string} |
75 * @see https://developer.chrome.com/extensions/networkingPrivate#type-NetworkTy
pe | 75 * @see https://developer.chrome.com/extensions/networkingPrivate#type-NetworkTy
pe |
76 */ | 76 */ |
77 chrome.networkingPrivate.NetworkType = { | 77 chrome.networkingPrivate.NetworkType = { |
78 ALL: 'All', | 78 ALL: 'All', |
79 CELLULAR: 'Cellular', | 79 CELLULAR: 'Cellular', |
80 ETHERNET: 'Ethernet', | 80 ETHERNET: 'Ethernet', |
| 81 TETHER: 'Tether', |
81 VPN: 'VPN', | 82 VPN: 'VPN', |
82 WIRELESS: 'Wireless', | 83 WIRELESS: 'Wireless', |
83 WI_FI: 'WiFi', | 84 WI_FI: 'WiFi', |
84 WI_MAX: 'WiMAX', | 85 WI_MAX: 'WiMAX', |
85 }; | 86 }; |
86 | 87 |
87 /** | 88 /** |
88 * @enum {string} | 89 * @enum {string} |
89 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ProxySett
ingsType | 90 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ProxySett
ingsType |
90 */ | 91 */ |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 /** | 756 /** |
756 * @typedef {{ | 757 * @typedef {{ |
757 * Authentication: string | 758 * Authentication: string |
758 * }} | 759 * }} |
759 * @see https://developer.chrome.com/extensions/networkingPrivate#type-EthernetS
tateProperties | 760 * @see https://developer.chrome.com/extensions/networkingPrivate#type-EthernetS
tateProperties |
760 */ | 761 */ |
761 chrome.networkingPrivate.EthernetStateProperties; | 762 chrome.networkingPrivate.EthernetStateProperties; |
762 | 763 |
763 /** | 764 /** |
764 * @typedef {{ | 765 * @typedef {{ |
| 766 * BatteryPercentage: number, |
| 767 * Carrier: string, |
| 768 * SignalStrength: number |
| 769 * }} |
| 770 * @see https://developer.chrome.com/extensions/networkingPrivate#type-TetherPro
perties |
| 771 */ |
| 772 chrome.networkingPrivate.TetherProperties; |
| 773 |
| 774 /** |
| 775 * @typedef {{ |
| 776 * BatteryPercentage: !chrome.networkingPrivate.ManagedLong, |
| 777 * Carrier: !chrome.networkingPrivate.ManagedDOMString, |
| 778 * SignalStrength: !chrome.networkingPrivate.ManagedLong |
| 779 * }} |
| 780 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedTe
therProperties |
| 781 */ |
| 782 chrome.networkingPrivate.ManagedTetherProperties; |
| 783 |
| 784 /** |
| 785 * @typedef {{ |
765 * AutoConnect: (boolean|undefined), | 786 * AutoConnect: (boolean|undefined), |
766 * Host: (string|undefined), | 787 * Host: (string|undefined), |
767 * IPsec: (!chrome.networkingPrivate.IPSecProperties|undefined), | 788 * IPsec: (!chrome.networkingPrivate.IPSecProperties|undefined), |
768 * L2TP: (!chrome.networkingPrivate.L2TPProperties|undefined), | 789 * L2TP: (!chrome.networkingPrivate.L2TPProperties|undefined), |
769 * OpenVPN: (!chrome.networkingPrivate.OpenVPNProperties|undefined), | 790 * OpenVPN: (!chrome.networkingPrivate.OpenVPNProperties|undefined), |
770 * ThirdPartyVPN: (!chrome.networkingPrivate.ThirdPartyVPNProperties|undefined
), | 791 * ThirdPartyVPN: (!chrome.networkingPrivate.ThirdPartyVPNProperties|undefined
), |
771 * Type: (string|undefined) | 792 * Type: (string|undefined) |
772 * }} | 793 * }} |
773 * @see https://developer.chrome.com/extensions/networkingPrivate#type-VPNProper
ties | 794 * @see https://developer.chrome.com/extensions/networkingPrivate#type-VPNProper
ties |
774 */ | 795 */ |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 * IPConfigs: (!Array<!chrome.networkingPrivate.IPConfigProperties>|undefined)
, | 930 * IPConfigs: (!Array<!chrome.networkingPrivate.IPConfigProperties>|undefined)
, |
910 * MacAddress: (string|undefined), | 931 * MacAddress: (string|undefined), |
911 * Name: (string|undefined), | 932 * Name: (string|undefined), |
912 * NameServersConfigType: (!chrome.networkingPrivate.IPConfigType|undefined), | 933 * NameServersConfigType: (!chrome.networkingPrivate.IPConfigType|undefined), |
913 * Priority: (number|undefined), | 934 * Priority: (number|undefined), |
914 * ProxySettings: (!chrome.networkingPrivate.ProxySettings|undefined), | 935 * ProxySettings: (!chrome.networkingPrivate.ProxySettings|undefined), |
915 * RestrictedConnectivity: (boolean|undefined), | 936 * RestrictedConnectivity: (boolean|undefined), |
916 * StaticIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), | 937 * StaticIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), |
917 * SavedIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), | 938 * SavedIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), |
918 * Source: (string|undefined), | 939 * Source: (string|undefined), |
| 940 * Tether: (!chrome.networkingPrivate.TetherProperties|undefined), |
919 * Type: !chrome.networkingPrivate.NetworkType, | 941 * Type: !chrome.networkingPrivate.NetworkType, |
920 * VPN: (!chrome.networkingPrivate.VPNProperties|undefined), | 942 * VPN: (!chrome.networkingPrivate.VPNProperties|undefined), |
921 * WiFi: (!chrome.networkingPrivate.WiFiProperties|undefined), | 943 * WiFi: (!chrome.networkingPrivate.WiFiProperties|undefined), |
922 * WiMAX: (!chrome.networkingPrivate.WiMAXProperties|undefined) | 944 * WiMAX: (!chrome.networkingPrivate.WiMAXProperties|undefined) |
923 * }} | 945 * }} |
924 * @see https://developer.chrome.com/extensions/networkingPrivate#type-NetworkPr
operties | 946 * @see https://developer.chrome.com/extensions/networkingPrivate#type-NetworkPr
operties |
925 */ | 947 */ |
926 chrome.networkingPrivate.NetworkProperties; | 948 chrome.networkingPrivate.NetworkProperties; |
927 | 949 |
928 /** | 950 /** |
929 * @typedef {{ | 951 * @typedef {{ |
930 * Cellular: (!chrome.networkingPrivate.ManagedCellularProperties|undefined), | 952 * Cellular: (!chrome.networkingPrivate.ManagedCellularProperties|undefined), |
931 * Connectable: (boolean|undefined), | 953 * Connectable: (boolean|undefined), |
932 * ConnectionState: (!chrome.networkingPrivate.ConnectionStateType|undefined), | 954 * ConnectionState: (!chrome.networkingPrivate.ConnectionStateType|undefined), |
933 * ErrorState: (string|undefined), | 955 * ErrorState: (string|undefined), |
934 * Ethernet: (!chrome.networkingPrivate.ManagedEthernetProperties|undefined), | 956 * Ethernet: (!chrome.networkingPrivate.ManagedEthernetProperties|undefined), |
935 * GUID: string, | 957 * GUID: string, |
936 * IPAddressConfigType: (!chrome.networkingPrivate.ManagedIPConfigType|undefin
ed), | 958 * IPAddressConfigType: (!chrome.networkingPrivate.ManagedIPConfigType|undefin
ed), |
937 * IPConfigs: (!Array<!chrome.networkingPrivate.IPConfigProperties>|undefined)
, | 959 * IPConfigs: (!Array<!chrome.networkingPrivate.IPConfigProperties>|undefined)
, |
938 * MacAddress: (string|undefined), | 960 * MacAddress: (string|undefined), |
939 * Name: (!chrome.networkingPrivate.ManagedDOMString|undefined), | 961 * Name: (!chrome.networkingPrivate.ManagedDOMString|undefined), |
940 * NameServersConfigType: (!chrome.networkingPrivate.ManagedIPConfigType|undef
ined), | 962 * NameServersConfigType: (!chrome.networkingPrivate.ManagedIPConfigType|undef
ined), |
941 * Priority: (!chrome.networkingPrivate.ManagedLong|undefined), | 963 * Priority: (!chrome.networkingPrivate.ManagedLong|undefined), |
942 * ProxySettings: (!chrome.networkingPrivate.ManagedProxySettings|undefined), | 964 * ProxySettings: (!chrome.networkingPrivate.ManagedProxySettings|undefined), |
943 * RestrictedConnectivity: (boolean|undefined), | 965 * RestrictedConnectivity: (boolean|undefined), |
944 * StaticIPConfig: (!chrome.networkingPrivate.ManagedIPConfigProperties|undefi
ned), | 966 * StaticIPConfig: (!chrome.networkingPrivate.ManagedIPConfigProperties|undefi
ned), |
945 * SavedIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), | 967 * SavedIPConfig: (!chrome.networkingPrivate.IPConfigProperties|undefined), |
946 * Source: (string|undefined), | 968 * Source: (string|undefined), |
| 969 * Tether: (!chrome.networkingPrivate.ManagedTetherProperties|undefined), |
947 * Type: !chrome.networkingPrivate.NetworkType, | 970 * Type: !chrome.networkingPrivate.NetworkType, |
948 * VPN: (!chrome.networkingPrivate.ManagedVPNProperties|undefined), | 971 * VPN: (!chrome.networkingPrivate.ManagedVPNProperties|undefined), |
949 * WiFi: (!chrome.networkingPrivate.ManagedWiFiProperties|undefined), | 972 * WiFi: (!chrome.networkingPrivate.ManagedWiFiProperties|undefined), |
950 * WiMAX: (!chrome.networkingPrivate.ManagedWiMAXProperties|undefined) | 973 * WiMAX: (!chrome.networkingPrivate.ManagedWiMAXProperties|undefined) |
951 * }} | 974 * }} |
952 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedPr
operties | 975 * @see https://developer.chrome.com/extensions/networkingPrivate#type-ManagedPr
operties |
953 */ | 976 */ |
954 chrome.networkingPrivate.ManagedProperties; | 977 chrome.networkingPrivate.ManagedProperties; |
955 | 978 |
956 /** | 979 /** |
957 * @typedef {{ | 980 * @typedef {{ |
958 * Cellular: (!chrome.networkingPrivate.CellularStateProperties|undefined), | 981 * Cellular: (!chrome.networkingPrivate.CellularStateProperties|undefined), |
959 * Connectable: (boolean|undefined), | 982 * Connectable: (boolean|undefined), |
960 * ConnectionState: (!chrome.networkingPrivate.ConnectionStateType|undefined), | 983 * ConnectionState: (!chrome.networkingPrivate.ConnectionStateType|undefined), |
961 * Ethernet: (!chrome.networkingPrivate.EthernetStateProperties|undefined), | 984 * Ethernet: (!chrome.networkingPrivate.EthernetStateProperties|undefined), |
962 * ErrorState: (string|undefined), | 985 * ErrorState: (string|undefined), |
963 * GUID: string, | 986 * GUID: string, |
964 * Name: (string|undefined), | 987 * Name: (string|undefined), |
965 * Priority: (number|undefined), | 988 * Priority: (number|undefined), |
966 * Source: (string|undefined), | 989 * Source: (string|undefined), |
| 990 * Tether: (!chrome.networkingPrivate.TetherProperties|undefined), |
967 * Type: !chrome.networkingPrivate.NetworkType, | 991 * Type: !chrome.networkingPrivate.NetworkType, |
968 * VPN: (!chrome.networkingPrivate.VPNStateProperties|undefined), | 992 * VPN: (!chrome.networkingPrivate.VPNStateProperties|undefined), |
969 * WiFi: (!chrome.networkingPrivate.WiFiStateProperties|undefined), | 993 * WiFi: (!chrome.networkingPrivate.WiFiStateProperties|undefined), |
970 * WiMAX: (!chrome.networkingPrivate.WiMAXStateProperties|undefined) | 994 * WiMAX: (!chrome.networkingPrivate.WiMAXStateProperties|undefined) |
971 * }} | 995 * }} |
972 * @see https://developer.chrome.com/extensions/networkingPrivate#type-NetworkSt
ateProperties | 996 * @see https://developer.chrome.com/extensions/networkingPrivate#type-NetworkSt
ateProperties |
973 */ | 997 */ |
974 chrome.networkingPrivate.NetworkStateProperties; | 998 chrome.networkingPrivate.NetworkStateProperties; |
975 | 999 |
976 /** | 1000 /** |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 */ | 1354 */ |
1331 chrome.networkingPrivate.onDeviceStateListChanged; | 1355 chrome.networkingPrivate.onDeviceStateListChanged; |
1332 | 1356 |
1333 /** | 1357 /** |
1334 * Fired when a portal detection for a network completes. Sends the guid of the | 1358 * Fired when a portal detection for a network completes. Sends the guid of the |
1335 * network and the corresponding captive portal status. | 1359 * network and the corresponding captive portal status. |
1336 * @type {!ChromeEvent} | 1360 * @type {!ChromeEvent} |
1337 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortal
DetectionCompleted | 1361 * @see https://developer.chrome.com/extensions/networkingPrivate#event-onPortal
DetectionCompleted |
1338 */ | 1362 */ |
1339 chrome.networkingPrivate.onPortalDetectionCompleted; | 1363 chrome.networkingPrivate.onPortalDetectionCompleted; |
OLD | NEW |