OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_HTTP_HTTP_AUTH_CHALLENGE_TOKENIZER_ | 5 #ifndef NET_HTTP_HTTP_AUTH_CHALLENGE_TOKENIZER_H_ |
6 #define NET_HTTP_HTTP_AUTH_CHALLENGE_TOKENIZER_ | 6 #define NET_HTTP_HTTP_AUTH_CHALLENGE_TOKENIZER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
11 #include "net/http/http_util.h" | 11 #include "net/http/http_util.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 // Breaks up a challenge string into the the auth scheme and parameter list, | 15 // Breaks up a challenge string into the the auth scheme and parameter list, |
16 // according to RFC 2617 Sec 1.2: | 16 // according to RFC 2617 Sec 1.2: |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 std::string::const_iterator scheme_begin_; | 53 std::string::const_iterator scheme_begin_; |
54 std::string::const_iterator scheme_end_; | 54 std::string::const_iterator scheme_end_; |
55 | 55 |
56 std::string::const_iterator params_begin_; | 56 std::string::const_iterator params_begin_; |
57 std::string::const_iterator params_end_; | 57 std::string::const_iterator params_end_; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace net | 60 } // namespace net |
61 | 61 |
62 #endif // NET_HTTP_HTTP_AUTH_CHALLENGE_TOKENIZER_ | 62 #endif // NET_HTTP_HTTP_AUTH_CHALLENGE_TOKENIZER_H_ |
OLD | NEW |