summaryrefslogtreecommitdiffstats
path: root/net/http/http_transaction_unittest.h
diff options
context:
space:
mode:
authorchron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 02:22:10 +0000
committerchron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 02:22:10 +0000
commit659a26023ec2ac7100e5c79c29856ef049af6ca3 (patch)
tree789d0a2e65b3b4a53d191d895e1073d8d65f8855 /net/http/http_transaction_unittest.h
parent1bb5f89e7302cc69f13148651ac6732d89965787 (diff)
downloadchromium_src-659a26023ec2ac7100e5c79c29856ef049af6ca3.zip
chromium_src-659a26023ec2ac7100e5c79c29856ef049af6ca3.tar.gz
chromium_src-659a26023ec2ac7100e5c79c29856ef049af6ca3.tar.bz2
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
Diffstat (limited to 'net/http/http_transaction_unittest.h')
-rw-r--r--net/http/http_transaction_unittest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_transaction_unittest.h b/net/http/http_transaction_unittest.h
index ab27b27..4de8efd 100644
--- a/net/http/http_transaction_unittest.h
+++ b/net/http/http_transaction_unittest.h
@@ -322,6 +322,10 @@ class MockNetworkLayer : public net::HttpTransactionFactory {
return NULL;
}
+ virtual net::HttpNetworkSession* GetSession() {
+ return NULL;
+ }
+
virtual void Suspend(bool suspend) {}
int transaction_count() const { return transaction_count_; }