Index: net/http/http_auth_handler_negotiate_parse.h |
diff --git a/net/http/http_auth_handler_negotiate_parse.h b/net/http/http_auth_handler_negotiate_parse.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8fa6c3511abd3b8f6fd49a64d63a1e358a9890f4 |
--- /dev/null |
+++ b/net/http/http_auth_handler_negotiate_parse.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_ |
+#define NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_ |
+ |
+#include <string> |
+ |
+#include "net/base/net_export.h" |
+#include "net/http/http_auth.h" |
+ |
+namespace net { |
+ |
+class HttpAuthChallengeTokenizer; |
+ |
+NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseFirstNegotiateChallenge( |
+ std::string scheme, |
+ HttpAuthChallengeTokenizer* challenge); |
+ |
+NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseAnotherNegotiateChallenge( |
+ std::string scheme, |
+ HttpAuthChallengeTokenizer* challenge, |
+ std::string* encoded_token, |
+ std::string* decoded_token); |
+ |
+} // namespace net |
+ |
+#endif // NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_ |