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

Side by Side Diff: net/proxy/proxy_resolver.mojom

Issue 862813002: WIP: Prototype OOP V8 PAC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Slight cleanup and report JS memory usage. Created 5 years, 10 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
« no previous file with comments | « net/net.gypi ('k') | net/proxy/proxy_resolver_error_observer_mojo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module net.proxy;
6
7 import "../dns/host_resolver.mojom";
8
9 interface Resolver {
10 SetPacScript(string data, SetPacScriptClient client);
11
12 GetProxyForUrl(string url, ResolveRequestClient client);
13 };
14
15 interface ResolveRequestClient {
16 ReportResult(string pac_string);
17 ReportError(int32 error);
18 UpdateLoadState(int32 load_state);
19 // AppendLog(???);
20 };
21
22 interface SetPacScriptClient {
23 ReportResult(int32 error);
24 };
25
26 interface ErrorObserver {
27 OnPacScriptError(int32 line_number, string error);
28 };
29
30 interface ResolverFactory {
31 CreateResolver(Resolver& resolver, net.dns.Resolver host_resolver,
32 ErrorObserver error_observer);
33 };
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/proxy/proxy_resolver_error_observer_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698