diff options
Diffstat (limited to 'net/proxy/dhcp_proxy_script_fetcher_win.h')
-rw-r--r-- | net/proxy/dhcp_proxy_script_fetcher_win.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/net/proxy/dhcp_proxy_script_fetcher_win.h b/net/proxy/dhcp_proxy_script_fetcher_win.h index fc96e19..a220f56 100644 --- a/net/proxy/dhcp_proxy_script_fetcher_win.h +++ b/net/proxy/dhcp_proxy_script_fetcher_win.h @@ -44,11 +44,9 @@ class NET_TEST DhcpProxyScriptFetcherWin static bool GetCandidateAdapterNames(std::set<std::string>* adapter_names); protected: - // Event/state transition handlers - void CancelImpl(); - void OnFetcherDone(int result); - void OnWaitTimer(); - void TransitionToDone(); + int num_pending_fetchers() const; + + URLRequestContext* url_request_context() const; // Virtual methods introduced to allow unit testing. virtual DhcpProxyScriptAdapterFetcher* ImplCreateAdapterFetcher(); @@ -56,6 +54,13 @@ class NET_TEST DhcpProxyScriptFetcherWin std::set<std::string>* adapter_names); virtual int ImplGetMaxWaitMs(); + private: + // Event/state transition handlers + void CancelImpl(); + void OnFetcherDone(int result); + void OnWaitTimer(); + void TransitionToDone(); + // This is the outer state machine for fetching PAC configuration from // DHCP. It relies for sub-states on the state machine of the // DhcpProxyScriptAdapterFetcher class. @@ -117,9 +122,6 @@ class NET_TEST DhcpProxyScriptFetcherWin scoped_refptr<URLRequestContext> url_request_context_; - private: - // TODO(joi): Move other members to private as appropriate. - // Time |Fetch()| was last called, 0 if never. base::TimeTicks fetch_start_time_; |