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

Unified Diff: extensions/browser/api/dns/dns_api.h

Issue 2116983002: Change HostResolver::Resolve() to take an std::unique_ptr<Request>* rather than a RequestHandle* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: http_stream_factory_impl_job_controller_unittest RequestHandle* to unique_ptr Created 4 years, 5 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: extensions/browser/api/dns/dns_api.h
diff --git a/extensions/browser/api/dns/dns_api.h b/extensions/browser/api/dns/dns_api.h
index ca82c86b07601069fc1e0f2b7fd8ab98a0b1aeda..f77a14f8d99845682c9ebb8e8d240021b4b2ab95 100644
--- a/extensions/browser/api/dns/dns_api.h
+++ b/extensions/browser/api/dns/dns_api.h
@@ -43,7 +43,7 @@ class DnsResolveFunction : public AsyncExtensionFunction {
bool response_; // The value sent in SendResponse().
- std::unique_ptr<net::HostResolver::RequestHandle> request_handle_;
+ std::unique_ptr<net::HostResolver::Request> request_;
std::unique_ptr<net::AddressList> addresses_;
};

Powered by Google App Engine
This is Rietveld 408576698