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

Unified Diff: net/quic/core/quic_server_session_base_test.cc

Issue 2671333004: Convert class-full-of-statics CryptoTestUtils into a namespace (Closed)
Patch Set: Created 3 years, 10 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/core/quic_crypto_stream_test.cc ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_server_session_base_test.cc
diff --git a/net/quic/core/quic_server_session_base_test.cc b/net/quic/core/quic_server_session_base_test.cc
index 09c9c28ee5850e2de277ff145e7ee7939fc53af4..ac567722035755bd1bddd3e0f58f914f9a671f23 100644
--- a/net/quic/core/quic_server_session_base_test.cc
+++ b/net/quic/core/quic_server_session_base_test.cc
@@ -120,7 +120,7 @@ const size_t kMaxStreamsForTest = 10;
class QuicServerSessionBaseTest : public ::testing::TestWithParam<QuicVersion> {
protected:
QuicServerSessionBaseTest()
- : QuicServerSessionBaseTest(CryptoTestUtils::ProofSourceForTesting()) {}
+ : QuicServerSessionBaseTest(crypto_test_utils::ProofSourceForTesting()) {}
explicit QuicServerSessionBaseTest(std::unique_ptr<ProofSource> proof_source)
: crypto_config_(QuicCryptoServerConfig::TESTING,
@@ -609,7 +609,7 @@ TEST_P(StreamMemberLifetimeTest, Basic) {
const QuicClock* clock = helper_.GetClock();
QuicVersion version = AllSupportedVersions().front();
- CryptoHandshakeMessage chlo = CryptoTestUtils::GenerateDefaultInchoateCHLO(
+ CryptoHandshakeMessage chlo = crypto_test_utils::GenerateDefaultInchoateCHLO(
clock, version, &crypto_config_);
chlo.SetVector(kCOPT, QuicTagVector{kSREJ});
std::vector<QuicVersion> packet_version_list = {version};
« no previous file with comments | « net/quic/core/quic_crypto_stream_test.cc ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698