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

Unified Diff: net/quic/quic_network_transaction_unittest.cc

Issue 1091283007: Rename methods and members and const variables to alternative service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change command line flag. Created 5 years, 8 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_server_properties_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_network_transaction_unittest.cc
diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc
index 0fcb77bc0752afa69541b4bb2e0484b3c1e8ad34..8ebc4ef21b73114a618131853f2eb5bcefd9cafe 100644
--- a/net/quic/quic_network_transaction_unittest.cc
+++ b/net/quic/quic_network_transaction_unittest.cc
@@ -658,7 +658,7 @@ TEST_P(QuicNetworkTransactionTest, UseAlternateProtocolProbabilityForQuic) {
// the alternate-protocol job will "win".
AddHangingNonAlternateProtocolSocketData();
- params_.alternate_protocol_probability_threshold = .25;
+ params_.alternative_service_probability_threshold = .25;
CreateSessionWithNextProtos();
SendRequestAndExpectHttpResponse("hello world");
@@ -679,7 +679,7 @@ TEST_P(QuicNetworkTransactionTest, DontUseAlternateProtocolProbabilityForQuic) {
socket_factory_.AddSocketDataProvider(&http_data);
socket_factory_.AddSocketDataProvider(&http_data);
- params_.alternate_protocol_probability_threshold = .75;
+ params_.alternative_service_probability_threshold = .75;
CreateSessionWithNextProtos();
SendRequestAndExpectHttpResponse("hello world");
@@ -701,7 +701,7 @@ TEST_P(QuicNetworkTransactionTest,
socket_factory_.AddSocketDataProvider(&http_data);
socket_factory_.AddSocketDataProvider(&http_data);
- params_.alternate_protocol_probability_threshold = .75;
+ params_.alternative_service_probability_threshold = .75;
CreateSessionWithNextProtos();
SendRequestAndExpectHttpResponse("hello world");
« no previous file with comments | « net/http/http_server_properties_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698