| Index: net/proxy/mock_proxy_script_fetcher.h
|
| diff --git a/net/proxy/mock_proxy_script_fetcher.h b/net/proxy/mock_proxy_script_fetcher.h
|
| index 4e88c17f12a57820605479f887a093a24e589fed..ec337392176f98aaaaa11d825cb495d15d166e28 100644
|
| --- a/net/proxy/mock_proxy_script_fetcher.h
|
| +++ b/net/proxy/mock_proxy_script_fetcher.h
|
| @@ -34,10 +34,14 @@ class MockProxyScriptFetcher : public ProxyScriptFetcher {
|
| const GURL& pending_request_url() const;
|
| bool has_pending_request() const;
|
|
|
| + // Spins the message loop until this->Fetch() is invoked.
|
| + void WaitUntilFetch();
|
| +
|
| private:
|
| GURL pending_request_url_;
|
| CompletionCallback pending_request_callback_;
|
| string16* pending_request_text_;
|
| + bool waiting_for_fetch_;
|
| };
|
|
|
| } // namespace net
|
|
|