Index: net/proxy/proxy_service.h |
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h |
index c4e0fea72b034e3d0c25c12fe01bec8bd00e13c6..e26e3f7c79d9e5c3e4ad372f2ca649bf0bd25213 100644 |
--- a/net/proxy/proxy_service.h |
+++ b/net/proxy/proxy_service.h |
@@ -354,6 +354,9 @@ class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, |
// Removes |req| from the list of pending requests. |
void RemovePendingRequest(PacRequest* req); |
+ // Returns the number of pending requests. |
+ size_t NumPendingRequests() const; |
+ |
// Called when proxy resolution has completed (either synchronously or |
// asynchronously). Handles logging the result, and cleaning out |
// bad entries from the results list. |