summaryrefslogtreecommitdiffstats
path: root/security/sandbox/chromium/sandbox/win/src/sandbox_rand.h
blob: f4662f9a848248b5177cf1b4e1e8b5750d3b7744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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_