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

Side by Side Diff: net/http/http_network_session.h

Issue 15829004: Update net/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: license twerk Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <set> 8 #include <set>
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const HostPortPair& socks_proxy); 114 const HostPortPair& socks_proxy);
115 HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy( 115 HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy(
116 SocketPoolType pool_type, 116 SocketPoolType pool_type,
117 const HostPortPair& http_proxy); 117 const HostPortPair& http_proxy);
118 SSLClientSocketPool* GetSocketPoolForSSLWithProxy( 118 SSLClientSocketPool* GetSocketPoolForSSLWithProxy(
119 SocketPoolType pool_type, 119 SocketPoolType pool_type,
120 const HostPortPair& proxy_server); 120 const HostPortPair& proxy_server);
121 121
122 CertVerifier* cert_verifier() { return cert_verifier_; } 122 CertVerifier* cert_verifier() { return cert_verifier_; }
123 ProxyService* proxy_service() { return proxy_service_; } 123 ProxyService* proxy_service() { return proxy_service_; }
124 SSLConfigService* ssl_config_service() { return ssl_config_service_; } 124 SSLConfigService* ssl_config_service() { return ssl_config_service_.get(); }
125 SpdySessionPool* spdy_session_pool() { return &spdy_session_pool_; } 125 SpdySessionPool* spdy_session_pool() { return &spdy_session_pool_; }
126 QuicStreamFactory* quic_stream_factory() { return &quic_stream_factory_; } 126 QuicStreamFactory* quic_stream_factory() { return &quic_stream_factory_; }
127 HttpAuthHandlerFactory* http_auth_handler_factory() { 127 HttpAuthHandlerFactory* http_auth_handler_factory() {
128 return http_auth_handler_factory_; 128 return http_auth_handler_factory_;
129 } 129 }
130 NetworkDelegate* network_delegate() { 130 NetworkDelegate* network_delegate() {
131 return network_delegate_; 131 return network_delegate_;
132 } 132 }
133 HttpServerProperties* http_server_properties() { 133 HttpServerProperties* http_server_properties() {
134 return http_server_properties_; 134 return http_server_properties_;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 SpdySessionPool spdy_session_pool_; 191 SpdySessionPool spdy_session_pool_;
192 scoped_ptr<HttpStreamFactory> http_stream_factory_; 192 scoped_ptr<HttpStreamFactory> http_stream_factory_;
193 std::set<HttpResponseBodyDrainer*> response_drainers_; 193 std::set<HttpResponseBodyDrainer*> response_drainers_;
194 194
195 Params params_; 195 Params params_;
196 }; 196 };
197 197
198 } // namespace net 198 } // namespace net
199 199
200 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 200 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698