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

Unified Diff: net/proxy/mock_proxy_script_fetcher.h

Issue 2845643003: Allow ProxyService to share URLRequestContext with everything else. (Closed)
Patch Set: Fix test Created 3 years, 8 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
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 458f477337bb11de3e243fb7652412b585b94c4a..8cf6cd5b2533aeeddc344953c617209782301d3a 100644
--- a/net/proxy/mock_proxy_script_fetcher.h
+++ b/net/proxy/mock_proxy_script_fetcher.h
@@ -27,6 +27,7 @@ class MockProxyScriptFetcher : public ProxyScriptFetcher {
base::string16* text,
const CompletionCallback& callback) override;
void Cancel() override;
+ void OnShutdown() override;
URLRequestContext* GetRequestContext() const override;
void NotifyFetchCompletion(int result, const std::string& ascii_text);
@@ -41,6 +42,7 @@ class MockProxyScriptFetcher : public ProxyScriptFetcher {
CompletionCallback pending_request_callback_;
base::string16* pending_request_text_;
bool waiting_for_fetch_;
+ bool is_shutdown_;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698