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

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

Issue 215023002: Rename PrivateMode enum values: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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/http/http_stream_factory_impl_unittest.cc ('k') | net/quic/quic_client_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/quic_crypto_client_config_test.cc
diff --git a/net/quic/crypto/quic_crypto_client_config_test.cc b/net/quic/crypto/quic_crypto_client_config_test.cc
index 79829d81db3f8f7673cf4859500fff8e204608e8..3680b77182a7c369ae27e6c784dcc127dc048209 100644
--- a/net/quic/crypto/quic_crypto_client_config_test.cc
+++ b/net/quic/crypto/quic_crypto_client_config_test.cc
@@ -57,7 +57,7 @@ TEST(QuicCryptoClientConfigTest, InchoateChlo) {
QuicCryptoClientConfig config;
QuicCryptoNegotiatedParameters params;
CryptoHandshakeMessage msg;
- QuicSessionKey server_key("www.google.com", 80, false, kPrivacyModeDisabled);
+ QuicSessionKey server_key("www.google.com", 80, false, PRIVACY_MODE_DISABLED);
config.FillInchoateClientHello(server_key, QuicVersionMax(), &state,
&params, &msg);
@@ -75,7 +75,7 @@ TEST(QuicCryptoClientConfigTest, FillClientHello) {
string error_details;
MockRandom rand;
CryptoHandshakeMessage chlo;
- QuicSessionKey server_key("www.google.com", 80, false, kPrivacyModeDisabled);
+ QuicSessionKey server_key("www.google.com", 80, false, PRIVACY_MODE_DISABLED);
config.FillClientHello(server_key,
kConnectionId,
QuicVersionMax(),
@@ -102,7 +102,7 @@ TEST(QuicCryptoClientConfigTest, InchoateChloSecure) {
QuicCryptoClientConfig config;
QuicCryptoNegotiatedParameters params;
CryptoHandshakeMessage msg;
- QuicSessionKey server_key("www.google.com", 443, true, kPrivacyModeDisabled);
+ QuicSessionKey server_key("www.google.com", 443, true, PRIVACY_MODE_DISABLED);
config.FillInchoateClientHello(server_key, QuicVersionMax(), &state,
&params, &msg);
@@ -117,7 +117,7 @@ TEST(QuicCryptoClientConfigTest, InchoateChloSecureNoEcdsa) {
config.DisableEcdsa();
QuicCryptoNegotiatedParameters params;
CryptoHandshakeMessage msg;
- QuicSessionKey server_key("www.google.com", 443, true, kPrivacyModeDisabled);
+ QuicSessionKey server_key("www.google.com", 443, true, PRIVACY_MODE_DISABLED);
config.FillInchoateClientHello(server_key, QuicVersionMax(), &state,
&params, &msg);
@@ -154,14 +154,14 @@ TEST(QuicCryptoClientConfigTest, ProcessServerDowngradeAttack) {
TEST(QuicCryptoClientConfigTest, InitializeFrom) {
QuicCryptoClientConfig config;
QuicSessionKey canonical_key1("www.google.com", 80, false,
- kPrivacyModeDisabled);
+ PRIVACY_MODE_DISABLED);
QuicCryptoClientConfig::CachedState* state =
config.LookupOrCreate(canonical_key1);
// TODO(rch): Populate other fields of |state|.
state->set_source_address_token("TOKEN");
state->SetProofValid();
- QuicSessionKey other_key("mail.google.com", 80, false, kPrivacyModeDisabled);
+ QuicSessionKey other_key("mail.google.com", 80, false, PRIVACY_MODE_DISABLED);
config.InitializeFrom(other_key, canonical_key1, &config);
QuicCryptoClientConfig::CachedState* other = config.LookupOrCreate(other_key);
« no previous file with comments | « net/http/http_stream_factory_impl_unittest.cc ('k') | net/quic/quic_client_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698