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

Unified Diff: net/http/http_network_layer.h

Issue 7854: Defer the proxy service initialization to first time resolve is called.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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_network_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_layer.h
===================================================================
--- net/http/http_network_layer.h (revision 3703)
+++ net/http/http_network_layer.h (working copy)
@@ -6,12 +6,14 @@
#define NET_HTTP_HTTP_NETWORK_LAYER_H_
#include "base/ref_counted.h"
+#include "base/scoped_ptr.h"
#include "net/http/http_transaction_factory.h"
namespace net {
class HttpNetworkSession;
class ProxyInfo;
+class ProxyResolver;
class HttpNetworkLayer : public HttpTransactionFactory {
public:
@@ -38,6 +40,10 @@
static bool use_winhttp_;
#endif
+ // The pending proxy resolver to use when lazily creating session_.
+ // NULL afterwards.
+ scoped_ptr<ProxyResolver> proxy_resolver_;
+
scoped_refptr<HttpNetworkSession> session_;
bool suspended_;
};
« no previous file with comments | « no previous file | net/http/http_network_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698