diff options
Diffstat (limited to 'net/proxy/proxy_resolver_js_bindings.h')
-rw-r--r-- | net/proxy/proxy_resolver_js_bindings.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/proxy/proxy_resolver_js_bindings.h b/net/proxy/proxy_resolver_js_bindings.h index 6eff69d..03ad61a 100644 --- a/net/proxy/proxy_resolver_js_bindings.h +++ b/net/proxy/proxy_resolver_js_bindings.h @@ -24,9 +24,21 @@ class ProxyResolverJSBindings { // Handler for "myIpAddress()". Returns empty string on failure. virtual std::string MyIpAddress() = 0; + // Handler for "myIpAddressEx()". Returns empty string on failure. + // + // This is a Microsoft extension to PAC for IPv6, see: + // http://blogs.msdn.com/wndp/articles/IPV6_PAC_Extensions_v0_9.aspx + virtual std::string MyIpAddressEx() = 0; + // Handler for "dnsResolve(host)". Returns empty string on failure. virtual std::string DnsResolve(const std::string& host) = 0; + // Handler for "dnsResolveEx(host)". Returns empty string on failure. + // + // This is a Microsoft extension to PAC for IPv6, see: + // http://blogs.msdn.com/wndp/articles/IPV6_PAC_Extensions_v0_9.aspx + virtual std::string DnsResolveEx(const std::string& host) = 0; + // Handler for when an error is encountered. |line_number| may be -1 // if a line number is not applicable to this error. virtual void OnError(int line_number, const std::string& error) = 0; |