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

Unified Diff: net/quic/crypto/crypto_server_test.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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/crypto/crypto_secret_boxer.cc ('k') | net/quic/crypto/null_decrypter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/crypto_server_test.cc
diff --git a/net/quic/crypto/crypto_server_test.cc b/net/quic/crypto/crypto_server_test.cc
index bd788502a457440deb225037e8d97d551836305c..b140e23184e8fda4222139f8daf6e745c2fb867d 100644
--- a/net/quic/crypto/crypto_server_test.cc
+++ b/net/quic/crypto/crypto_server_test.cc
@@ -302,7 +302,7 @@ INSTANTIATE_TEST_CASE_P(CryptoServerTests,
::testing::ValuesIn(GetTestParams()));
TEST_P(CryptoServerTest, BadSNI) {
- static const char* kBadSNIs[] = {
+ static const char* const kBadSNIs[] = {
"",
"foo",
"#00",
@@ -368,7 +368,7 @@ TEST_P(CryptoServerTest, TooSmall) {
TEST_P(CryptoServerTest, BadSourceAddressToken) {
// Invalid source-address tokens should be ignored.
- static const char* kBadSourceAddressTokens[] = {
+ static const char* const kBadSourceAddressTokens[] = {
"",
"foo",
"#0000",
@@ -390,7 +390,7 @@ TEST_P(CryptoServerTest, BadSourceAddressToken) {
TEST_P(CryptoServerTest, BadClientNonce) {
// Invalid nonces should be ignored.
- static const char* kBadNonces[] = {
+ static const char* const kBadNonces[] = {
"",
"#0000",
"#0000000000000000000000000000000000000000",
« no previous file with comments | « net/quic/crypto/crypto_secret_boxer.cc ('k') | net/quic/crypto/null_decrypter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698