blob: 82f2b30e132ee2a6833677750c835a0e9a0c3a7a [file] [log] [blame]
Avi Drissman4e1b7bc32022-09-15 14:03:501// Copyright 2017 The Chromium Authors
rsesek5f119852017-04-11 13:45:042// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "content/renderer/seccomp_sandbox_status_android.h"
6
Robert Sesek5fb31972017-07-12 00:21:407#include "content/public/renderer/seccomp_sandbox_status_android.h"
8
rsesek5f119852017-04-11 13:45:049namespace content {
10
Robert Sesek5fb31972017-07-12 00:21:4011static sandbox::SeccompSandboxStatus g_status =
12 sandbox::SeccompSandboxStatus::NOT_SUPPORTED;
rsesek5f119852017-04-11 13:45:0413
Robert Sesek5fb31972017-07-12 00:21:4014void SetSeccompSandboxStatus(sandbox::SeccompSandboxStatus status) {
rsesek5f119852017-04-11 13:45:0415 g_status = status;
16}
17
Robert Sesek5fb31972017-07-12 00:21:4018sandbox::SeccompSandboxStatus GetSeccompSandboxStatus() {
rsesek5f119852017-04-11 13:45:0419 return g_status;
20}
21
22} // namespace content