summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/crypto_impl.h
blob: a959bc9b0c6f8927bf5a1c7d7d12817de0b7707a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 ppapi {

class CryptoImpl {
 public:
  static void GetRandomBytes(char* buffer, uint32_t num_bytes);
};

}  // namespace ppapi

#endif  // PPAPI_SHARED_IMPL_CRYPTO_IMPL_H_