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

Unified Diff: net/http/http_basic_state.h

Issue 2255883002: Pass ClientSocketHandle ownership around in unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | net/http/http_basic_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_basic_state.h
diff --git a/net/http/http_basic_state.h b/net/http/http_basic_state.h
index b21548040f96be8d90738578483b07cbb6d29769..d9d66f6ffc99ad632c26391e412f560b348d5b8c 100644
--- a/net/http/http_basic_state.h
+++ b/net/http/http_basic_state.h
@@ -27,7 +27,8 @@ struct HttpRequestInfo;
class NET_EXPORT_PRIVATE HttpBasicState {
public:
- HttpBasicState(ClientSocketHandle* connection, bool using_proxy);
+ HttpBasicState(std::unique_ptr<ClientSocketHandle> connection,
+ bool using_proxy);
~HttpBasicState();
// Initialize() must be called before using any of the other methods.
« no previous file with comments | « no previous file | net/http/http_basic_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698