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

Side by Side Diff: net/quic/crypto/quic_random.cc

Issue 14816006: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_PRIVATE_EXPORT to QuicWallTime Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/quic/crypto/quic_encrypter.cc ('k') | net/quic/crypto/scoped_evp_cipher_ctx.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/crypto/quic_random.h" 5 #include "net/quic/crypto/quic_random.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "crypto/random.h" 9 #include "crypto/random.h"
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void DefaultRandom::Reseed(const void* additional_entropy, size_t entropy_len) { 54 void DefaultRandom::Reseed(const void* additional_entropy, size_t entropy_len) {
55 // No such function exists in crypto/random.h. 55 // No such function exists in crypto/random.h.
56 } 56 }
57 57
58 DefaultRandom::DefaultRandom() { 58 DefaultRandom::DefaultRandom() {
59 } 59 }
60 60
61 } // namespace 61 } // namespace
62 62
63 // static 63 // static
64 QuicRandom* QuicRandom::GetInstance() { 64 QuicRandom* QuicRandom::GetInstance() { return DefaultRandom::GetInstance(); }
65 return DefaultRandom::GetInstance();
66 }
67 65
68 } // namespace net 66 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/quic_encrypter.cc ('k') | net/quic/crypto/scoped_evp_cipher_ctx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698