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 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/mac/foundation_util.h" | 10 #include "base/mac/foundation_util.h" |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 189 |
190 void ProxyResolverMac::CancelRequest(RequestHandle request) { | 190 void ProxyResolverMac::CancelRequest(RequestHandle request) { |
191 NOTREACHED(); | 191 NOTREACHED(); |
192 } | 192 } |
193 | 193 |
194 LoadState ProxyResolverMac::GetLoadState(RequestHandle request) const { | 194 LoadState ProxyResolverMac::GetLoadState(RequestHandle request) const { |
195 NOTREACHED(); | 195 NOTREACHED(); |
196 return LOAD_STATE_IDLE; | 196 return LOAD_STATE_IDLE; |
197 } | 197 } |
198 | 198 |
199 LoadState ProxyResolverMac::GetLoadStateThreadSafe( | |
200 RequestHandle request) const { | |
201 return LOAD_STATE_IDLE; | |
202 } | |
203 | |
204 void ProxyResolverMac::CancelSetPacScript() { | 199 void ProxyResolverMac::CancelSetPacScript() { |
205 NOTREACHED(); | 200 NOTREACHED(); |
206 } | 201 } |
207 | 202 |
208 int ProxyResolverMac::SetPacScript( | 203 int ProxyResolverMac::SetPacScript( |
209 const scoped_refptr<ProxyResolverScriptData>& script_data, | 204 const scoped_refptr<ProxyResolverScriptData>& script_data, |
210 const CompletionCallback& /*callback*/) { | 205 const CompletionCallback& /*callback*/) { |
211 script_data_ = script_data; | 206 script_data_ = script_data; |
212 return OK; | 207 return OK; |
213 } | 208 } |
214 | 209 |
215 } // namespace net | 210 } // namespace net |
OLD | NEW |