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

Unified Diff: net/dns/host_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, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/DEPS ('k') | net/dns/host_resolver_mojo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/host_resolver.mojom
diff --git a/net/dns/host_resolver.mojom b/net/dns/host_resolver.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..860297345b077aa43883da64f3edb10a633fb953
--- /dev/null
+++ b/net/dns/host_resolver.mojom
@@ -0,0 +1,30 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module net.dns;
+
+struct RequestInfo {
+ string host_port_pair;
+ int32 address_family;
+ // ...
+};
+
+struct AddressList {
+ // Also send the port?
+ array<array<uint8>> addresses;
+ string canonical_name;
+};
+
+interface Resolver {
+ Resolve(RequestInfo request_info, ResolveRequestClient client);
+};
+
+interface ResolverClient {
+};
+
+interface ResolveRequestClient {
+ ReportResult(AddressList result);
+ ReportError(int32 error);
+ // AppendLog(???);
+};
« no previous file with comments | « net/DEPS ('k') | net/dns/host_resolver_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698