diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 15:25:55 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 15:25:55 +0000 |
commit | f682ad7ed47cf3cadf5d4c9f12996bb6bd5890f2 (patch) | |
tree | 74e15da4da50e5cbb9be7d6a30f96e83f260def3 /webkit/plugins/ppapi/ppb_crypto_impl.h | |
parent | 264fda93befd14308dc1703b53c270cbe63e8dc6 (diff) | |
download | chromium_src-f682ad7ed47cf3cadf5d4c9f12996bb6bd5890f2.zip chromium_src-f682ad7ed47cf3cadf5d4c9f12996bb6bd5890f2.tar.gz chromium_src-f682ad7ed47cf3cadf5d4c9f12996bb6bd5890f2.tar.bz2 |
Add an initial crypto interface to fill a given buffer with random data. This
has the same implementation as the WebKit one on ChromeOS.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/6880053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_crypto_impl.h')
-rw-r--r-- | webkit/plugins/ppapi/ppb_crypto_impl.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/ppb_crypto_impl.h b/webkit/plugins/ppapi/ppb_crypto_impl.h new file mode 100644 index 0000000..3b3bb48 --- /dev/null +++ b/webkit/plugins/ppapi/ppb_crypto_impl.h @@ -0,0 +1,21 @@ +// 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 WEBKIT_PLUGINS_PPAPI_PPB_CRYPTO_IMPL_H_ +#define WEBKIT_PLUGINS_PPAPI_PPB_CRYPTO_IMPL_H_ + +struct PPB_Crypto_Dev; + +namespace webkit { +namespace ppapi { + +class PPB_Crypto_Impl { + public: + static const PPB_Crypto_Dev* GetInterface(); +}; + +} // namespace ppapi +} // namespace webkit + +#endif // WEBKIT_PLUGINS_PPAPI_PPB_CRYPTO_IMPL_H_ |