diff options
Diffstat (limited to 'net/proxy/dhcp_proxy_script_fetcher_win.h')
-rw-r--r-- | net/proxy/dhcp_proxy_script_fetcher_win.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/proxy/dhcp_proxy_script_fetcher_win.h b/net/proxy/dhcp_proxy_script_fetcher_win.h index 0d7dc3e..ce6c7dc 100644 --- a/net/proxy/dhcp_proxy_script_fetcher_win.h +++ b/net/proxy/dhcp_proxy_script_fetcher_win.h @@ -35,7 +35,8 @@ class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin virtual ~DhcpProxyScriptFetcherWin(); // DhcpProxyScriptFetcher implementation. - int Fetch(string16* utf16_text, OldCompletionCallback* callback) OVERRIDE; + int Fetch(string16* utf16_text, + const net::CompletionCallback& callback) OVERRIDE; void Cancel() OVERRIDE; const GURL& GetPacURL() const OVERRIDE; std::string GetFetcherName() const OVERRIDE; @@ -138,14 +139,11 @@ class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin typedef ScopedVector<DhcpProxyScriptAdapterFetcher> FetcherVector; FetcherVector fetchers_; - // Callback invoked when any fetcher completes. - OldCompletionCallbackImpl<DhcpProxyScriptFetcherWin> fetcher_callback_; - // Number of fetchers we are waiting for. int num_pending_fetchers_; // Lets our client know we're done. Not valid in states START or DONE. - OldCompletionCallback* client_callback_; + net::CompletionCallback callback_; // Pointer to string we will write results to. Not valid in states // START and DONE. |