| 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_WINHTTP_H_ | 5 #ifndef NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ |
| 6 #define NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ | 6 #define NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "googleurl/src/gurl.h" | |
| 10 #include "net/proxy/proxy_resolver.h" | 9 #include "net/proxy/proxy_resolver.h" |
| 10 #include "url/gurl.h" |
| 11 | 11 |
| 12 typedef void* HINTERNET; // From winhttp.h | 12 typedef void* HINTERNET; // From winhttp.h |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 // An implementation of ProxyResolver that uses WinHTTP and the system | 16 // An implementation of ProxyResolver that uses WinHTTP and the system |
| 17 // proxy settings. | 17 // proxy settings. |
| 18 class NET_EXPORT_PRIVATE ProxyResolverWinHttp : public ProxyResolver { | 18 class NET_EXPORT_PRIVATE ProxyResolverWinHttp : public ProxyResolver { |
| 19 public: | 19 public: |
| 20 ProxyResolverWinHttp(); | 20 ProxyResolverWinHttp(); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 44 HINTERNET session_handle_; | 44 HINTERNET session_handle_; |
| 45 | 45 |
| 46 GURL pac_url_; | 46 GURL pac_url_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(ProxyResolverWinHttp); | 48 DISALLOW_COPY_AND_ASSIGN(ProxyResolverWinHttp); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace net | 51 } // namespace net |
| 52 | 52 |
| 53 #endif // NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ | 53 #endif // NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ |
| OLD | NEW |