| 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_MAC_H_ | 5 #ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_ |
| 6 #define NET_PROXY_PROXY_RESOLVER_MAC_H_ | 6 #define NET_PROXY_PROXY_RESOLVER_MAC_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "googleurl/src/gurl.h" | 9 #include "net/base/net_errors.h" |
| 10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
| 11 #include "net/base/net_errors.h" | |
| 12 #include "net/proxy/proxy_resolver.h" | 11 #include "net/proxy/proxy_resolver.h" |
| 12 #include "url/gurl.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 // Implementation of ProxyResolver that uses the Mac CFProxySupport to implement | 16 // Implementation of ProxyResolver that uses the Mac CFProxySupport to implement |
| 17 // proxies. | 17 // proxies. |
| 18 class NET_EXPORT ProxyResolverMac : public ProxyResolver { | 18 class NET_EXPORT ProxyResolverMac : public ProxyResolver { |
| 19 public: | 19 public: |
| 20 ProxyResolverMac(); | 20 ProxyResolverMac(); |
| 21 virtual ~ProxyResolverMac(); | 21 virtual ~ProxyResolverMac(); |
| 22 | 22 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 37 const scoped_refptr<ProxyResolverScriptData>& script_data, | 37 const scoped_refptr<ProxyResolverScriptData>& script_data, |
| 38 const net::CompletionCallback& /*callback*/) OVERRIDE; | 38 const net::CompletionCallback& /*callback*/) OVERRIDE; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 scoped_refptr<ProxyResolverScriptData> script_data_; | 41 scoped_refptr<ProxyResolverScriptData> script_data_; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace net | 44 } // namespace net |
| 45 | 45 |
| 46 #endif // NET_PROXY_PROXY_RESOLVER_MAC_H_ | 46 #endif // NET_PROXY_PROXY_RESOLVER_MAC_H_ |
| OLD | NEW |