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

Unified Diff: net/quic/quic_reliable_client_stream_test.cc

Issue 1411063004: Remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enough! Created 5 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
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_reliable_client_stream_test.cc
diff --git a/net/quic/quic_reliable_client_stream_test.cc b/net/quic/quic_reliable_client_stream_test.cc
index 2dbe88f0f4acf058d89e1d78b54df435d556aef6..db5331f97329a32db2b7e38ad0419bd3c354f2a8 100644
--- a/net/quic/quic_reliable_client_stream_test.cc
+++ b/net/quic/quic_reliable_client_stream_test.cc
@@ -9,6 +9,7 @@
#include "net/quic/quic_chromium_client_session.h"
#include "net/quic/quic_utils.h"
#include "net/quic/spdy_utils.h"
+#include "net/quic/test_tools/crypto_test_utils.h"
#include "net/quic/test_tools/quic_test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gmock_mutant.h"
@@ -47,7 +48,8 @@ class QuicReliableClientStreamTest
: public ::testing::TestWithParam<QuicVersion> {
public:
QuicReliableClientStreamTest()
- : session_(new MockConnection(&helper_,
+ : crypto_config_(CryptoTestUtils::ProofVerifierForTesting()),
+ session_(new MockConnection(&helper_,
Perspective::IS_CLIENT,
SupportedVersions(GetParam()))) {
stream_ =
@@ -94,11 +96,11 @@ class QuicReliableClientStreamTest
StringPiece(buffer->data(), expected_data.length()));
}
+ QuicCryptoClientConfig crypto_config_;
testing::StrictMock<MockDelegate> delegate_;
MockHelper helper_;
MockQuicSpdySession session_;
QuicReliableClientStream* stream_;
- QuicCryptoClientConfig crypto_config_;
SpdyHeaderBlock headers_;
};
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698