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

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

Issue 348066: Flip: FlipSessionPool changes. (Closed)
Patch Set: Windows build fix. Created 11 years, 1 month 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
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 <string> 8 #include <string>
9 9
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "net/http/http_transaction_factory.h" 12 #include "net/http/http_transaction_factory.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class ClientSocketFactory; 16 class ClientSocketFactory;
17 class FlipSessionPool;
17 class HostResolver; 18 class HostResolver;
18 class HttpNetworkSession; 19 class HttpNetworkSession;
19 class ProxyInfo; 20 class ProxyInfo;
20 class ProxyService; 21 class ProxyService;
21 class SSLConfigService; 22 class SSLConfigService;
22 23
23 class HttpNetworkLayer : public HttpTransactionFactory { 24 class HttpNetworkLayer : public HttpTransactionFactory {
24 public: 25 public:
25 // |socket_factory|, |proxy_service| and |host_resolver| must remain valid 26 // |socket_factory|, |proxy_service| and |host_resolver| must remain valid
26 // for the lifetime of HttpNetworkLayer. 27 // for the lifetime of HttpNetworkLayer.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 67
67 // The host resolver and proxy service that will be used when lazily 68 // The host resolver and proxy service that will be used when lazily
68 // creating |session_|. 69 // creating |session_|.
69 scoped_refptr<HostResolver> host_resolver_; 70 scoped_refptr<HostResolver> host_resolver_;
70 scoped_refptr<ProxyService> proxy_service_; 71 scoped_refptr<ProxyService> proxy_service_;
71 72
72 // The SSL config service being used for the session. 73 // The SSL config service being used for the session.
73 scoped_refptr<SSLConfigService> ssl_config_service_; 74 scoped_refptr<SSLConfigService> ssl_config_service_;
74 75
75 scoped_refptr<HttpNetworkSession> session_; 76 scoped_refptr<HttpNetworkSession> session_;
77 scoped_refptr<FlipSessionPool> flip_session_pool_;
78
76 bool suspended_; 79 bool suspended_;
77 static bool enable_flip_; 80 static bool enable_flip_;
78 }; 81 };
79 82
80 } // namespace net 83 } // namespace net
81 84
82 #endif // NET_HTTP_HTTP_NETWORK_LAYER_H_ 85 #endif // NET_HTTP_HTTP_NETWORK_LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698