Home | History | Annotate | Download | only in nonsfi
      1 // Copyright 2014 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef COMPONENTS_NACL_LOADER_NONSFI_IRT_RANDOM_H_
      6 #define COMPONENTS_NACL_LOADER_NONSFI_IRT_RANDOM_H_
      7 
      8 namespace nacl {
      9 namespace nonsfi {
     10 
     11 // Set FD for urandom for use, needs to be initialized once at
     12 // startup. Relies on the caller to clean up the FD, which is the case
     13 // when using base::GetUrandomFD().
     14 void SetUrandomFd(int fd);
     15 
     16 }  // namespace nonsfi
     17 }  // namespace nacl
     18 
     19 #endif  // COMPONENTS_NACL_LOADER_NONSFI_IRT_RANDOM_H_
     20