From 659a26023ec2ac7100e5c79c29856ef049af6ca3 Mon Sep 17 00:00:00 2001 From: "chron@chromium.org" Date: Tue, 6 Oct 2009 02:22:10 +0000 Subject: Initial CL for fixing some of the proxy auth issues. Auth_cache is contained in the http session. We need to share the http session with the parent profile request context in order to retain http authentication. Weirdly enough, Profile::GetDefaultRequestContext() is not the same as profile_->GetRequestContext(), It does NOT yet pop up a dialog if the user hasn't done so already. BUG=19581 TEST=Included. Review URL: http://codereview.chromium.org/241001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28086 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_network_layer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'net/http/http_network_layer.h') diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h index d73c0cd..7defb4e 100644 --- a/net/http/http_network_layer.h +++ b/net/http/http_network_layer.h @@ -47,10 +47,9 @@ class HttpNetworkLayer : public HttpTransactionFactory { // HttpTransactionFactory methods: virtual int CreateTransaction(scoped_ptr* trans); virtual HttpCache* GetCache(); + virtual HttpNetworkSession* GetSession(); virtual void Suspend(bool suspend); - HttpNetworkSession* GetSession(); - private: // The factory we will use to create network sockets. ClientSocketFactory* socket_factory_; -- cgit v1.1