Index: chrome/common/extensions/api/extension_api.json |
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
index f3582aa795357c2d07b1bc5f8cd20b9a45d3755d..7b49a2331b248bdbccf3965d733c58efc01901a8 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -3743,7 +3743,7 @@ |
"type": "object", |
"description": "An object encapsulating a single proxy server's specification.", |
"properties": { |
- "scheme": {"type": "string", "optional": true, "enum": ["http", "socks", "socks4", "socks5"], "description": "The scheme (protocol) of the proxy server itself."}, |
+ "scheme": {"type": "string", "optional": true, "enum": ["http", "https", "socks", "socks4", "socks5"], "description": "The scheme (protocol) of the proxy server itself."}, |
"host": {"type": "string", "description": "The URI of the proxy server."}, |
"port": {"type": "integer", "optional": true, "description": "The port of the proxy server."} |
} |
@@ -3813,6 +3813,29 @@ |
"optional": true |
} |
] |
+ }, |
+ { |
+ "name": "getCurrentProxySettings", |
+ "type": "function", |
+ "description": "Returns the currently effective proxy settings. These can originate from default values, command line options, the extension settings API, policies and possibly other sources in the future.", |
+ "parameters": [ |
+ { |
+ "name": "incognito", |
+ "type": "boolean", |
+ "description": "See incognito parameter of useCustomProxySettings." |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "name": "config", |
+ "$ref": "ProxyConfig", |
+ "description": "Configuration, not necessarily a literal copy of the configuration passed to useCustomProxySettings." |
+ } |
+ ] |
+ } |
+ ] |
} |
] |
}, |