Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Unified Diff: net/proxy/mock_proxy_script_fetcher.h

Issue 9078003: Poll PAC scripts for content changes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix dcheck reached on bot Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/mock_proxy_resolver.h ('k') | net/proxy/mock_proxy_script_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « net/proxy/mock_proxy_resolver.h ('k') | net/proxy/mock_proxy_script_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698