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

Unified Diff: net/interfaces/host_resolver.typemap

Issue 2083463002: Replace //net TypeConverters with StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-converter-cleanup--gurl
Patch Set: rebase Created 4 years, 2 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
Index: net/interfaces/host_resolver.typemap
diff --git a/net/interfaces/host_resolver.typemap b/net/interfaces/host_resolver.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..25d0121dd3dc83c56c9f6c21757d87c2ea744a90
--- /dev/null
+++ b/net/interfaces/host_resolver.typemap
@@ -0,0 +1,18 @@
+# Copyright 2016 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.
+
+mojom = "//net/interfaces/host_resolver_service.mojom"
+public_headers = [ "//net/dns/host_resolver.h" ]
+traits_headers = [ "//net/dns/mojo_host_struct_traits.h" ]
+sources = [
+ "//net/dns/mojo_host_struct_traits.cc",
+]
+type_mappings = [
+ "net.interfaces.HostResolverRequestInfo=std::unique_ptr<net::HostResolver::RequestInfo>[move_only]",
+ "net.interfaces.AddressList=net::AddressList",
+ "net.interfaces.AddressFamily=net::AddressFamily",
+]
+public_deps = [
+ "//net",
+]

Powered by Google App Engine
This is Rietveld 408576698