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

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

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_js_bindings_unittest.cc ('k') | net/proxy/proxy_resolver_mac.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 #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 "googleurl/src/gurl.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 13 matching lines...) Expand all
24 virtual int GetProxyForURL(const GURL& url, 24 virtual int GetProxyForURL(const GURL& url,
25 ProxyInfo* results, 25 ProxyInfo* results,
26 const net::CompletionCallback& callback, 26 const net::CompletionCallback& callback,
27 RequestHandle* request, 27 RequestHandle* request,
28 const BoundNetLog& net_log) OVERRIDE; 28 const BoundNetLog& net_log) OVERRIDE;
29 29
30 virtual void CancelRequest(RequestHandle request) OVERRIDE; 30 virtual void CancelRequest(RequestHandle request) OVERRIDE;
31 31
32 virtual LoadState GetLoadState(RequestHandle request) const OVERRIDE; 32 virtual LoadState GetLoadState(RequestHandle request) const OVERRIDE;
33 33
34 virtual LoadState GetLoadStateThreadSafe(
35 RequestHandle request) const OVERRIDE;
36
37 virtual void CancelSetPacScript() OVERRIDE; 34 virtual void CancelSetPacScript() OVERRIDE;
38 35
39 virtual int SetPacScript( 36 virtual int SetPacScript(
40 const scoped_refptr<ProxyResolverScriptData>& script_data, 37 const scoped_refptr<ProxyResolverScriptData>& script_data,
41 const net::CompletionCallback& /*callback*/) OVERRIDE; 38 const net::CompletionCallback& /*callback*/) OVERRIDE;
42 39
43 private: 40 private:
44 scoped_refptr<ProxyResolverScriptData> script_data_; 41 scoped_refptr<ProxyResolverScriptData> script_data_;
45 }; 42 };
46 43
47 } // namespace net 44 } // namespace net
48 45
49 #endif // NET_PROXY_PROXY_RESOLVER_MAC_H_ 46 #endif // NET_PROXY_PROXY_RESOLVER_MAC_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_js_bindings_unittest.cc ('k') | net/proxy/proxy_resolver_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698