summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler_basic_unittest.cc
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 15:07:38 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 15:07:38 +0000
commitac5c06ec27c40539d4b8c3892def9400af2e3852 (patch)
tree28510fded7167f6d83dbd620c39ec62ee70a01bc /net/http/http_auth_handler_basic_unittest.cc
parent1dc475f2470ea831f31e8d553eea0e4e3d1216cb (diff)
downloadchromium_src-ac5c06ec27c40539d4b8c3892def9400af2e3852.zip
chromium_src-ac5c06ec27c40539d4b8c3892def9400af2e3852.tar.gz
chromium_src-ac5c06ec27c40539d4b8c3892def9400af2e3852.tar.bz2
HttpAuthHandlers hold onto a bound net log.
Although this doesn't have a behavioral impact in this CL, it is needed for additional logging which I'd like to add. BUG=34737 TEST=net_unittests Review URL: http://codereview.chromium.org/2288001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_basic_unittest.cc')
-rw-r--r--net/http/http_auth_handler_basic_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_auth_handler_basic_unittest.cc b/net/http/http_auth_handler_basic_unittest.cc
index ee79d15..6e4599b 100644
--- a/net/http/http_auth_handler_basic_unittest.cc
+++ b/net/http/http_auth_handler_basic_unittest.cc
@@ -30,7 +30,7 @@ TEST(HttpAuthHandlerBasicTest, GenerateAuthToken) {
std::string challenge = "Basic realm=\"Atlantis\"";
scoped_refptr<HttpAuthHandler> basic = new HttpAuthHandlerBasic;
EXPECT_EQ(OK, factory.CreateAuthHandlerFromString(
- challenge, HttpAuth::AUTH_SERVER, origin, &basic));
+ challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(), &basic));
std::string credentials;
int rv = basic->GenerateAuthToken(tests[i].username,
tests[i].password,
@@ -69,7 +69,7 @@ TEST(HttpAuthHandlerBasicTest, InitFromChallenge) {
std::string challenge = tests[i].challenge;
scoped_refptr<HttpAuthHandler> basic = new HttpAuthHandlerBasic;
int rv = factory.CreateAuthHandlerFromString(
- challenge, HttpAuth::AUTH_SERVER, origin, &basic);
+ challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(), &basic);
EXPECT_EQ(tests[i].expected_rv, rv);
if (rv == OK)
EXPECT_EQ(tests[i].expected_realm, basic->realm());