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

Unified Diff: extensions/browser/api/socket/socket_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/socket/socket_api.h
diff --git a/extensions/browser/api/socket/socket_api.h b/extensions/browser/api/socket/socket_api.h
index 9a73a82d6c88ced4f9fba695fdc54fef5f784a8b..302dd5f2cab62dbcc7b7734bf6ed08c0640082ca 100644
--- a/extensions/browser/api/socket/socket_api.h
+++ b/extensions/browser/api/socket/socket_api.h
@@ -158,6 +158,8 @@ class SocketExtensionWithDnsLookupFunction : public SocketAsyncApiFunction {
net::AddressList addresses_;
+ std::unique_ptr<net::HostResolver::Request> request_;
+
private:
void OnDnsLookup(int resolve_result);

Powered by Google App Engine
This is Rietveld 408576698