| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PROXY_PROXY_RESOLVER_H_ | 5 #ifndef NET_PROXY_PROXY_RESOLVER_H_ |
| 6 #define NET_PROXY_PROXY_RESOLVER_H_ | 6 #define NET_PROXY_PROXY_RESOLVER_H_ |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "googleurl/src/gurl.h" | |
| 12 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
| 13 #include "net/base/load_states.h" | 12 #include "net/base/load_states.h" |
| 14 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 15 #include "net/proxy/proxy_resolver_script_data.h" | 14 #include "net/proxy/proxy_resolver_script_data.h" |
| 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 namespace net { | 17 namespace net { |
| 18 | 18 |
| 19 class BoundNetLog; | 19 class BoundNetLog; |
| 20 class ProxyInfo; | 20 class ProxyInfo; |
| 21 | 21 |
| 22 // Interface for "proxy resolvers". A ProxyResolver fills in a list of proxies | 22 // Interface for "proxy resolvers". A ProxyResolver fills in a list of proxies |
| 23 // to use for a particular URL. Generally the backend for a ProxyResolver is | 23 // to use for a particular URL. Generally the backend for a ProxyResolver is |
| 24 // a PAC script, but it doesn't need to be. ProxyResolver can service multiple | 24 // a PAC script, but it doesn't need to be. ProxyResolver can service multiple |
| 25 // requests at a time. | 25 // requests at a time. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 const bool expects_pac_bytes_; | 76 const bool expects_pac_bytes_; |
| 77 | 77 |
| 78 DISALLOW_COPY_AND_ASSIGN(ProxyResolver); | 78 DISALLOW_COPY_AND_ASSIGN(ProxyResolver); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace net | 81 } // namespace net |
| 82 | 82 |
| 83 #endif // NET_PROXY_PROXY_RESOLVER_H_ | 83 #endif // NET_PROXY_PROXY_RESOLVER_H_ |
| OLD | NEW |