xref: /mports/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.h
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 --- src/3rdparty/chromium/base/system/sys_info.h.orig	2025-08-15 18:30:00 UTC
2 +++ src/3rdparty/chromium/base/system/sys_info.h
3 @@ -332,6 +332,8 @@ class BASE_EXPORT SysInfo {
4    static void ResetCpuSecurityMitigationsEnabledForTesting();
5  #endif
6 
7 +  static uint64_t MaxSharedMemorySize();
8 +
9   private:
10    friend class test::ScopedAmountOfPhysicalMemoryOverride;
11    FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
12 @@ -344,7 +346,7 @@ class BASE_EXPORT SysInfo {
13    static HardwareInfo GetHardwareInfoSync();
14 
15  #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
16 -    BUILDFLAG(IS_AIX)
17 +    BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
18    static uint64_t AmountOfAvailablePhysicalMemory(
19        const SystemMemoryInfoKB& meminfo);
20  #endif
21 

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026