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

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

Issue 13701: Use automatic memory management for URLRequestContext's members.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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_transaction_unittest.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "net/base/client_socket_pool.h" 9 #include "net/base/client_socket_pool.h"
10 #include "net/base/ssl_config_service.h" 10 #include "net/base/ssl_config_service.h"
(...skipping 20 matching lines...) Expand all
31 HttpAuthCache* auth_cache() { return &auth_cache_; } 31 HttpAuthCache* auth_cache() { return &auth_cache_; }
32 ClientSocketPool* connection_pool() { return connection_pool_; } 32 ClientSocketPool* connection_pool() { return connection_pool_; }
33 ProxyService* proxy_service() { return proxy_service_; } 33 ProxyService* proxy_service() { return proxy_service_; }
34 #if defined(OS_WIN) 34 #if defined(OS_WIN)
35 SSLConfigService* ssl_config_service() { return &ssl_config_service_; } 35 SSLConfigService* ssl_config_service() { return &ssl_config_service_; }
36 #endif 36 #endif
37 37
38 private: 38 private:
39 HttpAuthCache auth_cache_; 39 HttpAuthCache auth_cache_;
40 scoped_refptr<ClientSocketPool> connection_pool_; 40 scoped_refptr<ClientSocketPool> connection_pool_;
41 ProxyService* proxy_service_; 41 scoped_refptr<ProxyService> proxy_service_;
42 #if defined(OS_WIN) 42 #if defined(OS_WIN)
43 // TODO(port): Port the SSLConfigService class to Linux and Mac OS X. 43 // TODO(port): Port the SSLConfigService class to Linux and Mac OS X.
44 SSLConfigService ssl_config_service_; 44 SSLConfigService ssl_config_service_;
45 #endif 45 #endif
46 }; 46 };
47 47
48 } // namespace net 48 } // namespace net
49 49
50 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 50 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
51 51
OLDNEW
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698