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

Unified Diff: net/quic/quic_http_stream_test.cc

Issue 109323006: Pool 64 bits of entropy instead of calling OpenSSL's RNG for one bit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « net/quic/quic_framer.cc ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_http_stream_test.cc
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
index 3e58dd0a63970bb2e1303df675c430e50b69bad4..6c24fe6f90f268287f80abc4f1351a3217fa57d3 100644
--- a/net/quic/quic_http_stream_test.cc
+++ b/net/quic/quic_http_stream_test.cc
@@ -133,9 +133,11 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<bool> {
QuicHttpStreamTest()
: net_log_(BoundNetLog()),
use_closing_stream_(false),
+ random_generator_(0),
Ryan Hamilton 2013/12/12 22:43:33 Do we need 2 MockRandoms?
ramant (doing other things) 2013/12/12 22:53:47 Done.
ramant (doing other things) 2013/12/12 23:00:11 I wasn't sure when I did the merge. Tested the cod
read_buffer_(new IOBufferWithSize(4096)),
guid_(2),
framer_(QuicSupportedVersions(), QuicTime::Zero(), false),
+ random_(0),
creator_(guid_, &framer_, &random_, false) {
IPAddressNumber ip;
CHECK(ParseIPLiteralToNumber("192.0.2.33", &ip));
« no previous file with comments | « net/quic/quic_framer.cc ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698