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

Unified Diff: base/rand_util.h

Issue 10446043: Cleanup: Remove the C version of GetUrandomFD() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base.gypi ('k') | base/rand_util_c.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « base/base.gypi ('k') | base/rand_util_c.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698