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

Unified Diff: net/dns/mojo_host_resolver_impl.h

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/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(); }

Powered by Google App Engine
This is Rietveld 408576698