summaryrefslogtreecommitdiffstats
path: root/net/interfaces
diff options
context:
space:
mode:
authorsammc <sammc@chromium.org>2015-06-28 19:58:47 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-29 02:59:20 +0000
commitf2d1ea00bc13c6e742c9c3bffa78d4c009c63e7e (patch)
tree19e908025d9cc6dbbb1068496f14e806b2b105ee /net/interfaces
parent1e0de6aa93e9534a4c88abd457e4169f6fe4c863 (diff)
downloadchromium_src-f2d1ea00bc13c6e742c9c3bffa78d4c009c63e7e.zip
chromium_src-f2d1ea00bc13c6e742c9c3bffa78d4c009c63e7e.tar.gz
chromium_src-f2d1ea00bc13c6e742c9c3bffa78d4c009c63e7e.tar.bz2
Split ProxyResolverV8Tracing into an implementation and a wrapper.
The implementation-specific interfaces use a Bindings interface for reporting alerts and errors and making DNS requests. This allows a user to provide an implementation instead of forwarding to a fixed NetLog and HostResolver. The wrappers implement the ProxyResolver and ProxyResolverFactory interfaces, mostly matching the previous behavior. The one exception is that LoadState change reporting has been removed; the one user (MojoProxyResolverImpl) will soon use the implementation interface directly instead. BUG=467832 Review URL: https://codereview.chromium.org/1145153004 Cr-Commit-Position: refs/heads/master@{#336525}
Diffstat (limited to 'net/interfaces')
-rw-r--r--net/interfaces/proxy_resolver_service.mojom4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/interfaces/proxy_resolver_service.mojom b/net/interfaces/proxy_resolver_service.mojom
index 68f798e..133fe8b 100644
--- a/net/interfaces/proxy_resolver_service.mojom
+++ b/net/interfaces/proxy_resolver_service.mojom
@@ -31,15 +31,13 @@ struct ProxyServer {
interface ProxyResolver {
// Use a ProxyResolverRequestClient instead of returning a result so we can
- // receive load state updates and cancel in-flight requests by destroying the
- // client.
+ // cancel in-flight requests by destroying the client.
// TODO(amistry): Add BoundNetLog.
GetProxyForUrl(string url, ProxyResolverRequestClient client);
};
interface ProxyResolverRequestClient {
ReportResult(int32 error, array<ProxyServer>? proxy_servers);
- LoadStateChanged(int32 load_state);
};
interface ProxyResolverErrorObserver {