summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_script_fetcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_script_fetcher.h')
-rw-r--r--net/proxy/proxy_script_fetcher.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/proxy/proxy_script_fetcher.h b/net/proxy/proxy_script_fetcher.h
index cbdb911..09ac84e 100644
--- a/net/proxy/proxy_script_fetcher.h
+++ b/net/proxy/proxy_script_fetcher.h
@@ -45,6 +45,10 @@ class ProxyScriptFetcher {
// Aborts the in-progress fetch (if any).
virtual void Cancel() = 0;
+ // Returns the request context that this fetcher uses to issue downloads,
+ // or NULL.
+ virtual URLRequestContext* GetRequestContext() { return NULL; }
+
// Create a ProxyScriptFetcher that uses |url_request_context|.
static ProxyScriptFetcher* Create(URLRequestContext* url_request_context);