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

Unified Diff: net/quic/quic_session_key_test.cc

Issue 211373004: Revert of Add PrivacyMode support to the QuicStreamFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/quic/quic_session_key.cc ('k') | net/quic/quic_stream_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session_key_test.cc
diff --git a/net/quic/quic_session_key_test.cc b/net/quic/quic_session_key_test.cc
index e8fd4fd57ae348d310b758bbfaae3ffbbedf5219..b07b3b7bcffc309dea61fb580c8edc4da0f22805 100644
--- a/net/quic/quic_session_key_test.cc
+++ b/net/quic/quic_session_key_test.cc
@@ -15,25 +15,13 @@
TEST(QuicSessionKeyTest, ToString) {
HostPortPair google_host_port_pair("google.com", 10);
- QuicSessionKey google_http_key(google_host_port_pair, false,
- kPrivacyModeDisabled);
+ QuicSessionKey google_http_key(google_host_port_pair, false);
string google_http_key_str = google_http_key.ToString();
EXPECT_EQ("http://google.com:10", google_http_key_str);
- QuicSessionKey google_https_key(google_host_port_pair, true,
- kPrivacyModeDisabled);
+ QuicSessionKey google_https_key(google_host_port_pair, true);
string google_https_key_str = google_https_key.ToString();
EXPECT_EQ("https://google.com:10", google_https_key_str);
-
- QuicSessionKey private_http_key(google_host_port_pair, false,
- kPrivacyModeEnabled);
- string private_http_key_str = private_http_key.ToString();
- EXPECT_EQ("http://google.com:10/private", private_http_key_str);
-
- QuicSessionKey private_https_key(google_host_port_pair, true,
- kPrivacyModeEnabled);
- string private_https_key_str = private_https_key.ToString();
- EXPECT_EQ("https://google.com:10/private", private_https_key_str);
}
} // namespace
« no previous file with comments | « net/quic/quic_session_key.cc ('k') | net/quic/quic_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698