blob: e26c77440e298e035e21ed2224ac288a40f51171 [file] [log] [blame]
// Copyright 2020 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 CONTENT_UTILITY_SPEECH_SPEECH_RECOGNITION_SANDBOX_HOOK_LINUX_H_
#define CONTENT_UTILITY_SPEECH_SPEECH_RECOGNITION_SANDBOX_HOOK_LINUX_H_
#include "sandbox/policy/linux/sandbox_linux.h"
namespace speech {
// Opens the libsoda.so binary and grants broker file permissions to the
// necessary files required by the binary.
bool SpeechRecognitionPreSandboxHook(
sandbox::policy::SandboxLinux::Options options);
} // namespace speech
#endif // CONTENT_UTILITY_SPEECH_SPEECH_RECOGNITION_SANDBOX_HOOK_LINUX_H_