Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / net / http / http_auth_multi_round_parse.h
blob2fb63473d1a09e3c014dc55b10beb8a5576d0745
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.
5 #ifndef NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_
6 #define NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_
8 #include <string>
10 #include "net/base/net_export.h"
11 #include "net/http/http_auth.h"
13 namespace net {
15 class HttpAuthChallengeTokenizer;
17 NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseFirstRoundChallenge(
18 const std::string& scheme,
19 HttpAuthChallengeTokenizer* challenge);
21 NET_EXPORT_PRIVATE HttpAuth::AuthorizationResult ParseLaterRoundChallenge(
22 const std::string& scheme,
23 HttpAuthChallengeTokenizer* challenge,
24 std::string* encoded_token,
25 std::string* decoded_token);
27 } // namespace net
29 #endif // NET_HTTP_HTTP_AUTH_MULTI_ROUND_PARSE_H_