summaryrefslogtreecommitdiffstats
path: root/security/sandbox/chromium/sandbox/win/src/sandbox_rand.h
blob: 7c4febcd59823930505427ecd4fdefec8f5aa699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2015 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 SANDBOX_SRC_SANDBOX_RAND_H_
#define SANDBOX_SRC_SANDBOX_RAND_H_


namespace sandbox {

// Generate a random value in |random_value|. Returns true on success.
bool GetRandom(unsigned int* random_value);

}  // namespace sandbox

#endif  // SANDBOX_SRC_SANDBOX_RAND_H_