Index: net/proxy/proxy_resolver_winhttp.cc |
diff --git a/net/proxy/proxy_resolver_winhttp.cc b/net/proxy/proxy_resolver_winhttp.cc |
index a2b50d222269b6e6129ccde8cd9c004eb85d36df..7dccbf0b93c8f3d475be63c4d1a090ced649a87f 100644 |
--- a/net/proxy/proxy_resolver_winhttp.cc |
+++ b/net/proxy/proxy_resolver_winhttp.cc |
@@ -62,8 +62,11 @@ |
int GetProxyForURL(const GURL& url, |
ProxyInfo* results, |
const CompletionCallback& /*callback*/, |
- scoped_ptr<Request>* /*request*/, |
+ RequestHandle* /*request*/, |
const BoundNetLog& /*net_log*/) override; |
+ void CancelRequest(RequestHandle request) override; |
+ |
+ LoadState GetLoadState(RequestHandle request) const override; |
private: |
bool OpenWinHttpSession(); |
@@ -92,7 +95,7 @@ |
int ProxyResolverWinHttp::GetProxyForURL(const GURL& query_url, |
ProxyInfo* results, |
const CompletionCallback& /*callback*/, |
- scoped_ptr<Request>* /*request*/, |
+ RequestHandle* /*request*/, |
const BoundNetLog& /*net_log*/) { |
// If we don't have a WinHTTP session, then create a new one. |
if (!session_handle_ && !OpenWinHttpSession()) |
@@ -172,6 +175,16 @@ |
return rv; |
} |
+void ProxyResolverWinHttp::CancelRequest(RequestHandle request) { |
+ // This is a synchronous ProxyResolver; no possibility for async requests. |
+ NOTREACHED(); |
+} |
+ |
+LoadState ProxyResolverWinHttp::GetLoadState(RequestHandle request) const { |
+ NOTREACHED(); |
+ return LOAD_STATE_IDLE; |
+} |
+ |
bool ProxyResolverWinHttp::OpenWinHttpSession() { |
DCHECK(!session_handle_); |
session_handle_ = WinHttpOpen(NULL, |