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

Side by Side Diff: net/interfaces/proxy_resolver_service.mojom

Issue 1017453005: Add support for ProxyResolverErrorObserver to ProxyResolverMojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Put Mojo definitions into their own namespace to avoid collisions with C++ 5 // Put Mojo definitions into their own namespace to avoid collisions with C++
6 // definitions. 6 // definitions.
7 // TODO(amistry): Resolve the conflict between these two sets of definitions. 7 // TODO(amistry): Resolve the conflict between these two sets of definitions.
8 module net.interfaces; 8 module net.interfaces;
9 9
10 import "host_resolver_service.mojom"; 10 import "host_resolver_service.mojom";
(...skipping 26 matching lines...) Expand all
37 // client. 37 // client.
38 // TODO(amistry): Add BoundNetLog. 38 // TODO(amistry): Add BoundNetLog.
39 GetProxyForUrl(string url, ProxyResolverRequestClient client); 39 GetProxyForUrl(string url, ProxyResolverRequestClient client);
40 }; 40 };
41 41
42 interface ProxyResolverRequestClient { 42 interface ProxyResolverRequestClient {
43 ReportResult(int32 error, array<ProxyServer>? proxy_servers); 43 ReportResult(int32 error, array<ProxyServer>? proxy_servers);
44 LoadStateChanged(int32 load_state); 44 LoadStateChanged(int32 load_state);
45 }; 45 };
46 46
47 interface ProxyResolverErrorObserver {
48 OnPacScriptError(int32 line_number, string error);
49 };
50
47 interface ProxyResolverFactory { 51 interface ProxyResolverFactory {
48 // TODO(amistry): Add NetLog and ProxyResolverErrorObserver. 52 // TODO(amistry): Add NetLog.
49 CreateResolver(ProxyResolver& resolver, 53 CreateResolver(ProxyResolver& resolver,
50 HostResolver host_resolver); 54 HostResolver host_resolver,
55 ProxyResolverErrorObserver? error_observer);
51 }; 56 };
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/net.gyp » ('j') | net/proxy/proxy_resolver_error_observer_mojo.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698