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

Unified Diff: net/proxy/proxy_resolver.h

Issue 8985012: base::Bind: Convert net/proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add bind includes. Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: net/proxy/proxy_resolver.h
diff --git a/net/proxy/proxy_resolver.h b/net/proxy/proxy_resolver.h
index 3bdfd28e49f962d255a75b52922deee27025ae7e..17745588e00e1d82228c70f7f8ead694bdfb9fba 100644
--- a/net/proxy/proxy_resolver.h
+++ b/net/proxy/proxy_resolver.h
@@ -43,7 +43,7 @@ class NET_EXPORT_PRIVATE ProxyResolver {
// |*request| is written to, and can be passed to CancelRequest().
virtual int GetProxyForURL(const GURL& url,
ProxyInfo* results,
- OldCompletionCallback* callback,
+ const net::CompletionCallback& callback,
RequestHandle* request,
const BoundNetLog& net_log) = 0;
@@ -74,7 +74,7 @@ class NET_EXPORT_PRIVATE ProxyResolver {
// the result through |callback|.
virtual int SetPacScript(
const scoped_refptr<ProxyResolverScriptData>& pac_script,
- OldCompletionCallback* callback) = 0;
+ const net::CompletionCallback& callback) = 0;
// Optional shutdown code to be run before destruction. This is only used
// by the multithreaded runner to signal cleanup from origin thread

Powered by Google App Engine
This is Rietveld 408576698