Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: ui/webui/resources/cr_elements/v1_0/cr_onc/cr_onc_types.js

Issue 1219753007: Add network proxy input to md-settings internet details (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_470445_onc_proxy
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/api/networking_private.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « extensions/common/api/networking_private.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698