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

Unified Diff: net/quic/quic_crypto_server_stream.cc

Issue 2158263003: Landing Recent QUIC changes until 7/18/2016 11:21:53 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Running flag flipping script and rebase to master Created 4 years, 5 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_connection.cc ('k') | net/quic/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_server_stream.cc
diff --git a/net/quic/quic_crypto_server_stream.cc b/net/quic/quic_crypto_server_stream.cc
index d222fe30ba16d6243ab55ddf440a1071e0dd31a3..a2f1a0d22260eb4e1bf788d49bc9a086f20c9ef0 100644
--- a/net/quic/quic_crypto_server_stream.cc
+++ b/net/quic/quic_crypto_server_stream.cc
@@ -481,13 +481,11 @@ void QuicCryptoServerStream::ValidateCallback::RunImpl(
QuicConnectionId QuicCryptoServerStream::GenerateConnectionIdForReject(
QuicConnectionId connection_id) {
- // TODO(rch): Remove this method when this flag is removed.
- if (FLAGS_quic_dispatcher_creates_id) {
- QuicServerSessionBase* session_base =
- static_cast<QuicServerSessionBase*>(session());
- return session_base->GenerateConnectionIdForReject(connection_id);
- }
- return session()->connection()->random_generator()->RandUint64();
+ // TODO(rch): Remove this method when
+ // reloadable_flag_quic_dispatcher_creates_id2 is removed.
+ QuicServerSessionBase* session_base =
+ static_cast<QuicServerSessionBase*>(session());
+ return session_base->GenerateConnectionIdForReject(connection_id);
}
} // namespace net
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698