Chromium Code Reviews| Index: ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js |
| diff --git a/ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js b/ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..803524830538be078d144cbdab0815327ac4285f |
| --- /dev/null |
| +++ b/ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js |
| @@ -0,0 +1,36 @@ |
| +var CrOnc = {}; |
| + |
| +/** @typedef {string | !Object} */ |
| +CrOnc.ManagedStringType; |
| + |
| +/** |
| + * @typedef {{ |
| + * NetworkTechnology: string, |
| + * Strength: number }} |
| + */ |
| +CrOnc.CellularType; |
| + |
| +/** |
| + * @typedef {{ |
| + * Security: string, |
| + * Strength: number }} |
| + */ |
| +CrOnc.WiFiType; |
| + |
| +/** |
| + * @typedef {{ |
| + * Strength: number }} |
| + */ |
| +CrOnc.WiMAXType; |
| + |
| +/** |
| + * @typedef {{ |
| + * ConnectionState: string, |
| + * Cellular: CelluarType, |
|
michaelpg
2015/02/09 19:38:54
nit: did you intend to keep these alphabetical?
stevenjb
2015/02/10 00:22:04
Done.
|
| + * GUID: string, |
| + * Name: ManagedStringType, |
| + * Type: string, |
| + * WiFi: WiFiType, |
| + * WiMAX: WiMAXType }} |
| + */ |
| +CrOnc.NetworkConfigType; |