| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_ | 5 #ifndef PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_ |
| 6 #define PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_ | 6 #define PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_stdint.h" | 9 #include "ppapi/c/pp_stdint.h" |
| 10 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 10 | 11 |
| 11 namespace ppapi { | 12 namespace ppapi { |
| 12 | 13 |
| 13 class CryptoImpl { | 14 class PPAPI_SHARED_EXPORT CryptoImpl { |
| 14 public: | 15 public: |
| 15 static void GetRandomBytes(char* buffer, uint32_t num_bytes); | 16 static void GetRandomBytes(char* buffer, uint32_t num_bytes); |
| 16 }; | 17 }; |
| 17 | 18 |
| 18 } // namespace ppapi | 19 } // namespace ppapi |
| 19 | 20 |
| 20 #endif // PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_ | 21 #endif // PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_ |
| OLD | NEW |