OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_FILTER_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_FILTER_H_ |
6 #define NET_HTTP_HTTP_AUTH_FILTER_H_ | 6 #define NET_HTTP_HTTP_AUTH_FILTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/string_util.h" | |
14 #include "net/http/http_auth.h" | 13 #include "net/http/http_auth.h" |
15 #include "net/proxy/proxy_bypass_rules.h" | 14 #include "net/proxy/proxy_bypass_rules.h" |
16 | 15 |
17 class GURL; | 16 class GURL; |
18 | 17 |
19 namespace net { | 18 namespace net { |
20 | 19 |
21 // |HttpAuthFilter|s determine whether an authentication scheme should be | 20 // |HttpAuthFilter|s determine whether an authentication scheme should be |
22 // allowed for a particular peer. | 21 // allowed for a particular peer. |
23 class HttpAuthFilter { | 22 class HttpAuthFilter { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // We are using ProxyBypassRules because they have the functionality that we | 57 // We are using ProxyBypassRules because they have the functionality that we |
59 // want, but we are not using it for proxy bypass. | 58 // want, but we are not using it for proxy bypass. |
60 ProxyBypassRules rules_; | 59 ProxyBypassRules rules_; |
61 | 60 |
62 DISALLOW_COPY_AND_ASSIGN(HttpAuthFilterWhitelist); | 61 DISALLOW_COPY_AND_ASSIGN(HttpAuthFilterWhitelist); |
63 }; | 62 }; |
64 | 63 |
65 } // namespace net | 64 } // namespace net |
66 | 65 |
67 #endif // NET_HTTP_HTTP_AUTH_FILTER_H_ | 66 #endif // NET_HTTP_HTTP_AUTH_FILTER_H_ |
OLD | NEW |