summaryrefslogtreecommitdiff
path: root/chromium/sandbox/win/src/sandbox_rand.h
blob: 975f055cd8275059cd386c17823c25e220f953e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SANDBOX_WIN_SRC_SANDBOX_RAND_H_
#define SANDBOX_WIN_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_WIN_SRC_SANDBOX_RAND_H_