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

Unified Diff: net/proxy/proxy_service_unittest.cc

Issue 2442633002: Add a QUIC proxy server to the list of QUIC servers supported at start up (Closed)
Patch Set: Rebased, Addressed ryansturm comments Created 4 years, 2 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/proxy_service_unittest.cc
diff --git a/net/proxy/proxy_service_unittest.cc b/net/proxy/proxy_service_unittest.cc
index e0472e7b3b0f237520a4634b5c734d6596d9949f..f650878ff14ca49036ba567597b3cc45251e8e17 100644
--- a/net/proxy/proxy_service_unittest.cc
+++ b/net/proxy/proxy_service_unittest.cc
@@ -29,6 +29,7 @@
#include "net/proxy/proxy_config_service.h"
#include "net/proxy/proxy_resolver.h"
#include "net/proxy/proxy_script_fetcher.h"
+#include "net/proxy/proxy_server.h"
#include "net/test/gtest_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -230,6 +231,9 @@ class TestResolveProxyDelegate : public ProxyDelegate {
ProxyServer* alternative_proxy_server) const override {}
void OnAlternativeProxyBroken(
const ProxyServer& alternative_proxy_server) override {}
+ ProxyServer GetQuicSupportedProxyServerAtStartUp() const override {
+ return ProxyServer();
+ }
private:
bool on_resolve_proxy_called_;
@@ -273,6 +277,9 @@ class TestProxyFallbackProxyDelegate : public ProxyDelegate {
ProxyServer* alternative_proxy_server) const override {}
void OnAlternativeProxyBroken(
const ProxyServer& alternative_proxy_server) override {}
+ ProxyServer GetQuicSupportedProxyServerAtStartUp() const override {
+ return ProxyServer();
+ }
bool on_proxy_fallback_called() const {
return on_proxy_fallback_called_;

Powered by Google App Engine
This is Rietveld 408576698