Index: net/dns/mojo_host_resolver_impl.h |
diff --git a/net/dns/mojo_host_resolver_impl.h b/net/dns/mojo_host_resolver_impl.h |
index 68eb893e47cbe296675018206ecd34851f287890..8c9eb48cc446f4bbed8e83b5aefc4b61ec790007 100644 |
--- a/net/dns/mojo_host_resolver_impl.h |
+++ b/net/dns/mojo_host_resolver_impl.h |
@@ -28,7 +28,7 @@ class MojoHostResolverImpl { |
const NetLogWithSource& net_log); |
~MojoHostResolverImpl(); |
- void Resolve(interfaces::HostResolverRequestInfoPtr request_info, |
+ void Resolve(std::unique_ptr<HostResolver::RequestInfo> request_info, |
dcheng
2016/10/05 05:59:33
Out of curiosity, why pass by std::unique_ptr?
Sam McNally
2016/10/05 22:48:37
HostResolver::RequestInfo isn't default constructi
|
interfaces::HostResolverRequestClientPtr client); |
bool request_in_progress() { return !pending_jobs_.empty(); } |