summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/crypto_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/shared_impl/crypto_impl.h')
-rw-r--r--ppapi/shared_impl/crypto_impl.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ppapi/shared_impl/crypto_impl.h b/ppapi/shared_impl/crypto_impl.h
new file mode 100644
index 0000000..c3b3cd4
--- /dev/null
+++ b/ppapi/shared_impl/crypto_impl.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2011 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.
+
+#ifndef PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_
+#define PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_
+
+#include "ppapi/c/pp_bool.h"
+#include "ppapi/c/pp_stdint.h"
+
+namespace pp {
+namespace shared_impl {
+
+class CryptoImpl {
+ public:
+ static void GetRandomBytes(char* buffer, uint32_t num_bytes);
+};
+
+} // namespace shared_impl
+} // namespace pp
+
+#endif // PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_