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

Unified Diff: net/tools/quic/quic_client_session_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/tools/quic/quic_client_bin.cc ('k') | net/tools/quic/quic_client_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client_session_test.cc
diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc
index 7a42fadd1701889241930ee6b7ffc9290701a2d4..fc3748e9ff25ab85e8ca3c65dab788b7e8ae66fb 100644
--- a/net/tools/quic/quic_client_session_test.cc
+++ b/net/tools/quic/quic_client_session_test.cc
@@ -37,20 +37,22 @@ namespace tools {
namespace test {
namespace {
-const char kServerHostname[] = "www.example.org";
+const char kServerHostname[] = "test.example.com";
const uint16 kPort = 80;
class ToolsQuicClientSessionTest
: public ::testing::TestWithParam<QuicVersion> {
protected:
ToolsQuicClientSessionTest()
- : connection_(new PacketSavingConnection(&helper_,
+ : crypto_config_(CryptoTestUtils::ProofVerifierForTesting()),
+ connection_(new PacketSavingConnection(&helper_,
Perspective::IS_CLIENT,
- SupportedVersions(GetParam()))) {
- session_.reset(new QuicClientSession(
- DefaultQuicConfig(), connection_,
- QuicServerId(kServerHostname, kPort, false, PRIVACY_MODE_DISABLED),
- &crypto_config_));
+ SupportedVersions(GetParam()))),
+ session_(new QuicClientSession(
+ DefaultQuicConfig(),
+ connection_,
+ QuicServerId(kServerHostname, kPort, PRIVACY_MODE_DISABLED),
+ &crypto_config_)) {
session_->Initialize();
// Advance the time, because timers do not like uninitialized times.
connection_->AdvanceTime(QuicTime::Delta::FromSeconds(1));
« no previous file with comments | « net/tools/quic/quic_client_bin.cc ('k') | net/tools/quic/quic_client_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698