summaryrefslogtreecommitdiffstats
path: root/base/rand_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/rand_util.h')
-rw-r--r--base/rand_util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/base/rand_util.h b/base/rand_util.h
index 8d795a3..82e548b 100644
--- a/base/rand_util.h
+++ b/base/rand_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -43,6 +43,10 @@ BASE_EXPORT void RandBytes(void* output, size_t output_length);
// Note that this is a variation of |RandBytes| with a different return type.
BASE_EXPORT std::string RandBytesAsString(size_t length);
+#ifdef OS_POSIX
+BASE_EXPORT int GetUrandomFD();
+#endif
+
} // namespace base
#endif // BASE_RAND_UTIL_H_