| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 // ProxyResolver methods: | 24 // ProxyResolver methods: |
| 25 virtual int GetProxyForURL(const GURL& url, | 25 virtual int GetProxyForURL(const GURL& url, |
| 26 ProxyInfo* results, | 26 ProxyInfo* results, |
| 27 OldCompletionCallback* callback, | 27 OldCompletionCallback* callback, |
| 28 RequestHandle* request, | 28 RequestHandle* request, |
| 29 const BoundNetLog& net_log) OVERRIDE; | 29 const BoundNetLog& net_log) OVERRIDE; |
| 30 | 30 |
| 31 virtual void CancelRequest(RequestHandle request) OVERRIDE; | 31 virtual void CancelRequest(RequestHandle request) OVERRIDE; |
| 32 | 32 |
| 33 virtual LoadState GetLoadState(RequestHandle request) const OVERRIDE; |
| 34 |
| 35 virtual LoadState GetLoadStateThreadSafe( |
| 36 RequestHandle request) const OVERRIDE; |
| 37 |
| 33 virtual void CancelSetPacScript() OVERRIDE; | 38 virtual void CancelSetPacScript() OVERRIDE; |
| 34 | 39 |
| 35 virtual int SetPacScript( | 40 virtual int SetPacScript( |
| 36 const scoped_refptr<ProxyResolverScriptData>& script_data, | 41 const scoped_refptr<ProxyResolverScriptData>& script_data, |
| 37 OldCompletionCallback* /*callback*/) OVERRIDE; | 42 OldCompletionCallback* /*callback*/) OVERRIDE; |
| 38 | 43 |
| 39 private: | 44 private: |
| 40 scoped_refptr<ProxyResolverScriptData> script_data_; | 45 scoped_refptr<ProxyResolverScriptData> script_data_; |
| 41 }; | 46 }; |
| 42 | 47 |
| 43 } // namespace net | 48 } // namespace net |
| 44 | 49 |
| 45 #endif // NET_PROXY_PROXY_RESOLVER_MAC_H_ | 50 #endif // NET_PROXY_PROXY_RESOLVER_MAC_H_ |
| OLD | NEW |