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

Unified Diff: net/http/http_network_transaction_unittest.cc

Issue 2805043004: Add a GetAlternativeService method to HttpStream to return any (Closed)
Patch Set: 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/http/http_network_transaction_unittest.cc
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index 0314f626563089e0fc4e552cfc3de7c3254735ed..033680bb1d951ed90dde99ee363785d7fd6829b5 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -14969,6 +14969,12 @@ class FakeStream : public HttpStream,
return false;
}
+ bool GetAlternativeService(
+ AlternativeService* alternative_service) const override {
+ ADD_FAILURE();
+ return false;
+ }
+
void GetSSLInfo(SSLInfo* ssl_info) override { ADD_FAILURE(); }
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {
@@ -15215,6 +15221,12 @@ class FakeWebSocketBasicHandshakeStream : public WebSocketHandshakeStreamBase {
return false;
}
+ bool GetAlternativeService(
+ AlternativeService* alternative_service) const override {
+ ADD_FAILURE();
+ return false;
+ }
+
void GetSSLInfo(SSLInfo* ssl_info) override {}
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {

Powered by Google App Engine
This is Rietveld 408576698