Index: base/rand_util.h |
diff --git a/base/rand_util.h b/base/rand_util.h |
index 8d795a3393013c7b2c19896426f1c308d92d3f6c..82e548b82923d45d0c805be920981528e0c60887 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_ |