Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_ | |
|
cbentzel
2015/06/30 12:53:55
The "Negotiate" naming part of this isn't accurate
aberent
2015/07/02 21:13:36
Done.
| |
| 6 #define NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "net/base/net_export.h" | |
| 11 #include "net/http/http_auth.h" | |
| 12 | |
| 13 namespace net { | |
| 14 | |
| 15 class HttpAuthChallengeTokenizer; | |
| 16 | |
| 17 NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseFirstNegotiateChallenge( | |
| 18 std::string scheme, | |
| 19 HttpAuthChallengeTokenizer* challenge); | |
| 20 | |
| 21 NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseAnotherNegotiateChallenge( | |
| 22 std::string scheme, | |
| 23 HttpAuthChallengeTokenizer* challenge, | |
| 24 std::string* encoded_token, | |
| 25 std::string* decoded_token); | |
| 26 | |
| 27 } // namespace net | |
| 28 | |
| 29 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NEGOTIATE_PARSE_H_ | |
| OLD | NEW |