Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: net/proxy/proxy_resolver_mac.cc

Issue 11885009: Improve performance of proxy resolver by tracing DNS dependencies. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: re-upload due to failure last time Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/proxy/proxy_resolver_mac.h ('k') | net/proxy/proxy_resolver_perftest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_mac.h ('k') | net/proxy/proxy_resolver_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698