OLD | NEW |
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 "base/rand_util.h" | 5 #include "base/rand_util.h" |
6 | 6 |
7 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 | 9 |
10 // TODO(bbudge) Replace this with a proper system header file when NaCl | 10 // TODO(bbudge) Replace this with a proper system header file when NaCl |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } // namespace | 44 } // namespace |
45 | 45 |
46 namespace base { | 46 namespace base { |
47 | 47 |
48 uint64 RandUint64() { | 48 uint64 RandUint64() { |
49 return g_urandom_interface.Pointer()->get_random_bytes(); | 49 return g_urandom_interface.Pointer()->get_random_bytes(); |
50 } | 50 } |
51 | 51 |
52 } // namespace base | 52 } // namespace base |
53 | 53 |
OLD | NEW |