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

Unified Diff: net/quic/quic_stream_factory.h

Issue 103343004: Change port_entropy to port_seed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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 | « no previous file | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index 6d4d413b5e63b5771b1dbba6bba173f29fdf6287..e55c83c3cbec2329aa5979bc0c03380eeb473c29 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -230,13 +230,13 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
- // Each profile will (probably) have a unique port_entropy_ value. This value
- // is used to help seed a pseudo-random number generator (PortSuggester) so
- // that we consistently (within this profile) suggest the same ephemeral port
- // when we re-connect to any given server/port. The differences between
- // profiles (probablistically) prevent two profiles from colliding in their
- // ephemeral port requests.
- uint64 port_entropy_;
+ // Each profile will (probably) have a unique port_seed_ value. This value is
+ // used to help seed a pseudo-random number generator (PortSuggester) so that
+ // we consistently (within this profile) suggest the same ephemeral port when
+ // we re-connect to any given server/port. The differences between profiles
+ // (probablistically) prevent two profiles from colliding in their ephemeral
+ // port requests.
+ uint64 port_seed_;
DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
};
« no previous file with comments | « no previous file | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698