| 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 #include "net/proxy/proxy_resolver_mac.h" | 5 #include "net/proxy/proxy_resolver_mac.h" |
| 6 | 6 |
| 7 #include <CoreFoundation/CoreFoundation.h> | 7 #include <CoreFoundation/CoreFoundation.h> |
| 8 #include <CoreServices/CoreServices.h> | 8 #include <CoreServices/CoreServices.h> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 results->UseNamedProxy(proxy_uri_list); | 180 results->UseNamedProxy(proxy_uri_list); |
| 181 // Else do nothing (results is already guaranteed to be in the default state). | 181 // Else do nothing (results is already guaranteed to be in the default state). |
| 182 | 182 |
| 183 return OK; | 183 return OK; |
| 184 } | 184 } |
| 185 | 185 |
| 186 void ProxyResolverMac::CancelRequest(RequestHandle request) { | 186 void ProxyResolverMac::CancelRequest(RequestHandle request) { |
| 187 NOTREACHED(); | 187 NOTREACHED(); |
| 188 } | 188 } |
| 189 | 189 |
| 190 LoadState ProxyResolverMac::GetLoadState(RequestHandle request) const { |
| 191 NOTREACHED(); |
| 192 return LOAD_STATE_IDLE; |
| 193 } |
| 194 |
| 195 LoadState ProxyResolverMac::GetLoadStateThreadSafe( |
| 196 RequestHandle request) const { |
| 197 return LOAD_STATE_IDLE; |
| 198 } |
| 199 |
| 190 void ProxyResolverMac::CancelSetPacScript() { | 200 void ProxyResolverMac::CancelSetPacScript() { |
| 191 NOTREACHED(); | 201 NOTREACHED(); |
| 192 } | 202 } |
| 193 | 203 |
| 194 int ProxyResolverMac::SetPacScript( | 204 int ProxyResolverMac::SetPacScript( |
| 195 const scoped_refptr<ProxyResolverScriptData>& script_data, | 205 const scoped_refptr<ProxyResolverScriptData>& script_data, |
| 196 OldCompletionCallback* /*callback*/) { | 206 OldCompletionCallback* /*callback*/) { |
| 197 script_data_ = script_data; | 207 script_data_ = script_data; |
| 198 return OK; | 208 return OK; |
| 199 } | 209 } |
| 200 | 210 |
| 201 } // namespace net | 211 } // namespace net |
| OLD | NEW |