summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler.h
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 17:50:21 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 17:50:21 +0000
commit7775c7d343d2f5a7e4542fc17db1e6ca62871a42 (patch)
tree85a0d4d21dce6be1de8286a7d5cbde8696b08d04 /net/http/http_auth_handler.h
parentd1589966f18d4c14334f8997fbb605891e2bea94 (diff)
downloadchromium_src-7775c7d343d2f5a7e4542fc17db1e6ca62871a42.zip
chromium_src-7775c7d343d2f5a7e4542fc17db1e6ca62871a42.tar.gz
chromium_src-7775c7d343d2f5a7e4542fc17db1e6ca62871a42.tar.bz2
Added NetLog support for HTTP authentication.
BUG=None TEST=net_unittests --gtest_filter="HttpAuthHandlerTest.NetLog" Review URL: http://codereview.chromium.org/2842013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50361 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler.h')
-rw-r--r--net/http/http_auth_handler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/http/http_auth_handler.h b/net/http/http_auth_handler.h
index 01d2639..787877f 100644
--- a/net/http/http_auth_handler.h
+++ b/net/http/http_auth_handler.h
@@ -22,6 +22,7 @@ struct HttpRequestInfo;
// HttpAuthHandler objects are typically created by an HttpAuthHandlerFactory.
class HttpAuthHandler {
public:
+ HttpAuthHandler();
virtual ~HttpAuthHandler() {}
// Initializes the handler using a challenge issued by a server.
@@ -174,6 +175,13 @@ class HttpAuthHandler {
int properties_;
BoundNetLog net_log_;
+
+ private:
+ void OnGenerateAuthTokenComplete(int rv);
+ void FinishGenerateAuthToken();
+
+ CompletionCallback* original_callback_;
+ CompletionCallbackImpl<HttpAuthHandler> wrapper_callback_;
};
} // namespace net