features.h 558 B

12345678910111213141516171819202122
  1. // Copyright 2021 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. #ifndef SANDBOX_FEATURES_H_
  5. #define SANDBOX_FEATURES_H_
  6. #include "build/build_config.h"
  7. #if BUILDFLAG(IS_WIN)
  8. #include "base/win/windows_version.h"
  9. #endif
  10. namespace sandbox::features {
  11. #if BUILDFLAG(IS_WIN)
  12. // Returns whether the App Container Sandbox is supported by the current
  13. // Windows platform.
  14. bool IsAppContainerSandboxSupported();
  15. #endif
  16. } // namespace sandbox::features
  17. #endif