Chromium Code Reviews| Index: net/data/proxy_resolver_v8_tracing_unittest/simple_dns.js |
| diff --git a/net/data/proxy_resolver_v8_tracing_unittest/simple_dns.js b/net/data/proxy_resolver_v8_tracing_unittest/simple_dns.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..24867b07a3020d3ca32a2a279212bde5378e79df |
| --- /dev/null |
| +++ b/net/data/proxy_resolver_v8_tracing_unittest/simple_dns.js |
| @@ -0,0 +1,8 @@ |
| +var g_iteration = 0; |
| + |
| +function FindProxyForURL(url, host) { |
| + g_iteration++; |
| + myIpAddress(); |
| + var ip = dnsResolve(host); |
| + return "PROXY " + ip + ':' + g_iteration; |
| +} |