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

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

Issue 165430: Reference count ProxyService.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Sync Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/resolve_proxy_msg_helper_unittest.cc ('k') | net/http/http_network_layer.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_LAYER_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_LAYER_H_
6 #define NET_HTTP_HTTP_NETWORK_LAYER_H_ 6 #define NET_HTTP_HTTP_NETWORK_LAYER_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "net/http/http_transaction_factory.h" 10 #include "net/http/http_transaction_factory.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual HttpTransaction* CreateTransaction(); 44 virtual HttpTransaction* CreateTransaction();
45 virtual HttpCache* GetCache(); 45 virtual HttpCache* GetCache();
46 virtual void Suspend(bool suspend); 46 virtual void Suspend(bool suspend);
47 47
48 HttpNetworkSession* GetSession(); 48 HttpNetworkSession* GetSession();
49 49
50 private: 50 private:
51 // The factory we will use to create network sockets. 51 // The factory we will use to create network sockets.
52 ClientSocketFactory* socket_factory_; 52 ClientSocketFactory* socket_factory_;
53 53
54 // The host resolver being used for the session. 54 // The host resolver and proxy service that will used when lazily
55 // creating |session_|.
55 scoped_refptr<HostResolver> host_resolver_; 56 scoped_refptr<HostResolver> host_resolver_;
56 57 scoped_refptr<ProxyService> proxy_service_;
57 // The proxy service being used for the session.
58 ProxyService* proxy_service_;
59 58
60 scoped_refptr<HttpNetworkSession> session_; 59 scoped_refptr<HttpNetworkSession> session_;
61 bool suspended_; 60 bool suspended_;
62 }; 61 };
63 62
64 } // namespace net 63 } // namespace net
65 64
66 #endif // NET_HTTP_HTTP_NETWORK_LAYER_H_ 65 #endif // NET_HTTP_HTTP_NETWORK_LAYER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/resolve_proxy_msg_helper_unittest.cc ('k') | net/http/http_network_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698