Index: net/proxy/dhcp_proxy_script_fetcher.h |
diff --git a/net/proxy/dhcp_proxy_script_fetcher.h b/net/proxy/dhcp_proxy_script_fetcher.h |
index cd98a875f9d800827fb0e9ca3ce79efa27bfa866..101ddff3a682d30ae24064a854568b4e4602162d 100644 |
--- a/net/proxy/dhcp_proxy_script_fetcher.h |
+++ b/net/proxy/dhcp_proxy_script_fetcher.h |
@@ -58,7 +58,7 @@ class NET_EXPORT_PRIVATE DhcpProxyScriptFetcher { |
// |
// Only one fetch is allowed to be outstanding at a time. |
virtual int Fetch(string16* utf16_text, |
- OldCompletionCallback* callback) = 0; |
+ const CompletionCallback& callback) = 0; |
// Aborts the in-progress fetch (if any). |
virtual void Cancel() = 0; |
@@ -87,7 +87,7 @@ class NET_EXPORT_PRIVATE DoNothingDhcpProxyScriptFetcher |
virtual ~DoNothingDhcpProxyScriptFetcher(); |
virtual int Fetch(string16* utf16_text, |
- OldCompletionCallback* callback) OVERRIDE; |
+ const CompletionCallback& callback) OVERRIDE; |
virtual void Cancel() OVERRIDE; |
virtual const GURL& GetPacURL() const OVERRIDE; |
private: |