Index: ui/webui/resources/cr_elements/v1_0/cr_onc/cr_onc_types.js |
diff --git a/ui/webui/resources/cr_elements/v1_0/cr_onc/cr_onc_types.js b/ui/webui/resources/cr_elements/v1_0/cr_onc/cr_onc_types.js |
index 5f13f24c560285b2c525a10ab42328c153092844..629b963aa0cc22edb7ac29505cdd43494a0e6f89 100644 |
--- a/ui/webui/resources/cr_elements/v1_0/cr_onc/cr_onc_types.js |
+++ b/ui/webui/resources/cr_elements/v1_0/cr_onc/cr_onc_types.js |
@@ -63,6 +63,33 @@ CrOnc.IPConfigProperties; |
*/ |
CrOnc.IPConfigUIProperties; |
+// TODO(stevenjb): Update chrome_extensions.js to include ProxySettings |
+// in chrome.networkingPrivate and use that. |
+/** @typedef {{ |
+ * Host: string, |
+ * Port: number |
+ * }} |
+ */ |
+CrOnc.ProxyLocation; |
+ |
+/** @typedef {{ |
+ * HTTPProxy: ?CrOnc.ProxyLocation, |
+ * SecureHTTPProxy: ?CrOnc.ProxyLocation, |
+ * FTPProxy: ?CrOnc.ProxyLocation, |
+ * SOCKS: ?CrOnc.ProxyLocation |
+ * }} |
+ */ |
+CrOnc.ManualProxySettings; |
+ |
+/** @typedef {{ |
+ * Type: !CrOnc.ProxySettingsType, |
+ * Manual: ?CrOnc.ManualProxySettings, |
+ * ExcludeDomains: ?Array<string>, |
+ * PAC: (string|undefined) |
+ * }} |
+ */ |
+CrOnc.ProxySettings; |
+ |
/** @enum {string} */ |
CrOnc.Type = { |
CELLULAR: 'Cellular', |
@@ -107,6 +134,14 @@ CrOnc.NetworkTechnology = { |
}; |
/** @enum {string} */ |
+CrOnc.ProxySettingsType = { |
+ DIRECT: 'Direct', |
+ MANUAL: 'Manual', |
+ PAC: 'PAC', |
+ WPAD: 'WPAD', |
+}; |
+ |
+/** @enum {string} */ |
CrOnc.RoamingState = { |
HOME: 'Home', |
REQUIRED: 'Required', |