diff options
Diffstat (limited to 'net/proxy/proxy_service.h')
-rw-r--r-- | net/proxy/proxy_service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h index e37b959..f8c866c 100644 --- a/net/proxy/proxy_service.h +++ b/net/proxy/proxy_service.h @@ -14,6 +14,7 @@ #include "base/synchronization/waitable_event.h" #include "base/threading/non_thread_safe.h" #include "net/base/completion_callback.h" +#include "net/base/load_states.h" #include "net/base/net_export.h" #include "net/base/net_log.h" #include "net/base/network_change_notifier.h" @@ -105,6 +106,9 @@ class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, // Call this method with a non-null |pac_request| to cancel the PAC request. void CancelPacRequest(PacRequest* pac_request); + // Returns the LoadState for this |pac_request| which must be non-NULL. + LoadState GetLoadState(const PacRequest* pac_request) const; + // Sets the ProxyScriptFetcher and DhcpProxyScriptFetcher dependencies. This // is needed if the ProxyResolver is of type ProxyResolverWithoutFetch. // ProxyService takes ownership of both objects. |