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

Unified Diff: net/proxy/proxy_service_unittest.cc

Issue 2260623002: Race TCP connection to proxies with QUIC connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test fix Created 4 years, 4 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/http/http_stream_factory_test_util.cc ('k') | net/quic/chromium/quic_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_service_unittest.cc
diff --git a/net/proxy/proxy_service_unittest.cc b/net/proxy/proxy_service_unittest.cc
index e525ead750c72ea3616f0fbc825e6ba2d794d4c5..aacefbd6de1de96fcc282563eaf01b077225dfff 100644
--- a/net/proxy/proxy_service_unittest.cc
+++ b/net/proxy/proxy_service_unittest.cc
@@ -223,6 +223,12 @@ class TestResolveProxyDelegate : public ProxyDelegate {
bool IsTrustedSpdyProxy(const net::ProxyServer& proxy_server) override {
return true;
}
+ void GetAlternativeProxy(
+ const GURL& url,
+ const ProxyServer& resolved_proxy_server,
+ ProxyServer* alternative_proxy_server) const override {}
+ void OnAlternativeProxyBroken(
+ const ProxyServer& alternative_proxy_server) override {}
private:
bool on_resolve_proxy_called_;
@@ -260,6 +266,12 @@ class TestProxyFallbackProxyDelegate : public ProxyDelegate {
bool IsTrustedSpdyProxy(const net::ProxyServer& proxy_server) override {
return true;
}
+ void GetAlternativeProxy(
+ const GURL& url,
+ const ProxyServer& resolved_proxy_server,
+ ProxyServer* alternative_proxy_server) const override {}
+ void OnAlternativeProxyBroken(
+ const ProxyServer& alternative_proxy_server) override {}
bool on_proxy_fallback_called() const {
return on_proxy_fallback_called_;
« no previous file with comments | « net/http/http_stream_factory_test_util.cc ('k') | net/quic/chromium/quic_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698