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..1baedbbf068da4e45402a5c148cbecdadf7552d6 |
--- /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 {{ |
+ * Cellular: CrOnc.CellularType, |
+ * ConnectionState: string, |
+ * GUID: string, |
+ * Name: CrOnc.ManagedStringType, |
+ * Type: string, |
+ * WiFi: CrOnc.WiFiType, |
+ * WiMAX: CrOnc.WiMAXType }} |
+ */ |
+CrOnc.NetworkConfigType; |