| Index: net/proxy/proxy_service.h
|
| ===================================================================
|
| --- net/proxy/proxy_service.h (revision 37149)
|
| +++ net/proxy/proxy_service.h (working copy)
|
| @@ -217,11 +217,12 @@
|
| // Removes |req| from the list of pending requests.
|
| void RemovePendingRequest(PacRequest* req);
|
|
|
| - // Called to indicate that a PacRequest completed. The |config_id| parameter
|
| - // indicates the proxy configuration that was queried. |result_code| is OK
|
| - // if the PAC file could be downloaded and executed. Otherwise, it is an
|
| - // error code, indicating a bad proxy configuration.
|
| - void DidCompletePacRequest(int config_id, int result_code);
|
| + // Called when proxy resolution has completed (either synchronously or
|
| + // asynchronously). Handles logging the result, and cleaning out
|
| + // bad entries from the results list.
|
| + int DidFinishResolvingProxy(ProxyInfo* result,
|
| + int result_code,
|
| + LoadLog* load_log);
|
|
|
| // Returns true if the URL passed in should not go through the proxy server.
|
| // 1. If the proxy settings say to bypass local names, and |IsLocalName(url)|.
|
| @@ -248,9 +249,6 @@
|
| // Increasing ID to give to the next ProxyConfig that we set.
|
| int next_config_id_;
|
|
|
| - // Indicates that the configuration is bad and should be ignored.
|
| - bool config_is_bad_;
|
| -
|
| // Indicates whether the ProxyResolver should be sent requests.
|
| bool should_use_proxy_resolver_;
|
|
|
|
|