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

Unified Diff: net/dns/mojo_type_converters.h

Issue 904313003: Implement utility-side host resolver Mojo client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-proxy-resolver
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/dns/host_resolver_mojo_unittest.cc ('k') | net/dns/mojo_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/mojo_type_converters.h
diff --git a/net/dns/mojo_type_converters.h b/net/dns/mojo_type_converters.h
index 0c99b8c59b10e5671045c0366273066c2e2114c9..4e17a69c21b24757aa71ac7e49f6b91e61f20201 100644
--- a/net/dns/mojo_type_converters.h
+++ b/net/dns/mojo_type_converters.h
@@ -18,6 +18,13 @@ struct TypeConverter<net::HostResolver::RequestInfo,
};
template <>
+struct TypeConverter<net::interfaces::HostResolverRequestInfoPtr,
+ net::HostResolver::RequestInfo> {
+ static net::interfaces::HostResolverRequestInfoPtr Convert(
+ const net::HostResolver::RequestInfo& obj);
+};
+
+template <>
struct TypeConverter<net::interfaces::AddressListPtr, net::AddressList> {
static net::interfaces::AddressListPtr Convert(const net::AddressList& obj);
};
« no previous file with comments | « net/dns/host_resolver_mojo_unittest.cc ('k') | net/dns/mojo_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698