diff options
Diffstat (limited to 'www/iridium')
366 files changed, 1667 insertions, 2502 deletions
diff --git a/www/iridium/Makefile b/www/iridium/Makefile index 5c87dc11671a..e9b029ff5b2e 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -1,6 +1,5 @@ PORTNAME= iridium -PORTVERSION= 2025.05.136.2 -PORTREVISION= 1 +PORTVERSION= 2025.06.137.3 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland diff --git a/www/iridium/distinfo b/www/iridium/distinfo index 58d0b1608e14..eeb5fc1dffe2 100644 --- a/www/iridium/distinfo +++ b/www/iridium/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1747324897 -SHA256 (iridium-browser-2025.05.136.2.tar.xz) = 49c4e1db1c81b78f83c0eb4b1e3a85daba92a01b741e857bf9d56e5fc33d0c82 -SIZE (iridium-browser-2025.05.136.2.tar.xz) = 3044410956 +TIMESTAMP = 1750319475 +SHA256 (iridium-browser-2025.06.137.3.tar.xz) = ac990fb4d0ff0c7970d5198e1a07bcd9a830b8b31b9641e87537be0292a5ffa6 +SIZE (iridium-browser-2025.06.137.3.tar.xz) = 3025197056 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (pulseaudio-16.1.tar.gz) = 2763111 diff --git a/www/iridium/files/patch-BUILD.gn b/www/iridium/files/patch-BUILD.gn index 5999930ba76c..fbf31e4e048e 100644 --- a/www/iridium/files/patch-BUILD.gn +++ b/www/iridium/files/patch-BUILD.gn @@ -1,4 +1,4 @@ ---- BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ BUILD.gn @@ -71,7 +71,7 @@ declare_args() { root_extra_deps = [] @@ -87,7 +87,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1760,7 +1768,7 @@ group("chromium_builder_perf") { +@@ -1743,7 +1751,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/iridium/files/patch-base_BUILD.gn b/www/iridium/files/patch-base_BUILD.gn index 0df8368607d4..acd4f0f3775e 100644 --- a/www/iridium/files/patch-base_BUILD.gn +++ b/www/iridium/files/patch-base_BUILD.gn @@ -1,6 +1,6 @@ ---- base/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- base/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ base/BUILD.gn -@@ -1104,11 +1104,26 @@ component("base") { +@@ -1108,11 +1108,26 @@ component("base") { # Needed for <atomic> if using newer C++ library than sysroot, except if # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. @@ -28,7 +28,7 @@ if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1128,7 +1143,7 @@ component("base") { +@@ -1132,7 +1147,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -37,7 +37,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2152,6 +2167,22 @@ component("base") { +@@ -2166,6 +2181,22 @@ component("base") { ] } @@ -60,7 +60,7 @@ # iOS if (is_ios) { sources += [ -@@ -2312,6 +2343,33 @@ component("base") { +@@ -2334,6 +2365,33 @@ component("base") { } } @@ -94,7 +94,7 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2690,7 +2748,7 @@ buildflag_header("protected_memory_buildflags") { +@@ -2729,7 +2787,7 @@ buildflag_header("protected_memory_buildflags") { header = "protected_memory_buildflags.h" header_dir = "base/memory" @@ -103,7 +103,7 @@ (is_win || is_linux || is_android || is_mac) flags = [ "PROTECTED_MEMORY_ENABLED=$protected_memory_enabled" ] -@@ -3163,7 +3221,7 @@ if (is_apple) { +@@ -3236,7 +3294,7 @@ if (is_apple) { } } @@ -112,7 +112,7 @@ # This test must compile with -fstack-protector-all source_set("stack_canary_linux_unittests") { testonly = true -@@ -3851,7 +3909,7 @@ test("base_unittests") { +@@ -3924,7 +3982,7 @@ test("base_unittests") { ] } @@ -121,7 +121,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3879,7 +3937,7 @@ test("base_unittests") { +@@ -3952,7 +4010,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -130,7 +130,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3890,7 +3948,7 @@ test("base_unittests") { +@@ -3963,7 +4021,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -139,7 +139,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -4080,7 +4138,7 @@ test("base_unittests") { +@@ -4151,7 +4209,7 @@ test("base_unittests") { deps += [ ":base_profiler_test_support_library" ] } diff --git a/www/iridium/files/patch-base_allocator_partition__alloc__features.cc b/www/iridium/files/patch-base_allocator_partition__alloc__features.cc new file mode 100644 index 000000000000..0cb21b8de789 --- /dev/null +++ b/www/iridium/files/patch-base_allocator_partition__alloc__features.cc @@ -0,0 +1,11 @@ +--- base/allocator/partition_alloc_features.cc.orig 2025-06-19 07:37:57 UTC ++++ base/allocator/partition_alloc_features.cc +@@ -164,7 +164,7 @@ BASE_FEATURE(kPartitionAllocEventuallyZeroFreedMemory, + // disabled elsewhere (for now). Does not apply to Windows. + BASE_FEATURE(kPartitionAllocFewerMemoryRegions, + "PartitionAllocFewerMemoryRegions", +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + FEATURE_ENABLED_BY_DEFAULT); + #else + FEATURE_DISABLED_BY_DEFAULT); diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index fa97d288bda7..52906fc0873e 100644 --- a/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni +++ b/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-05-07 06:48:23 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-06-19 07:37:57 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -89,7 +89,7 @@ if (is_nacl) { +@@ -91,7 +91,7 @@ if (is_nacl) { # TODO(crbug.com/329199197): Clean this up when experiments are complete. use_large_empty_slot_span_ring = true @@ -9,7 +9,7 @@ !is_hwasan && (is_linux || is_android) declare_args() { -@@ -348,7 +348,7 @@ declare_args() { +@@ -353,7 +353,7 @@ declare_args() { declare_args() { # Shadow metadata is still under development and only supports Linux # for now. @@ -18,7 +18,7 @@ } declare_args() { -@@ -491,7 +491,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl +@@ -496,7 +496,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl # dependencies that use partition_allocator are compiled in AOSP against a # version of glibc that does not include pkeys syscall numbers. is_pkeys_available = diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn index a2b07a07ede7..7793cf8273ca 100644 --- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn +++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -886,7 +886,7 @@ if (is_clang_or_gcc) { +@@ -893,7 +893,7 @@ if (is_clang_or_gcc) { configs -= [ partition_alloc_enable_arc_config ] } } diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h index e283d20917db..68a7f5566b72 100644 --- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h +++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2025-05-07 06:48:23 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2025-06-19 07:37:57 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h -@@ -309,8 +309,12 @@ bool TryRecommitSystemPagesInternal( +@@ -317,8 +317,12 @@ bool TryRecommitSystemPagesInternal( void DiscardSystemPagesInternal(uintptr_t address, size_t length) { void* ptr = reinterpret_cast<void*>(address); diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h index 2179339f424f..b08d12e6b1ac 100644 --- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h +++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-05-07 06:48:23 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-06-19 07:37:57 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h -@@ -327,7 +327,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask); +@@ -312,7 +312,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask); // 8GB for each of the glued pools). #if PA_BUILDFLAG(HAS_64_BIT_POINTERS) #if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_IOS) || \ @@ -9,7 +9,7 @@ constexpr size_t kPoolMaxSize = 8 * kGiB; #else constexpr size_t kPoolMaxSize = 16 * kGiB; -@@ -444,7 +444,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() { +@@ -429,7 +429,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() { // TODO(casey.smalley@arm.com): under 64k pages we can end up in a situation // where a normal slot span will be large enough to contain multiple items, // but the address will go over the final partition page after being aligned. diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc index a2ceae9a11f4..e005703ec407 100644 --- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc +++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-05-07 06:48:23 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-06-19 07:37:57 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_root.cc -@@ -44,7 +44,7 @@ +@@ -45,7 +45,7 @@ #include "wow64apiset.h" #endif @@ -9,7 +9,7 @@ #include <pthread.h> #if PA_CONFIG(ENABLE_SHADOW_METADATA) #include <sys/mman.h> -@@ -297,7 +297,7 @@ void PartitionAllocMallocInitOnce() { +@@ -298,7 +298,7 @@ void PartitionAllocMallocInitOnce() { return; } @@ -18,7 +18,7 @@ // When fork() is called, only the current thread continues to execute in the // child process. If the lock is held, but *not* by this thread when fork() is // called, we have a deadlock. -@@ -1117,7 +1117,7 @@ void PartitionRoot::Init(PartitionOptions opts) { +@@ -1118,7 +1118,7 @@ void PartitionRoot::Init(PartitionOptions opts) { // apple OSes. PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) || (internal::SystemPageSize() == (size_t{1} << 14))); diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc index 4d805924e5c3..9d854ce00f7b 100644 --- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc +++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2025-05-07 06:48:23 UTC +--- base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2025-06-19 07:37:57 UTC +++ base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc -@@ -17,7 +17,16 @@ +@@ -19,7 +19,16 @@ #endif #if PA_CONFIG(HAS_LINUX_KERNEL) @@ -17,37 +17,20 @@ #include <sys/syscall.h> #include <unistd.h> -@@ -106,8 +115,16 @@ void SpinningMutex::FutexWait() { - // |kLockedContended| anymore. Note that even without spurious wakeups, the - // value of |state_| is not guaranteed when this returns, as another thread - // may get the lock before we get to run. +@@ -92,8 +101,16 @@ PA_ALWAYS_INLINE long FutexSyscall(volatile void* ftx, + int saved_errno = errno; + errno = 0; + +#if defined(OS_FREEBSD) -+ int err = _umtx_op(&state_, UMTX_OP_WAIT_UINT_PRIVATE, ++ long retval = _umtx_op(&state_, UMTX_OP_WAIT_UINT_PRIVATE, + kLockedContended, nullptr, nullptr); +#elif defined(OS_OPENBSD) -+ int err = futex(reinterpret_cast<volatile unsigned int *>(&state_), FUTEX_WAIT | FUTEX_PRIVATE_FLAG, ++ long retval = futex(reinterpret_cast<volatile unsigned int *>(&state_), FUTEX_WAIT | FUTEX_PRIVATE_FLAG, + kLockedContended, nullptr, nullptr); +#else - int err = syscall(SYS_futex, &state_, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, - kLockedContended, nullptr, nullptr, 0); -+#endif - - if (err) { - // These are programming error, check them. -@@ -119,8 +136,16 @@ void SpinningMutex::FutexWait() { - - void SpinningMutex::FutexWake() { - int saved_errno = errno; -+#if defined(OS_FREEBSD) -+ long retval = _umtx_op(&state_, UMTX_OP_WAKE_PRIVATE, -+ 1 /* wake up a single waiter */, nullptr, nullptr); -+#elif defined(OS_OPENBSD) -+ long retval = futex(reinterpret_cast<volatile unsigned int *>(&state_), FUTEX_WAKE | FUTEX_PRIVATE_FLAG, -+ 1 /* wake up a single waiter */, nullptr, nullptr); -+#else - long retval = syscall(SYS_futex, &state_, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, - 1 /* wake up a single waiter */, nullptr, nullptr, 0); + long retval = syscall(SYS_futex, ftx, op | FUTEX_PRIVATE_FLAG, value, nullptr, + nullptr, 0); +#endif - PA_CHECK(retval != -1); - errno = saved_errno; - } + if (retval == -1) { + // These are programming errors, check them. + PA_DCHECK((errno != EPERM) || (errno != EACCES) || (errno != EINVAL) || diff --git a/www/iridium/files/patch-base_debug_debugger__posix.cc b/www/iridium/files/patch-base_debug_debugger__posix.cc index 52d9358a5923..385cf6935b92 100644 --- a/www/iridium/files/patch-base_debug_debugger__posix.cc +++ b/www/iridium/files/patch-base_debug_debugger__posix.cc @@ -1,6 +1,6 @@ ---- base/debug/debugger_posix.cc.orig 2025-05-07 06:48:23 UTC +--- base/debug/debugger_posix.cc.orig 2025-06-19 07:37:57 UTC +++ base/debug/debugger_posix.cc -@@ -41,6 +41,10 @@ +@@ -42,6 +42,10 @@ #include <sys/sysctl.h> #endif @@ -11,7 +11,7 @@ #if BUILDFLAG(IS_FREEBSD) #include <sys/user.h> #endif -@@ -99,33 +103,52 @@ bool BeingDebugged() { +@@ -100,33 +104,52 @@ bool BeingDebugged() { // Caution: struct kinfo_proc is marked __APPLE_API_UNSTABLE. The source and // binary interfaces may change. diff --git a/www/iridium/files/patch-base_files_drive__info.h b/www/iridium/files/patch-base_files_drive__info.h index 9fb9a5b38770..3dd39a228435 100644 --- a/www/iridium/files/patch-base_files_drive__info.h +++ b/www/iridium/files/patch-base_files_drive__info.h @@ -1,4 +1,4 @@ ---- base/files/drive_info.h.orig 2025-05-07 06:48:23 UTC +--- base/files/drive_info.h.orig 2025-06-19 07:37:57 UTC +++ base/files/drive_info.h @@ -48,7 +48,7 @@ struct BASE_EXPORT DriveInfo { std::optional<bool> has_seek_penalty; @@ -6,6 +6,6 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Whether the drive is a removable drive. + // Whether the drive is a "removable" drive. // - // Note on macOS: that SSDs that are connected over USB that you can eject + // In macOS's IOKit API, a drive is "removable" if "the media is removable diff --git a/www/iridium/files/patch-base_memory_platform__shared__memory__region.h b/www/iridium/files/patch-base_memory_platform__shared__memory__region.h index c9799f811e15..5cba7eb3ee0e 100644 --- a/www/iridium/files/patch-base_memory_platform__shared__memory__region.h +++ b/www/iridium/files/patch-base_memory_platform__shared__memory__region.h @@ -1,4 +1,4 @@ ---- base/memory/platform_shared_memory_region.h.orig 2025-05-07 06:48:23 UTC +--- base/memory/platform_shared_memory_region.h.orig 2025-06-19 07:37:57 UTC +++ base/memory/platform_shared_memory_region.h @@ -18,7 +18,7 @@ #include "base/unguessable_token.h" @@ -27,3 +27,12 @@ , bool executable = false #endif +@@ -236,7 +236,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion { + #if BUILDFLAG(IS_FUCHSIA) + kNotVmo, + #endif +-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + kFcntlFailed, + kReadOnlyFdNotReadOnly, + kUnexpectedReadOnlyFd, diff --git a/www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc b/www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc index 4d223b930409..532a09a3053e 100644 --- a/www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc +++ b/www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc @@ -1,6 +1,6 @@ ---- base/memory/platform_shared_memory_region_posix.cc.orig 2025-05-07 06:48:23 UTC +--- base/memory/platform_shared_memory_region_posix.cc.orig 2025-06-19 07:37:57 UTC +++ base/memory/platform_shared_memory_region_posix.cc -@@ -55,7 +55,7 @@ bool CheckFDAccessMode(int fd, int expected_mode) { +@@ -61,7 +61,7 @@ std::optional<FDAccessModeError> CheckFDAccessMode(int } // namespace @@ -9,7 +9,7 @@ // static ScopedFD PlatformSharedMemoryRegion::ExecutableRegion::CreateFD(size_t size) { PlatformSharedMemoryRegion region = -@@ -175,7 +175,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() { +@@ -183,7 +183,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() { // static PlatformSharedMemoryRegion PlatformSharedMemoryRegion::Create(Mode mode, size_t size @@ -18,7 +18,7 @@ , bool executable #endif -@@ -204,7 +204,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: +@@ -212,7 +212,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: // flag. FilePath directory; if (!GetShmemTempDir( diff --git a/www/iridium/files/patch-base_process_launch.h b/www/iridium/files/patch-base_process_launch.h index 88069a682824..ec8a358ff069 100644 --- a/www/iridium/files/patch-base_process_launch.h +++ b/www/iridium/files/patch-base_process_launch.h @@ -1,6 +1,6 @@ ---- base/process/launch.h.orig 2025-05-07 06:48:23 UTC +--- base/process/launch.h.orig 2025-06-19 07:37:57 UTC +++ base/process/launch.h -@@ -241,7 +241,7 @@ struct BASE_EXPORT LaunchOptions { +@@ -245,7 +245,7 @@ struct BASE_EXPORT LaunchOptions { bool clear_environment = false; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA) diff --git a/www/iridium/files/patch-base_strings_safe__sprintf__unittest.cc b/www/iridium/files/patch-base_strings_safe__sprintf__unittest.cc index d8351281edf1..9b63f7e93be1 100644 --- a/www/iridium/files/patch-base_strings_safe__sprintf__unittest.cc +++ b/www/iridium/files/patch-base_strings_safe__sprintf__unittest.cc @@ -1,6 +1,6 @@ ---- base/strings/safe_sprintf_unittest.cc.orig 2025-05-07 06:48:23 UTC +--- base/strings/safe_sprintf_unittest.cc.orig 2025-06-19 07:37:57 UTC +++ base/strings/safe_sprintf_unittest.cc -@@ -743,6 +743,7 @@ TEST(SafeSPrintfTest, EmbeddedNul) { +@@ -746,6 +746,7 @@ TEST(SafeSPrintfTest, EmbeddedNul) { #endif } @@ -8,7 +8,7 @@ TEST(SafeSPrintfTest, EmitNULL) { char buf[40]; #if defined(__GNUC__) -@@ -759,6 +760,7 @@ TEST(SafeSPrintfTest, EmitNULL) { +@@ -762,6 +763,7 @@ TEST(SafeSPrintfTest, EmitNULL) { #pragma GCC diagnostic pop #endif } diff --git a/www/iridium/files/patch-build_config_compiler_BUILD.gn b/www/iridium/files/patch-build_config_compiler_BUILD.gn index faa794dcc771..50385d65e4d5 100644 --- a/www/iridium/files/patch-build_config_compiler_BUILD.gn +++ b/www/iridium/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/compiler/BUILD.gn.orig 2025-05-07 13:10:49 UTC +--- build/config/compiler/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ build/config/compiler/BUILD.gn @@ -197,7 +197,7 @@ declare_args() { # This greatly reduces the size of debug builds, at the cost of @@ -27,7 +27,7 @@ } # compiler --------------------------------------------------------------------- -@@ -508,6 +511,10 @@ config("compiler") { +@@ -509,6 +512,10 @@ config("compiler") { } } @@ -38,7 +38,7 @@ # Linux-specific compiler flags setup. # ------------------------------------ if (use_icf && (!is_apple || use_lld)) { -@@ -567,7 +574,7 @@ config("compiler") { +@@ -569,7 +576,7 @@ config("compiler") { ldflags += [ "-Wl,-z,keep-text-section-prefix" ] } @@ -47,7 +47,7 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] if (save_reproducers_on_lld_crash && use_lld) { ldflags += [ -@@ -1212,7 +1219,7 @@ config("compiler_cpu_abi") { +@@ -1227,7 +1234,7 @@ config("compiler_cpu_abi") { ] } } else if (current_cpu == "arm") { @@ -56,7 +56,7 @@ cflags += [ "--target=arm-linux-gnueabihf" ] ldflags += [ "--target=arm-linux-gnueabihf" ] } -@@ -1227,7 +1234,7 @@ config("compiler_cpu_abi") { +@@ -1242,7 +1249,7 @@ config("compiler_cpu_abi") { } } else if (current_cpu == "arm64") { if (is_clang && !is_android && !is_nacl && !is_fuchsia && @@ -65,7 +65,7 @@ cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] } -@@ -1561,7 +1568,7 @@ config("compiler_deterministic") { +@@ -1576,7 +1583,7 @@ config("compiler_deterministic") { # different build directory like "out/feature_a" and "out/feature_b" if # we build same files with same compile flag. # Other paths are already given in relative, no need to normalize them. @@ -74,16 +74,16 @@ # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here. cflags += [ "-Xclang", -@@ -1619,7 +1626,7 @@ config("compiler_deterministic") { +@@ -1634,7 +1641,7 @@ config("compiler_deterministic") { } config("clang_revision") { - if (is_clang && clang_base_path == default_clang_base_path && + if (is_clang && !is_bsd && clang_base_path == default_clang_base_path && current_os != "zos") { - update_args = [ - "--print-revision", -@@ -1652,7 +1659,7 @@ config("clang_revision") { + _perform_consistency_checks = current_toolchain == default_toolchain + if (llvm_force_head_revision) { +@@ -1719,7 +1726,7 @@ config("clang_revision") { # e.g. by setting in the the project's .gn file. config("clang_warning_suppression") { # Some build configs use older versions of clang that don't support WSMs @@ -92,7 +92,7 @@ !llvm_android_mainline && is_clang && clang_warning_suppression_file != "") { from_build_root = -@@ -1985,9 +1992,6 @@ config("default_warnings") { +@@ -2053,9 +2060,6 @@ config("default_warnings") { # TODO(crbug.com/40284799): Fix and re-enable. "-Wno-thread-safety-reference-return", @@ -102,7 +102,7 @@ ] cflags_cc += [ -@@ -2776,7 +2780,7 @@ config("afdo_optimize_size") { +@@ -2837,7 +2841,7 @@ config("afdo_optimize_size") { # There are some targeted places that AFDO regresses, so we provide a separate # config to allow AFDO to be disabled per-target. config("afdo") { @@ -111,7 +111,7 @@ cflags = [] if (clang_emit_debug_info_for_profiling) { # Add the following flags to generate debug info for profiling. -@@ -2803,7 +2807,7 @@ config("afdo") { +@@ -2864,7 +2868,7 @@ config("afdo") { cflags += [ "-Wno-backend-plugin" ] inputs = [ _clang_sample_profile ] } @@ -120,7 +120,7 @@ cflags = [ "-fauto-profile=${auto_profile_path}" ] inputs = [ auto_profile_path ] } -@@ -2980,7 +2984,7 @@ config("symbols") { +@@ -3041,7 +3045,7 @@ config("symbols") { cflags += [ "-gomit-unreferenced-methods" ] } diff --git a/www/iridium/files/patch-build_config_rust.gni b/www/iridium/files/patch-build_config_rust.gni index 9bb3bfd26cff..886ac9542b5e 100644 --- a/www/iridium/files/patch-build_config_rust.gni +++ b/www/iridium/files/patch-build_config_rust.gni @@ -1,6 +1,6 @@ ---- build/config/rust.gni.orig 2025-05-07 06:48:23 UTC +--- build/config/rust.gni.orig 2025-06-19 07:37:57 UTC +++ build/config/rust.gni -@@ -346,6 +346,10 @@ if (is_linux || is_chromeos) { +@@ -361,6 +361,10 @@ if (is_linux || is_chromeos) { } } diff --git a/www/iridium/files/patch-build_rust_allocator_BUILD.gn b/www/iridium/files/patch-build_rust_allocator_BUILD.gn deleted file mode 100644 index cb1633140dcc..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_BUILD.gn +++ /dev/null @@ -1,109 +0,0 @@ ---- build/rust/allocator/BUILD.gn.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/BUILD.gn -@@ -0,0 +1,106 @@ -+# Copyright 2025 The Chromium Authors -+# Use of this source code is governed by a BSD-style license that can be -+# found in the LICENSE file. -+ -+import("//build/buildflag_header.gni") -+import("//build/config/rust.gni") -+import("//build/rust/rust_static_library.gni") -+ -+rust_allocator_uses_partition_alloc = false -+if (build_with_chromium) { -+ import("//base/allocator/partition_allocator/partition_alloc.gni") -+ rust_allocator_uses_partition_alloc = use_partition_alloc_as_malloc -+} -+ -+# In ASAN builds, PartitionAlloc-Everywhere is disabled, meaning malloc() and -+# friends in C++ do not go to PartitionAlloc. So we also don't point the Rust -+# allocation functions at PartitionAlloc. Generally, this means we just direct -+# them to the Standard Library's allocator. -+# -+# However, on Windows the Standard Library uses HeapAlloc() and Windows ASAN -+# does *not* hook that method, so ASAN does not get to hear about allocations -+# made in Rust. To resolve this, we redirect allocation to _aligned_malloc -+# which Windows ASAN *does* hook. -+# -+# Note that there is a runtime option to make ASAN hook HeapAlloc() but -+# enabling it breaks Win32 APIs like CreateProcess: -+# https://crbug.com/368070343#comment29 -+rust_allocator_uses_aligned_malloc = false -+if (!rust_allocator_uses_partition_alloc && is_win && is_asan) { -+ rust_allocator_uses_aligned_malloc = true -+} -+ -+rust_allocator_uses_allocator_impls_h = -+ rust_allocator_uses_partition_alloc || rust_allocator_uses_aligned_malloc -+ -+buildflag_header("buildflags") { -+ header = "buildflags.h" -+ flags = [ -+ "RUST_ALLOCATOR_USES_PARTITION_ALLOC=$rust_allocator_uses_partition_alloc", -+ "RUST_ALLOCATOR_USES_ALIGNED_MALLOC=$rust_allocator_uses_aligned_malloc", -+ ] -+ visibility = [ ":*" ] -+} -+ -+if (toolchain_has_rust) { -+ # All targets which depend on Rust code but are not linked by rustc must -+ # depend on this. Usually, this dependency will come from the rust_target() GN -+ # template. However, cargo_crate() does *not* include this dependency so any -+ # C++ targets which directly depend on a cargo_crate() must depend on this. -+ rust_static_library("allocator") { -+ sources = [ "lib.rs" ] -+ crate_root = "lib.rs" -+ cxx_bindings = [ "lib.rs" ] -+ -+ deps = [ ":alloc_error_handler_impl" ] -+ if (rust_allocator_uses_allocator_impls_h) { -+ deps += [ ":allocator_impls" ] -+ } -+ -+ no_chromium_prelude = true -+ no_allocator_crate = true -+ allow_unsafe = true -+ -+ rustflags = [] -+ if (rust_allocator_uses_allocator_impls_h) { -+ rustflags += [ "--cfg=rust_allocator_uses_allocator_impls_h" ] -+ cxx_bindings += [ "allocator_impls_ffi.rs" ] -+ sources += [ "allocator_impls_ffi.rs" ] -+ } -+ -+ # TODO(https://crbug.com/410596442): Stop using unstable features here. -+ configs -= [ "//build/config/compiler:disallow_unstable_features" ] -+ } -+ -+ if (rust_allocator_uses_allocator_impls_h) { -+ static_library("allocator_impls") { -+ public_deps = [] -+ if (rust_allocator_uses_partition_alloc) { -+ public_deps += -+ [ "//base/allocator/partition_allocator:partition_alloc" ] -+ } -+ -+ sources = [ -+ "allocator_impls.cc", -+ "allocator_impls.h", -+ ] -+ deps = [ ":buildflags" ] -+ visibility = [ ":*" ] -+ } -+ } -+ -+ static_library("alloc_error_handler_impl") { -+ sources = [ -+ # `alias.*`, `compiler_specific.h`, and `immediate_crash.*` have been -+ # copied from `//base`. -+ # TODO(crbug.com/40279749): Avoid duplication / reuse code. -+ "alias.cc", -+ "alias.h", -+ "alloc_error_handler_impl.cc", -+ "alloc_error_handler_impl.h", -+ "compiler_specific.h", -+ "immediate_crash.h", -+ ] -+ visibility = [ ":*" ] -+ } -+} diff --git a/www/iridium/files/patch-build_rust_allocator_DEPS b/www/iridium/files/patch-build_rust_allocator_DEPS deleted file mode 100644 index 74bb2d6c2421..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_DEPS +++ /dev/null @@ -1,12 +0,0 @@ ---- build/rust/allocator/DEPS.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/DEPS -@@ -0,0 +1,9 @@ -+include_rules = [ -+ "-base", -+] -+ -+specific_include_rules = { -+ "allocator_impls.cc" : [ -+ "+partition_alloc" -+ ] -+} diff --git a/www/iridium/files/patch-build_rust_allocator_alias.cc b/www/iridium/files/patch-build_rust_allocator_alias.cc deleted file mode 100644 index 5280641f27e1..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_alias.cc +++ /dev/null @@ -1,25 +0,0 @@ ---- build/rust/allocator/alias.cc.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/alias.cc -@@ -0,0 +1,22 @@ -+// Copyright 2023 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+// This file has been copied from //base/debug/alias.cc ( additionally the APIs -+// were moved into the `build_rust_std` namespace). -+// -+// TODO(crbug.com/40279749): Avoid code duplication / reuse code. -+ -+#include "build/rust/allocator/alias.h" -+ -+#include "build/rust/allocator/compiler_specific.h" -+ -+namespace build_rust_std { -+namespace debug { -+ -+// This file/function should be excluded from LTO/LTCG to ensure that the -+// compiler can't see this function's implementation when compiling calls to it. -+NOINLINE void Alias(const void* var) {} -+ -+} // namespace debug -+} // namespace build_rust_std diff --git a/www/iridium/files/patch-build_rust_allocator_alias.h b/www/iridium/files/patch-build_rust_allocator_alias.h deleted file mode 100644 index 6530c6ae8779..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_alias.h +++ /dev/null @@ -1,40 +0,0 @@ ---- build/rust/allocator/alias.h.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/alias.h -@@ -0,0 +1,37 @@ -+// Copyright 2023 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+// This file has been copied from //base/debug/alias.h (and then trimmed to just -+// the APIs / macros needed by //build/rust/std; additionally the APIs were -+// moved into the `build_rust_std` namespace). -+// -+// TODO(crbug.com/40279749): Avoid code duplication / reuse code. -+ -+#ifndef BUILD_RUST_ALLOCATOR_ALIAS_H_ -+#define BUILD_RUST_ALLOCATOR_ALIAS_H_ -+ -+#include <stddef.h> -+ -+namespace build_rust_std { -+namespace debug { -+ -+// Make the optimizer think that |var| is aliased. This can be used to prevent a -+// local variable from being optimized out (which is something that -+// `NO_CODE_FOLDING` macro definition below depends on). See -+// //base/debug/alias.h for more details. -+void Alias(const void* var); -+ -+} // namespace debug -+ -+} // namespace build_rust_std -+ -+// Prevent code folding (where a linker identifies functions that are -+// bit-identical and overlays them, which saves space but it leads to confusing -+// call stacks because multiple symbols are at the same address). See -+// //base/debug/alias.h for more details. -+#define NO_CODE_FOLDING() \ -+ const int line_number = __LINE__; \ -+ build_rust_std::debug::Alias(&line_number) -+ -+#endif // BUILD_RUST_ALLOCATOR_ALIAS_H_ diff --git a/www/iridium/files/patch-build_rust_allocator_alloc__error__handler__impl.cc b/www/iridium/files/patch-build_rust_allocator_alloc__error__handler__impl.cc deleted file mode 100644 index 048c267abefa..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_alloc__error__handler__impl.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- build/rust/allocator/alloc_error_handler_impl.cc.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/alloc_error_handler_impl.cc -@@ -0,0 +1,17 @@ -+// Copyright 2025 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+#include "build/rust/allocator/alloc_error_handler_impl.h" -+ -+#include "build/rust/allocator/alias.h" -+#include "build/rust/allocator/immediate_crash.h" -+ -+namespace rust_allocator_internal { -+ -+void alloc_error_handler_impl() { -+ NO_CODE_FOLDING(); -+ IMMEDIATE_CRASH(); -+} -+ -+} // namespace rust_allocator_internal diff --git a/www/iridium/files/patch-build_rust_allocator_alloc__error__handler__impl.h b/www/iridium/files/patch-build_rust_allocator_alloc__error__handler__impl.h deleted file mode 100644 index 887ea602b027..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_alloc__error__handler__impl.h +++ /dev/null @@ -1,24 +0,0 @@ ---- build/rust/allocator/alloc_error_handler_impl.h.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/alloc_error_handler_impl.h -@@ -0,0 +1,21 @@ -+// Copyright 2025 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+#ifndef BUILD_RUST_ALLOCATOR_ALLOC_ERROR_HANDLER_IMPL_H_ -+#define BUILD_RUST_ALLOCATOR_ALLOC_ERROR_HANDLER_IMPL_H_ -+ -+// This header exposes to Rust a C++ implementation of quickly crashing after an -+// allocation error. (The API below is called from `__rust_alloc_error_handler` -+// in `lib.rs`.) -+// -+// TODO(lukasza): Investigate if we can delete this `.h` / `.cc` and just call -+// `std::process::abort()` (or something else?) directly from `.rs`. The main -+// open question is how much we care about `NO_CODE_FOLDING`. -+namespace rust_allocator_internal { -+ -+void alloc_error_handler_impl(); -+ -+} // namespace rust_allocator_internal -+ -+#endif // BUILD_RUST_ALLOCATOR_ALLOC_ERROR_HANDLER_IMPL_H_ diff --git a/www/iridium/files/patch-build_rust_allocator_allocator__impls.cc b/www/iridium/files/patch-build_rust_allocator_allocator__impls.cc deleted file mode 100644 index 94e04d7b966a..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_allocator__impls.cc +++ /dev/null @@ -1,108 +0,0 @@ ---- build/rust/allocator/allocator_impls.cc.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/allocator_impls.cc -@@ -0,0 +1,105 @@ -+// Copyright 2021 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+#include "build/rust/allocator/allocator_impls.h" -+ -+#ifdef UNSAFE_BUFFERS_BUILD -+// TODO(crbug.com/390223051): Remove C-library calls to fix the errors. -+#pragma allow_unsafe_libc_calls -+#endif -+ -+#include <cstddef> -+#include <cstring> -+ -+#include "build/build_config.h" -+#include "build/rust/allocator/buildflags.h" -+ -+#if BUILDFLAG(RUST_ALLOCATOR_USES_PARTITION_ALLOC) -+#include "partition_alloc/partition_alloc_constants.h" // nogncheck -+#include "partition_alloc/shim/allocator_shim.h" // nogncheck -+#elif BUILDFLAG(RUST_ALLOCATOR_USES_ALIGNED_MALLOC) -+#include <cstdlib> -+#endif -+ -+namespace rust_allocator_internal { -+ -+unsigned char* alloc(size_t size, size_t align) { -+#if BUILDFLAG(RUST_ALLOCATOR_USES_PARTITION_ALLOC) -+ // PartitionAlloc will crash if given an alignment larger than this. -+ if (align > partition_alloc::internal::kMaxSupportedAlignment) { -+ return nullptr; -+ } -+ -+ // We use unchecked allocation paths in PartitionAlloc rather than going -+ // through its shims in `malloc()` etc so that we can support fallible -+ // allocation paths such as Vec::try_reserve without crashing on allocation -+ // failure. -+ if (align <= alignof(std::max_align_t)) { -+ return static_cast<unsigned char*>(allocator_shim::UncheckedAlloc(size)); -+ } else { -+ return static_cast<unsigned char*>( -+ allocator_shim::UncheckedAlignedAlloc(size, align)); -+ } -+#elif BUILDFLAG(RUST_ALLOCATOR_USES_ALIGNED_MALLOC) -+ return static_cast<unsigned char*>(_aligned_malloc(size, align)); -+#else -+#error This configuration is not supported. -+#endif -+} -+ -+void dealloc(unsigned char* p, size_t size, size_t align) { -+#if BUILDFLAG(RUST_ALLOCATOR_USES_PARTITION_ALLOC) -+ if (align <= alignof(std::max_align_t)) { -+ allocator_shim::UncheckedFree(p); -+ } else { -+ allocator_shim::UncheckedAlignedFree(p); -+ } -+#elif BUILDFLAG(RUST_ALLOCATOR_USES_ALIGNED_MALLOC) -+ return _aligned_free(p); -+#else -+#error This configuration is not supported. -+#endif -+} -+ -+unsigned char* realloc(unsigned char* p, -+ size_t old_size, -+ size_t align, -+ size_t new_size) { -+#if BUILDFLAG(RUST_ALLOCATOR_USES_PARTITION_ALLOC) -+ // We use unchecked allocation paths in PartitionAlloc rather than going -+ // through its shims in `malloc()` etc so that we can support fallible -+ // allocation paths such as Vec::try_reserve without crashing on allocation -+ // failure. -+ if (align <= alignof(std::max_align_t)) { -+ return static_cast<unsigned char*>( -+ allocator_shim::UncheckedRealloc(p, new_size)); -+ } else { -+ return static_cast<unsigned char*>( -+ allocator_shim::UncheckedAlignedRealloc(p, new_size, align)); -+ } -+#elif BUILDFLAG(RUST_ALLOCATOR_USES_ALIGNED_MALLOC) -+ return static_cast<unsigned char*>(_aligned_realloc(p, new_size, align)); -+#else -+#error This configuration is not supported. -+#endif -+} -+ -+unsigned char* alloc_zeroed(size_t size, size_t align) { -+#if BUILDFLAG(RUST_ALLOCATOR_USES_PARTITION_ALLOC) || \ -+ BUILDFLAG(RUST_ALLOCATOR_USES_ALIGNED_MALLOC) -+ // TODO(danakj): When RUST_ALLOCATOR_USES_PARTITION_ALLOC is true, it's -+ // possible that a partition_alloc::UncheckedAllocZeroed() call would perform -+ // better than partition_alloc::UncheckedAlloc() + memset. But there is no -+ // such API today. See b/342251590. -+ unsigned char* p = alloc(size, align); -+ if (p) { -+ memset(p, 0, size); -+ } -+ return p; -+#else -+#error This configuration is not supported. -+#endif -+} -+ -+} // namespace rust_allocator_internal diff --git a/www/iridium/files/patch-build_rust_allocator_allocator__impls.h b/www/iridium/files/patch-build_rust_allocator_allocator__impls.h deleted file mode 100644 index 9249cdc938d2..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_allocator__impls.h +++ /dev/null @@ -1,27 +0,0 @@ ---- build/rust/allocator/allocator_impls.h.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/allocator_impls.h -@@ -0,0 +1,24 @@ -+// Copyright 2025 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+#ifndef BUILD_RUST_ALLOCATOR_ALLOCATOR_IMPLS_H_ -+#define BUILD_RUST_ALLOCATOR_ALLOCATOR_IMPLS_H_ -+ -+#include <cstddef> -+ -+// This header exposes a C++ allocator (e.g. PartitionAlloc) to Rust. -+// The APIs below are called from `impl GlobalAlloc` in `lib.rs`. -+namespace rust_allocator_internal { -+ -+unsigned char* alloc(size_t size, size_t align); -+void dealloc(unsigned char* p, size_t size, size_t align); -+unsigned char* realloc(unsigned char* p, -+ size_t old_size, -+ size_t align, -+ size_t new_size); -+unsigned char* alloc_zeroed(size_t size, size_t align); -+ -+} // namespace rust_allocator_internal -+ -+#endif // BUILD_RUST_ALLOCATOR_ALLOCATOR_IMPLS_H_ diff --git a/www/iridium/files/patch-build_rust_allocator_allocator__impls__ffi.rs b/www/iridium/files/patch-build_rust_allocator_allocator__impls__ffi.rs deleted file mode 100644 index 8f0baf1576ce..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_allocator__impls__ffi.rs +++ /dev/null @@ -1,22 +0,0 @@ ---- build/rust/allocator/allocator_impls_ffi.rs.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/allocator_impls_ffi.rs -@@ -0,0 +1,19 @@ -+// Copyright 2025 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+//! FFI for `allocator_impls.h` is in a separate `.rs` file/module to -+//! better support conditional compilation (these functions are only -+//! used under `#[cfg(rust_allocator_uses_allocator_impls_h)]`. -+ -+#[cxx::bridge(namespace = "rust_allocator_internal")] -+pub mod ffi { -+ extern "C++" { -+ include!("build/rust/allocator/allocator_impls.h"); -+ -+ unsafe fn alloc(size: usize, align: usize) -> *mut u8; -+ unsafe fn dealloc(p: *mut u8, size: usize, align: usize); -+ unsafe fn realloc(p: *mut u8, old_size: usize, align: usize, new_size: usize) -> *mut u8; -+ unsafe fn alloc_zeroed(size: usize, align: usize) -> *mut u8; -+ } -+} diff --git a/www/iridium/files/patch-build_rust_allocator_compiler__specific.h b/www/iridium/files/patch-build_rust_allocator_compiler__specific.h deleted file mode 100644 index 7feb0c739d79..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_compiler__specific.h +++ /dev/null @@ -1,41 +0,0 @@ ---- build/rust/allocator/compiler_specific.h.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/compiler_specific.h -@@ -0,0 +1,38 @@ -+// Copyright 2023 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+// This file has been copied from //base/compiler_specific.h (and then -+// significantly trimmed to just the APIs / macros needed by //build/rust/std). -+// -+// TODO(crbug.com/40279749): Avoid code duplication / reuse code. -+ -+#ifndef BUILD_RUST_ALLOCATOR_COMPILER_SPECIFIC_H_ -+#define BUILD_RUST_ALLOCATOR_COMPILER_SPECIFIC_H_ -+ -+#include "build/build_config.h" -+ -+#if defined(COMPILER_MSVC) && !defined(__clang__) -+#error "Only clang-cl is supported on Windows, see https://crbug.com/988071" -+#endif -+ -+#if defined(__has_attribute) -+#define HAS_ATTRIBUTE(x) __has_attribute(x) -+#else -+#define HAS_ATTRIBUTE(x) 0 -+#endif -+ -+// Annotate a function indicating it should not be inlined. -+// Use like: -+// NOINLINE void DoStuff() { ... } -+#if defined(__clang__) && HAS_ATTRIBUTE(noinline) -+#define NOINLINE [[clang::noinline]] -+#elif defined(COMPILER_GCC) && HAS_ATTRIBUTE(noinline) -+#define NOINLINE __attribute__((noinline)) -+#elif defined(COMPILER_MSVC) -+#define NOINLINE __declspec(noinline) -+#else -+#define NOINLINE -+#endif -+ -+#endif // BUILD_RUST_ALLOCATOR_COMPILER_SPECIFIC_H_ diff --git a/www/iridium/files/patch-build_rust_allocator_immediate__crash.h b/www/iridium/files/patch-build_rust_allocator_immediate__crash.h deleted file mode 100644 index 7ab0f9d9c34c..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_immediate__crash.h +++ /dev/null @@ -1,174 +0,0 @@ ---- build/rust/allocator/immediate_crash.h.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/immediate_crash.h -@@ -0,0 +1,171 @@ -+// Copyright 2021 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+// This file has been copied from //base/immediate_crash.h. -+// TODO(crbug.com/40279749): Avoid code duplication / reuse code. -+ -+#ifndef BUILD_RUST_ALLOCATOR_IMMEDIATE_CRASH_H_ -+#define BUILD_RUST_ALLOCATOR_IMMEDIATE_CRASH_H_ -+ -+#include "build/build_config.h" -+ -+// Crashes in the fastest possible way with no attempt at logging. -+// There are several constraints; see http://crbug.com/664209 for more context. -+// -+// - TRAP_SEQUENCE_() must be fatal. It should not be possible to ignore the -+// resulting exception or simply hit 'continue' to skip over it in a debugger. -+// - Different instances of TRAP_SEQUENCE_() must not be folded together, to -+// ensure crash reports are debuggable. Unlike __builtin_trap(), asm volatile -+// blocks will not be folded together. -+// Note: TRAP_SEQUENCE_() previously required an instruction with a unique -+// nonce since unlike clang, GCC folds together identical asm volatile -+// blocks. -+// - TRAP_SEQUENCE_() must produce a signal that is distinct from an invalid -+// memory access. -+// - TRAP_SEQUENCE_() must be treated as a set of noreturn instructions. -+// __builtin_unreachable() is used to provide that hint here. clang also uses -+// this as a heuristic to pack the instructions in the function epilogue to -+// improve code density. -+// -+// Additional properties that are nice to have: -+// - TRAP_SEQUENCE_() should be as compact as possible. -+// - The first instruction of TRAP_SEQUENCE_() should not change, to avoid -+// shifting crash reporting clusters. As a consequence of this, explicit -+// assembly is preferred over intrinsics. -+// Note: this last bullet point may no longer be true, and may be removed in -+// the future. -+ -+// Note: TRAP_SEQUENCE Is currently split into two macro helpers due to the fact -+// that clang emits an actual instruction for __builtin_unreachable() on certain -+// platforms (see https://crbug.com/958675). In addition, the int3/bkpt/brk will -+// be removed in followups, so splitting it up like this now makes it easy to -+// land the followups. -+ -+#if defined(COMPILER_GCC) -+ -+#if BUILDFLAG(IS_NACL) -+ -+// Crash report accuracy is not guaranteed on NaCl. -+#define TRAP_SEQUENCE1_() __builtin_trap() -+#define TRAP_SEQUENCE2_() asm volatile("") -+ -+#elif defined(ARCH_CPU_X86_FAMILY) -+ -+// TODO(crbug.com/40625592): In theory, it should be possible to use just -+// int3. However, there are a number of crashes with SIGILL as the exception -+// code, so it seems likely that there's a signal handler that allows execution -+// to continue after SIGTRAP. -+#define TRAP_SEQUENCE1_() asm volatile("int3") -+ -+#if BUILDFLAG(IS_APPLE) -+// Intentionally empty: __builtin_unreachable() is always part of the sequence -+// (see IMMEDIATE_CRASH below) and already emits a ud2 on Mac. -+#define TRAP_SEQUENCE2_() asm volatile("") -+#else -+#define TRAP_SEQUENCE2_() asm volatile("ud2") -+#endif // BUILDFLAG(IS_APPLE) -+ -+#elif defined(ARCH_CPU_ARMEL) -+ -+// bkpt will generate a SIGBUS when running on armv7 and a SIGTRAP when running -+// as a 32 bit userspace app on arm64. There doesn't seem to be any way to -+// cause a SIGTRAP from userspace without using a syscall (which would be a -+// problem for sandboxing). -+// TODO(crbug.com/40625592): Remove bkpt from this sequence. -+#define TRAP_SEQUENCE1_() asm volatile("bkpt #0") -+#define TRAP_SEQUENCE2_() asm volatile("udf #0") -+ -+#elif defined(ARCH_CPU_ARM64) -+ -+// This will always generate a SIGTRAP on arm64. -+// TODO(crbug.com/40625592): Remove brk from this sequence. -+#define TRAP_SEQUENCE1_() asm volatile("brk #0") -+#define TRAP_SEQUENCE2_() asm volatile("hlt #0") -+ -+#else -+ -+// Crash report accuracy will not be guaranteed on other architectures, but at -+// least this will crash as expected. -+#define TRAP_SEQUENCE1_() __builtin_trap() -+#define TRAP_SEQUENCE2_() asm volatile("") -+ -+#endif // ARCH_CPU_* -+ -+#elif defined(COMPILER_MSVC) -+ -+#if !defined(__clang__) -+ -+// MSVC x64 doesn't support inline asm, so use the MSVC intrinsic. -+#define TRAP_SEQUENCE1_() __debugbreak() -+#define TRAP_SEQUENCE2_() -+ -+#elif defined(ARCH_CPU_ARM64) -+ -+// Windows ARM64 uses "BRK #F000" as its breakpoint instruction, and -+// __debugbreak() generates that in both VC++ and clang. -+#define TRAP_SEQUENCE1_() __debugbreak() -+// Intentionally empty: __builtin_unreachable() is always part of the sequence -+// (see IMMEDIATE_CRASH below) and already emits a ud2 on Win64, -+// https://crbug.com/958373 -+#define TRAP_SEQUENCE2_() __asm volatile("") -+ -+#else -+ -+#define TRAP_SEQUENCE1_() asm volatile("int3") -+#define TRAP_SEQUENCE2_() asm volatile("ud2") -+ -+#endif // __clang__ -+ -+#else -+ -+#error No supported trap sequence! -+ -+#endif // COMPILER_GCC -+ -+#define TRAP_SEQUENCE_() \ -+ do { \ -+ TRAP_SEQUENCE1_(); \ -+ TRAP_SEQUENCE2_(); \ -+ } while (false) -+ -+// CHECK() and the trap sequence can be invoked from a constexpr function. -+// This could make compilation fail on GCC, as it forbids directly using inline -+// asm inside a constexpr function. However, it allows calling a lambda -+// expression including the same asm. -+// The side effect is that the top of the stacktrace will not point to the -+// calling function, but to this anonymous lambda. This is still useful as the -+// full name of the lambda will typically include the name of the function that -+// calls CHECK() and the debugger will still break at the right line of code. -+#if !defined(COMPILER_GCC) || defined(__clang__) -+ -+#define WRAPPED_TRAP_SEQUENCE_() TRAP_SEQUENCE_() -+ -+#else -+ -+#define WRAPPED_TRAP_SEQUENCE_() \ -+ do { \ -+ [] { TRAP_SEQUENCE_(); }(); \ -+ } while (false) -+ -+#endif // !defined(COMPILER_GCC) || defined(__clang__) -+ -+#if defined(__clang__) || defined(COMPILER_GCC) -+ -+// __builtin_unreachable() hints to the compiler that this is noreturn and can -+// be packed in the function epilogue. -+#define IMMEDIATE_CRASH() \ -+ ({ \ -+ WRAPPED_TRAP_SEQUENCE_(); \ -+ __builtin_unreachable(); \ -+ }) -+ -+#else -+ -+// This is supporting non-chromium user of logging.h to build with MSVC, like -+// pdfium. On MSVC there is no __builtin_unreachable(). -+#define IMMEDIATE_CRASH() WRAPPED_TRAP_SEQUENCE_() -+ -+#endif // defined(__clang__) || defined(COMPILER_GCC) -+ -+#endif // BUILD_RUST_ALLOCATOR_IMMEDIATE_CRASH_H_ diff --git a/www/iridium/files/patch-build_rust_allocator_lib.rs b/www/iridium/files/patch-build_rust_allocator_lib.rs deleted file mode 100644 index 89fddf278294..000000000000 --- a/www/iridium/files/patch-build_rust_allocator_lib.rs +++ /dev/null @@ -1,122 +0,0 @@ ---- build/rust/allocator/lib.rs.orig 2025-05-20 09:16:26 UTC -+++ build/rust/allocator/lib.rs -@@ -0,0 +1,119 @@ -+// Copyright 2025 The Chromium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+ -+//! Define the allocator that Rust code in Chrome should use. -+//! -+//! Any final artifact that depends on this crate, even transitively, will use -+//! the allocator defined here. -+//! -+//! List of known issues: -+//! -+//! 1. We'd like to use PartitionAlloc on Windows, but the stdlib uses Windows -+//! heap functions directly that PartitionAlloc can not intercept. -+//! 2. We'd like `Vec::try_reserve` to fail at runtime on Linux instead of -+//! crashing in malloc() where PartitionAlloc replaces that function. -+ -+// Required to apply weak linkage to symbols. -+// -+// TODO(https://crbug.com/410596442): Stop using unstable features here. -+// https://github.com/rust-lang/rust/issues/29603 tracks stabilization of the `linkage` feature. -+#![feature(linkage)] -+// Required to apply `#[rustc_std_internal_symbol]` to our alloc error handler -+// so the name is correctly mangled as rustc expects. -+// -+// TODO(https://crbug.com/410596442): Stop using internal features here. -+#![allow(internal_features)] -+#![feature(rustc_attrs)] -+ -+// This module is in a separate source file to avoid having to teach `cxxbridge` -+// about conditional compilation. -+#[cfg(rust_allocator_uses_allocator_impls_h)] -+mod allocator_impls_ffi; -+ -+/// Module that provides `#[global_allocator]` / `GlobalAlloc` interface for -+/// using an allocator from C++. -+#[cfg(rust_allocator_uses_allocator_impls_h)] -+mod cpp_allocator { -+ use super::allocator_impls_ffi::ffi; -+ use std::alloc::{GlobalAlloc, Layout}; -+ -+ struct Allocator; -+ -+ unsafe impl GlobalAlloc for Allocator { -+ unsafe fn alloc(&self, layout: Layout) -> *mut u8 { -+ unsafe { ffi::alloc(layout.size(), layout.align()) } -+ } -+ -+ unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { -+ unsafe { -+ ffi::dealloc(ptr, layout.size(), layout.align()); -+ } -+ } -+ -+ unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { -+ unsafe { ffi::alloc_zeroed(layout.size(), layout.align()) } -+ } -+ -+ unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { -+ unsafe { ffi::realloc(ptr, layout.size(), layout.align(), new_size) } -+ } -+ } -+ -+ #[global_allocator] -+ static GLOBAL: Allocator = Allocator; -+} -+ -+/// Module that provides `#[global_allocator]` / `GlobalAlloc` interface for -+/// using the default Rust allocator. -+#[cfg(not(rust_allocator_uses_allocator_impls_h))] -+mod rust_allocator { -+ #[global_allocator] -+ static GLOBAL: std::alloc::System = std::alloc::System; -+} -+ -+/// Module that provides global symbols that are needed both by `cpp_allocator` -+/// and `rust_allocator`. -+/// -+/// When `rustc` drives linking, then it will define the symbols below. But -+/// Chromium only uses `rustc` to link Rust-only executables (e.g. `build.rs` -+/// scripts) and otherwise uses a non-Rust linker. This is why we have to -+/// manually define a few symbols below. We define those symbols -+/// as "weak" symbols, so that Rust-provided symbols "win" in case where Rust -+/// actually does drive the linking. This hack works (not only for Chromium, -+/// but also for google3 and other projects), but isn't officially supported by -+/// `rustc`. -+/// -+/// TODO(https://crbug.com/410596442): Stop using internal features here. -+mod both_allocators { -+ /// As part of rustc's contract for using `#[global_allocator]` without -+ /// rustc-generated shims we must define this symbol, since we are opting in -+ /// to unstable functionality. See https://github.com/rust-lang/rust/issues/123015 -+ #[no_mangle] -+ #[linkage = "weak"] -+ static __rust_no_alloc_shim_is_unstable: u8 = 0; -+ -+ // Mangle the symbol name as rustc expects. -+ #[rustc_std_internal_symbol] -+ #[allow(non_upper_case_globals)] -+ #[linkage = "weak"] -+ static __rust_alloc_error_handler_should_panic: u8 = 0; -+ -+ // Mangle the symbol name as rustc expects. -+ #[rustc_std_internal_symbol] -+ #[allow(non_upper_case_globals)] -+ #[linkage = "weak"] -+ fn __rust_alloc_error_handler(_size: usize, _align: usize) { -+ // TODO(lukasza): Investigate if we can just call `std::process::abort()` here. -+ // (Not really _needed_, but it could simplify code a little bit.) -+ unsafe { ffi::alloc_error_handler_impl() } -+ } -+ -+ #[cxx::bridge(namespace = "rust_allocator_internal")] -+ mod ffi { -+ extern "C++" { -+ include!("build/rust/allocator/alloc_error_handler_impl.h"); -+ unsafe fn alloc_error_handler_impl(); -+ } -+ } -+} diff --git a/www/iridium/files/patch-build_rust_cargo__crate.gni b/www/iridium/files/patch-build_rust_cargo__crate.gni deleted file mode 100644 index a1590f727aa3..000000000000 --- a/www/iridium/files/patch-build_rust_cargo__crate.gni +++ /dev/null @@ -1,25 +0,0 @@ ---- build/rust/cargo_crate.gni.orig 2025-05-20 09:16:26 UTC -+++ build/rust/cargo_crate.gni -@@ -259,6 +259,12 @@ template("cargo_crate") { - # Don't import the `chromium` crate into third-party code. - no_chromium_prelude = true - -+ # Don't depend on the chrome-specific #[global_allocator] crate from -+ # third-party code. This avoids some dependency cycle issues. The allocator -+ # crate will still be used if it exists anywhere in the dependency graph for -+ # a given linked artifact. -+ no_allocator_crate = true -+ - rustc_metadata = _rustc_metadata - - # TODO(crbug.com/40259764): don't default to true. This requires changes to -@@ -482,6 +488,9 @@ template("cargo_crate") { - - # Don't import the `chromium` crate into third-party code. - no_chromium_prelude = true -+ -+ # Build scripts do not need to link to chrome's allocator. -+ no_allocator_crate = true - - # The ${_build_script_name}_output target looks for the exe in this - # location. Due to how the Windows component build works, this has to diff --git a/www/iridium/files/patch-build_rust_rust__macro.gni b/www/iridium/files/patch-build_rust_rust__macro.gni deleted file mode 100644 index 0dafc3819aa1..000000000000 --- a/www/iridium/files/patch-build_rust_rust__macro.gni +++ /dev/null @@ -1,12 +0,0 @@ ---- build/rust/rust_macro.gni.orig 2025-05-20 09:16:26 UTC -+++ build/rust/rust_macro.gni -@@ -16,6 +16,9 @@ template("rust_macro") { - forward_variables_from(invoker, TESTONLY_AND_VISIBILITY) - proc_macro_configs = invoker.configs - target_type = "rust_proc_macro" -+ -+ # Macros are loaded by rustc and shouldn't use chrome's allocation routines. -+ no_allocator_crate = true - } - } - diff --git a/www/iridium/files/patch-build_rust_rust__target.gni b/www/iridium/files/patch-build_rust_rust__target.gni deleted file mode 100644 index f4ad6f04fc45..000000000000 --- a/www/iridium/files/patch-build_rust_rust__target.gni +++ /dev/null @@ -1,13 +0,0 @@ ---- build/rust/rust_target.gni.orig 2025-05-20 09:16:26 UTC -+++ build/rust/rust_target.gni -@@ -339,6 +339,10 @@ template("rust_target") { - _rust_deps += [ "//build/rust/std" ] - } - -+ if (!defined(invoker.no_allocator_crate) || !invoker.no_allocator_crate) { -+ _rust_deps += [ "//build/rust/allocator" ] -+ } -+ - if (_build_unit_tests) { - _unit_test_target = "${_target_name}_unittests" - if (defined(invoker.unit_test_target)) { diff --git a/www/iridium/files/patch-build_rust_std_BUILD.gn b/www/iridium/files/patch-build_rust_std_BUILD.gn index c6c2801bd47d..e722e4f8bc3f 100644 --- a/www/iridium/files/patch-build_rust_std_BUILD.gn +++ b/www/iridium/files/patch-build_rust_std_BUILD.gn @@ -1,58 +1,6 @@ ---- build/rust/std/BUILD.gn.orig 2025-05-20 09:16:26 UTC +--- build/rust/std/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ build/rust/std/BUILD.gn -@@ -15,51 +15,12 @@ - # allocator functions to PartitionAlloc when `use_partition_alloc_as_malloc` is - # true, so that Rust and C++ use the same allocator backend. - --import("//build/buildflag_header.gni") - import("//build/config/compiler/compiler.gni") - import("//build/config/coverage/coverage.gni") - import("//build/config/rust.gni") - import("//build/config/sanitizers/sanitizers.gni") - --rust_allocator_uses_partition_alloc = false --if (build_with_chromium) { -- import("//base/allocator/partition_allocator/partition_alloc.gni") -- rust_allocator_uses_partition_alloc = use_partition_alloc_as_malloc --} -- --buildflag_header("buildflags") { -- header = "buildflags.h" -- flags = [ -- "RUST_ALLOCATOR_USES_PARTITION_ALLOC=$rust_allocator_uses_partition_alloc", -- ] -- visibility = [ ":*" ] --} -- - if (toolchain_has_rust) { -- # If clang performs the link step, we need to provide the allocator symbols -- # that are normally injected by rustc during linking. -- # -- # We also "happen to" use this to redirect allocations to PartitionAlloc, -- # though that would be better done through a #[global_allocator] crate (see -- # above). -- source_set("remap_alloc") { -- public_deps = [] -- if (rust_allocator_uses_partition_alloc) { -- public_deps += [ "//base/allocator/partition_allocator:partition_alloc" ] -- } -- deps = [ ":buildflags" ] -- sources = [ -- # `alias.*`, `compiler_specific.h`, and `immediate_crash.*` have been -- # copied from `//base`. -- # TODO(crbug.com/40279749): Avoid duplication / reuse code. -- "alias.cc", -- "alias.h", -- "compiler_specific.h", -- "immediate_crash.h", -- "remap_alloc.cc", -- ] -- } -- - # List of Rust stdlib rlibs which are present in the official Rust toolchain - # we are using from the Android team. This is usually a version or two behind - # nightly. Generally this matches the toolchain we build ourselves, but if -@@ -89,13 +50,20 @@ if (toolchain_has_rust) { +@@ -50,13 +50,20 @@ if (toolchain_has_rust) { # These are no longer present in the Windows toolchain. stdlib_files += [ "addr2line", @@ -74,7 +22,7 @@ } if (toolchain_for_rust_host_build_tools) { -@@ -115,7 +83,6 @@ if (toolchain_has_rust) { +@@ -76,7 +83,6 @@ if (toolchain_has_rust) { # don't need to pass to the C++ linker because they're used for specialized # purposes. skip_stdlib_files = [ @@ -82,25 +30,3 @@ "rustc_std_workspace_alloc", "rustc_std_workspace_core", "rustc_std_workspace_std", -@@ -269,8 +236,6 @@ if (toolchain_has_rust) { - foreach(libname, stdlib_files + skip_stdlib_files) { - deps += [ "rules:$libname" ] - } -- -- public_deps = [ ":remap_alloc" ] - } - } else { - action("find_stdlib") { -@@ -396,12 +361,6 @@ if (toolchain_has_rust) { - ":stdlib_public_dependent_libs", - ] - deps = [ ":prebuilt_rustc_copy_to_sysroot" ] -- -- # The host builds tools toolchain supports Rust only and does not use -- # the allocator remapping to point it to PartitionAlloc. -- if (!toolchain_for_rust_host_build_tools) { -- deps += [ ":remap_alloc" ] -- } - } - } - } diff --git a/www/iridium/files/patch-cc_base_features.cc b/www/iridium/files/patch-cc_base_features.cc index 37daa223cf4f..5a44572b28b7 100644 --- a/www/iridium/files/patch-cc_base_features.cc +++ b/www/iridium/files/patch-cc_base_features.cc @@ -1,6 +1,6 @@ ---- cc/base/features.cc.orig 2025-05-07 06:48:23 UTC +--- cc/base/features.cc.orig 2025-06-19 07:37:57 UTC +++ cc/base/features.cc -@@ -48,7 +48,7 @@ const base::FeatureParam<int> kDeferImplInvalidationFr +@@ -52,7 +52,7 @@ const base::FeatureParam<int> kDeferImplInvalidationFr // be using a separate flag to control the launch on GL. BASE_FEATURE(kUseDMSAAForTiles, "UseDMSAAForTiles", diff --git a/www/iridium/files/patch-chrome_app_chrome__main__delegate.cc b/www/iridium/files/patch-chrome_app_chrome__main__delegate.cc index e38af5ff3f40..18c0f95eabb2 100644 --- a/www/iridium/files/patch-chrome_app_chrome__main__delegate.cc +++ b/www/iridium/files/patch-chrome_app_chrome__main__delegate.cc @@ -1,4 +1,4 @@ ---- chrome/app/chrome_main_delegate.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/app/chrome_main_delegate.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/app/chrome_main_delegate.cc @@ -147,7 +147,7 @@ #include "components/webui/about/credit_utils.h" @@ -75,7 +75,7 @@ // On Linux, Chrome does not support running multiple copies under different // DISPLAYs, so the profile directory can be specified in the environment to // support the virtual desktop use-case. -@@ -667,7 +667,7 @@ void RecordMainStartupMetrics(const StartupTimestamps& +@@ -669,7 +669,7 @@ void RecordMainStartupMetrics(const StartupTimestamps& #endif #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ @@ -84,7 +84,7 @@ // Record the startup process creation time on supported platforms. On Android // this is recorded in ChromeMainDelegateAndroid. startup_metric_utils::GetCommon().RecordStartupProcessCreationTime( -@@ -826,7 +826,7 @@ std::optional<int> ChromeMainDelegate::PostEarlyInitia +@@ -828,7 +828,7 @@ std::optional<int> ChromeMainDelegate::PostEarlyInitia #if BUILDFLAG(IS_OZONE) // Initialize Ozone platform and add required feature flags as per platform's // properties. diff --git a/www/iridium/files/patch-chrome_browser_BUILD.gn b/www/iridium/files/patch-chrome_browser_BUILD.gn index 233158193287..7b03bdade6a8 100644 --- a/www/iridium/files/patch-chrome_browser_BUILD.gn +++ b/www/iridium/files/patch-chrome_browser_BUILD.gn @@ -1,6 +1,6 @@ ---- chrome/browser/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/BUILD.gn -@@ -6866,6 +6866,13 @@ static_library("browser") { +@@ -6913,6 +6913,13 @@ static_library("browser") { [ "//third_party/webrtc/modules/desktop_capture:pipewire_config" ] } diff --git a/www/iridium/files/patch-chrome_browser_about__flags.cc b/www/iridium/files/patch-chrome_browser_about__flags.cc index 12835627d5e0..3dda82045f35 100644 --- a/www/iridium/files/patch-chrome_browser_about__flags.cc +++ b/www/iridium/files/patch-chrome_browser_about__flags.cc @@ -1,6 +1,6 @@ ---- chrome/browser/about_flags.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/about_flags.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/about_flags.cc -@@ -260,7 +260,7 @@ +@@ -262,7 +262,7 @@ #include "extensions/common/extension_features.h" #endif @@ -9,7 +9,7 @@ #include "base/allocator/buildflags.h" #endif -@@ -349,7 +349,7 @@ +@@ -352,7 +352,7 @@ #include "device/vr/public/cpp/switches.h" #endif @@ -18,7 +18,7 @@ #include "ui/ozone/public/ozone_switches.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -359,7 +359,7 @@ +@@ -362,7 +362,7 @@ #include "chrome/browser/win/mica_titlebar.h" #endif @@ -27,7 +27,7 @@ #include "chrome/browser/contextual_cueing/contextual_cueing_features.h" // nogncheck #include "chrome/browser/enterprise/profile_management/profile_management_features.h" #include "chrome/browser/enterprise/webstore/features.h" -@@ -371,7 +371,7 @@ +@@ -374,7 +374,7 @@ #include "components/user_education/common/user_education_features.h" // nogncheck #endif @@ -36,7 +36,7 @@ #include "chrome/browser/ui/ui_features.h" #include "ui/base/ui_base_features.h" #endif -@@ -423,7 +423,7 @@ const FeatureEntry::Choice kPullToRefreshChoices[] = { +@@ -426,7 +426,7 @@ const FeatureEntry::Choice kPullToRefreshChoices[] = { #endif // USE_AURA #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -45,7 +45,7 @@ const FeatureEntry::FeatureParam kLocalNetworkAccessChecksBlock[] = { {"LocalNetworkAccessChecksWarn", "false"}}; -@@ -539,7 +539,7 @@ const FeatureEntry::FeatureVariation kDXGIWaitableSwap +@@ -542,7 +542,7 @@ const FeatureEntry::FeatureVariation kDXGIWaitableSwap {"Max 3 Frames", &kDXGIWaitableSwapChain3Frames, 1, nullptr}}; #endif @@ -54,7 +54,7 @@ const FeatureEntry::Choice kOzonePlatformHintRuntimeChoices[] = { {flag_descriptions::kOzonePlatformHintChoiceDefault, "", ""}, {flag_descriptions::kOzonePlatformHintChoiceAuto, -@@ -852,6 +852,26 @@ const FeatureEntry::FeatureVariation +@@ -899,6 +899,26 @@ const FeatureEntry::FeatureVariation std::size(kWebIdentityDigitalIdentityCredentialHighRiskDialogParam), nullptr}}; @@ -81,7 +81,7 @@ const FeatureEntry::FeatureParam kClipboardMaximumAge60Seconds[] = { {"UIClipboardMaximumAge", "60"}}; const FeatureEntry::FeatureParam kClipboardMaximumAge90Seconds[] = { -@@ -1227,7 +1247,7 @@ constexpr FeatureEntry::FeatureVariation +@@ -1274,7 +1294,7 @@ constexpr FeatureEntry::FeatureVariation #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -90,7 +90,7 @@ const FeatureEntry::FeatureParam kHistoryEmbeddingsAtKeywordAcceleration[]{ {"AtKeywordAcceleration", "true"}, }; -@@ -1265,7 +1285,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada +@@ -1312,7 +1332,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada }; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -99,7 +99,7 @@ // A limited number of combinations of the rich autocompletion params. const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive1[] = { -@@ -3555,7 +3575,7 @@ const FeatureEntry::FeatureVariation +@@ -3720,7 +3740,7 @@ const FeatureEntry::FeatureVariation kAndroidThemeModu #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -108,7 +108,7 @@ const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOn[] = {{"link_capturing_state", "on_by_default"}}; const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOff[] = -@@ -4059,7 +4079,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari +@@ -4179,7 +4199,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari std::size(kSkiaGraphite_DebugLabelsEnabled), nullptr}, }; @@ -117,7 +117,7 @@ const FeatureEntry::FeatureParam kTranslationAPI_SkipLanguagePackLimit[] = { {"TranslationAPIAcceptLanguagesCheck", "false"}, {"TranslationAPILimitLanguagePackCount", "false"}}; -@@ -4125,7 +4145,7 @@ const FeatureEntry::FeatureVariation +@@ -4245,7 +4265,7 @@ const FeatureEntry::FeatureVariation 1, nullptr}, }; @@ -126,7 +126,7 @@ const FeatureEntry::FeatureParam kContextualCueingEnabledNoEngagementCap[] = { {"BackoffTime", "0h"}, {"BackoffMultiplierBase", "0.0"}, -@@ -4992,7 +5012,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5175,7 +5195,7 @@ const FeatureEntry kFeatureEntries[] = { }, #endif // BUILDFLAG(IS_WIN) @@ -135,7 +135,7 @@ { "fluent-overlay-scrollbars", flag_descriptions::kFluentOverlayScrollbarsName, -@@ -5279,7 +5299,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5467,7 +5487,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableIsolatedWebAppDevModeName, flag_descriptions::kEnableIsolatedWebAppDevModeDescription, kOsDesktop, FEATURE_VALUE_TYPE(features::kIsolatedWebAppDevMode)}, @@ -144,7 +144,7 @@ {"enable-iwa-key-distribution-component", flag_descriptions::kEnableIwaKeyDistributionComponentName, flag_descriptions::kEnableIwaKeyDistributionComponentDescription, -@@ -5500,7 +5520,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5689,7 +5709,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kWebShare)}, #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) @@ -153,7 +153,7 @@ {"pulseaudio-loopback-for-cast", flag_descriptions::kPulseaudioLoopbackForCastName, flag_descriptions::kPulseaudioLoopbackForCastDescription, kOsLinux, -@@ -5541,6 +5561,16 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5730,6 +5750,16 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kWaylandSessionManagementName, flag_descriptions::kWaylandSessionManagementDescription, kOsLinux, FEATURE_VALUE_TYPE(features::kWaylandSessionManagement)}, @@ -170,16 +170,16 @@ #endif // BUILDFLAG(IS_LINUX) #if BUILDFLAG(ENABLE_VR) -@@ -6427,7 +6457,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6629,7 +6659,7 @@ const FeatureEntry kFeatureEntries[] = { "MlUrlScoring")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - {"omnibox-domain-suggestions", - flag_descriptions::kOmniboxDomainSuggestionsName, - flag_descriptions::kOmniboxDomainSuggestionsDescription, kOsDesktop, -@@ -6697,7 +6727,7 @@ const FeatureEntry kFeatureEntries[] = { + {"omnibox-contextual-search-actions-at-top", + flag_descriptions::kOmniboxContextualSearchActionsAtTopName, + flag_descriptions::kOmniboxContextualSearchActionsAtTopDescription, +@@ -6933,7 +6963,7 @@ const FeatureEntry kFeatureEntries[] = { kNumSrpZpsRelatedSearches, "PowerTools")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -188,7 +188,7 @@ {"history-embeddings", flag_descriptions::kHistoryEmbeddingsName, flag_descriptions::kHistoryEmbeddingsDescription, kOsDesktop, FEATURE_WITH_PARAMS_VALUE_TYPE(history_embeddings::kHistoryEmbeddings, -@@ -7189,7 +7219,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7421,7 +7451,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(printing::features::kAddPrinterViaPrintscanmgr)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -197,7 +197,7 @@ {"cups-ipp-printing-backend", flag_descriptions::kCupsIppPrintingBackendName, flag_descriptions::kCupsIppPrintingBackendDescription, kOsDesktop, -@@ -7437,7 +7467,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7691,7 +7721,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kSupportToolScreenshotDescription, kOsDesktop, FEATURE_VALUE_TYPE(features::kSupportToolScreenshot)}, @@ -206,7 +206,7 @@ {"wasm-tts-component-updater-enabled", flag_descriptions::kWasmTtsComponentUpdaterEnabledName, flag_descriptions::kWasmTtsComponentUpdaterEnabledDescription, kOsDesktop, -@@ -8109,7 +8139,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8373,7 +8403,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(media::kGlobalMediaControlsUpdatedUI)}, #endif // !BUILDFLAG(IS_CHROMEOS) @@ -215,7 +215,7 @@ {"enable-network-service-sandbox", flag_descriptions::kEnableNetworkServiceSandboxName, flag_descriptions::kEnableNetworkServiceSandboxDescription, -@@ -8774,7 +8804,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9037,7 +9067,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(ash::features::kWallpaperGooglePhotosSharedAlbums)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -224,7 +224,7 @@ {"enable-get-all-screens-media", flag_descriptions::kGetAllScreensMediaName, flag_descriptions::kGetAllScreensMediaDescription, kOsCrOS | kOsLinux, FEATURE_VALUE_TYPE(blink::features::kGetAllScreensMedia)}, -@@ -8799,7 +8829,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9062,7 +9092,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kGlobalVaapiLockDescription, kOsCrOS | kOsLinux, FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)}, @@ -233,8 +233,8 @@ { "ui-debug-tools", flag_descriptions::kUIDebugToolsName, -@@ -9275,7 +9305,7 @@ const FeatureEntry kFeatureEntries[] = { - FEATURE_VALUE_TYPE(features::kRenderPassDrawnRect)}, +@@ -9542,7 +9572,7 @@ const FeatureEntry kFeatureEntries[] = { + #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) @@ -242,7 +242,7 @@ {"media-session-enter-picture-in-picture", flag_descriptions::kMediaSessionEnterPictureInPictureName, flag_descriptions::kMediaSessionEnterPictureInPictureDescription, -@@ -9924,7 +9954,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10214,7 +10244,7 @@ const FeatureEntry kFeatureEntries[] = { kOsDesktop | kOsAndroid, FEATURE_VALUE_TYPE(features::kProcessPerSiteUpToMainFrameThreshold)}, @@ -251,7 +251,7 @@ {"camera-mic-effects", flag_descriptions::kCameraMicEffectsName, flag_descriptions::kCameraMicEffectsDescription, static_cast<unsigned short>(kOsMac | kOsWin | kOsLinux), -@@ -10048,7 +10078,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10338,7 +10368,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(chrome::android::kReadAloudTapToSeek)}, #endif @@ -260,7 +260,7 @@ {"third-party-profile-management", flag_descriptions::kThirdPartyProfileManagementName, flag_descriptions::kThirdPartyProfileManagementDescription, -@@ -10077,7 +10107,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10367,7 +10397,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -269,7 +269,7 @@ {"enable-user-navigation-capturing-pwa", flag_descriptions::kPwaNavigationCapturingName, flag_descriptions::kPwaNavigationCapturingDescription, -@@ -10817,7 +10847,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11085,7 +11115,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kCanvasHibernationDescription, kOsAll, FEATURE_VALUE_TYPE(blink::features::kCanvas2DHibernation)}, @@ -278,7 +278,7 @@ {"enable-history-sync-optin", flag_descriptions::kEnableHistorySyncOptinName, flag_descriptions::kEnableHistorySyncOptinDescription, -@@ -10920,7 +10950,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11187,7 +11217,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(switches::kForceSupervisedSigninWithCapabilities)}, #endif // BUILDFLAG(IS_ANDROID) @@ -287,7 +287,7 @@ {"supervised-profile-safe-search", flag_descriptions::kSupervisedProfileSafeSearchName, flag_descriptions::kSupervisedProfileSafeSearchDescription, -@@ -11167,7 +11197,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11435,7 +11465,7 @@ const FeatureEntry kFeatureEntries[] = { segmentation_platform::features::kSegmentationSurveyPage)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -296,7 +296,7 @@ {"autofill-enable-buy-now-pay-later", flag_descriptions::kAutofillEnableBuyNowPayLaterName, flag_descriptions::kAutofillEnableBuyNowPayLaterDescription, kOsDesktop, -@@ -11282,7 +11312,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11536,7 +11566,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( autofill::features::kAutofillEnableCardInfoRuntimeRetrieval)}, @@ -305,7 +305,7 @@ {"translation-api", flag_descriptions::kTranslationAPIName, flag_descriptions::kTranslationAPIDescription, kOsMac | kOsWin | kOsLinux, FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kTranslationAPI, -@@ -11319,7 +11349,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11573,7 +11603,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( password_manager::features::kPasswordFormClientsideClassifier)}, @@ -314,7 +314,7 @@ {"contextual-cueing", flag_descriptions::kContextualCueingName, flag_descriptions::kContextualCueingDescription, kOsLinux | kOsMac | kOsWin, -@@ -11653,7 +11683,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11904,7 +11934,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(ui::kUseNewEtc1Encoder)}, #endif // !BUILDFLAG(IS_ANDROID) @@ -323,7 +323,7 @@ {"automatic-usb-detach", flag_descriptions::kAutomaticUsbDetachName, flag_descriptions::kAutomaticUsbDetachDescription, kOsAndroid | kOsLinux, FEATURE_VALUE_TYPE(features::kAutomaticUsbDetach)}, -@@ -11703,7 +11733,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11954,7 +11984,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -332,7 +332,7 @@ {"autofill-enable-amount-extraction-desktop", flag_descriptions::kAutofillEnableAmountExtractionDesktopName, flag_descriptions::kAutofillEnableAmountExtractionDesktopDescription, -@@ -11723,7 +11753,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11974,7 +12004,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(blink::features::kClipboardContentsId)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -341,7 +341,7 @@ {"autofill-enable-amount-extraction-allowlist-desktop", flag_descriptions::kAutofillEnableAmountExtractionAllowlistDesktopName, flag_descriptions:: -@@ -11834,7 +11864,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12092,7 +12122,7 @@ const FeatureEntry kFeatureEntries[] = { apps::chrome_app_deprecation::kAllowUserInstalledChromeApps)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -350,7 +350,7 @@ {"chrome-web-store-navigation-throttle", flag_descriptions::kChromeWebStoreNavigationThrottleName, flag_descriptions::kChromeWebStoreNavigationThrottleDescription, -@@ -11869,7 +11899,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12128,7 +12158,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -359,7 +359,7 @@ {"autofill-enable-amount-extraction-desktop-logging", flag_descriptions::kAutofillEnableAmountExtractionDesktopLoggingName, flag_descriptions:: -@@ -11899,7 +11929,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12151,7 +12181,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableWebAppUpdateTokenParsingDescription, kOsAll, FEATURE_VALUE_TYPE(features::kWebAppEnableUpdateTokenParsing)}, @@ -368,7 +368,7 @@ {"root-scrollbar-follows-browser-theme", flag_descriptions::kRootScrollbarFollowsTheme, flag_descriptions::kRootScrollbarFollowsThemeDescription, -@@ -11921,7 +11951,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12180,7 +12210,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ diff --git a/www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc b/www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc index ce88fa8d98f5..b51ddfc74658 100644 --- a/www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc +++ b/www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc @@ -1,4 +1,4 @@ ---- chrome/browser/background/glic/glic_status_icon.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/background/glic/glic_status_icon.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/background/glic/glic_status_icon.cc @@ -86,7 +86,7 @@ GlicStatusIcon::GlicStatusIcon(GlicController* control if (!status_icon_) { @@ -25,14 +25,14 @@ -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (context_menu_) { - context_menu_->SetCommandIdVisible(IDC_GLIC_STATUS_ICON_MENU_EXIT, - BrowserList::GetInstance()->empty()); -@@ -272,7 +272,7 @@ std::unique_ptr<StatusIconMenuModel> GlicStatusIcon::C - menu->AddItem( - IDC_GLIC_STATUS_ICON_MENU_REMOVE_ICON, - l10n_util::GetStringUTF16(IDS_GLIC_STATUS_ICON_MENU_REMOVE_ICON)); + const bool is_visible = BrowserList::GetInstance()->empty(); + const std::optional<size_t> index = +@@ -284,7 +284,7 @@ std::unique_ptr<StatusIconMenuModel> GlicStatusIcon::C + menu->AddItem(IDC_GLIC_STATUS_ICON_MENU_SETTINGS, + l10n_util::GetStringUTF16(IDS_GLIC_STATUS_ICON_MENU_SETTINGS)); + -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + menu->AddSeparator(ui::NORMAL_SEPARATOR); menu->AddItem(IDC_GLIC_STATUS_ICON_MENU_EXIT, l10n_util::GetStringUTF16(IDS_GLIC_STATUS_ICON_MENU_EXIT)); - #endif diff --git a/www/iridium/files/patch-chrome_browser_browser__process__impl.cc b/www/iridium/files/patch-chrome_browser_browser__process__impl.cc index 25d894bf3466..7a954e6f7e8d 100644 --- a/www/iridium/files/patch-chrome_browser_browser__process__impl.cc +++ b/www/iridium/files/patch-chrome_browser_browser__process__impl.cc @@ -1,6 +1,6 @@ ---- chrome/browser/browser_process_impl.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/browser_process_impl.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/browser_process_impl.cc -@@ -259,7 +259,7 @@ +@@ -260,7 +260,7 @@ #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" #endif @@ -9,7 +9,7 @@ #include "chrome/browser/browser_features.h" #include "components/os_crypt/async/browser/fallback_linux_key_provider.h" #include "components/os_crypt/async/browser/freedesktop_secret_key_provider.h" -@@ -271,7 +271,7 @@ +@@ -272,7 +272,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_service.h" #endif @@ -18,7 +18,7 @@ // How often to check if the persistent instance of Chrome needs to restart // to install an update. static const int kUpdateCheckIntervalHours = 6; -@@ -1145,7 +1145,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySim +@@ -1167,7 +1167,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySim GoogleUpdateSettings::GetCollectStatsConsent()); registry->RegisterBooleanPref(prefs::kDevToolsRemoteDebuggingAllowed, true); @@ -27,7 +27,7 @@ os_crypt_async::SecretPortalKeyProvider::RegisterLocalPrefs(registry); #endif } -@@ -1413,7 +1413,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() { +@@ -1435,7 +1435,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() { local_state()))); #endif // BUILDFLAG(IS_WIN) @@ -36,7 +36,7 @@ base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); if (cmd_line->GetSwitchValueASCII(password_manager::kPasswordStore) != "basic") { -@@ -1682,7 +1682,7 @@ void BrowserProcessImpl::Unpin() { +@@ -1719,7 +1719,7 @@ void BrowserProcessImpl::Unpin() { } // Mac is currently not supported. diff --git a/www/iridium/files/patch-chrome_browser_browser__process__impl.h b/www/iridium/files/patch-chrome_browser_browser__process__impl.h index 0e924548c16a..398240bb4446 100644 --- a/www/iridium/files/patch-chrome_browser_browser__process__impl.h +++ b/www/iridium/files/patch-chrome_browser_browser__process__impl.h @@ -1,6 +1,6 @@ ---- chrome/browser/browser_process_impl.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/browser_process_impl.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/browser_process_impl.h -@@ -408,7 +408,7 @@ class BrowserProcessImpl : public BrowserProcess, +@@ -416,7 +416,7 @@ class BrowserProcessImpl : public BrowserProcess, std::unique_ptr<BatteryMetrics> battery_metrics_; diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc index be6bf01b26ac..37b93482a430 100644 --- a/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc +++ b/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc @@ -1,6 +1,6 @@ ---- chrome/browser/chrome_browser_field_trials.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/chrome_browser_field_trials.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/chrome_browser_field_trials.cc -@@ -37,7 +37,7 @@ +@@ -38,7 +38,7 @@ #include "chromeos/ash/services/multidevice_setup/public/cpp/first_run_field_trial.h" #endif @@ -9,7 +9,7 @@ #include "base/nix/xdg_util.h" #include "ui/base/ui_base_features.h" #endif // BUILDFLAG(IS_LINUX) -@@ -117,7 +117,7 @@ void ChromeBrowserFieldTrials::RegisterSyntheticTrials +@@ -118,7 +118,7 @@ void ChromeBrowserFieldTrials::RegisterSyntheticTrials #endif // BUILDFLAG(IS_ANDROID) } diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc index 30694d4f4f5f..b44834b937a9 100644 --- a/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc +++ b/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc @@ -1,6 +1,6 @@ ---- chrome/browser/chrome_browser_interface_binders.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/chrome_browser_interface_binders.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/chrome_browser_interface_binders.cc -@@ -77,7 +77,7 @@ +@@ -81,7 +81,7 @@ #endif // BUILDFLAG(ENABLE_UNHANDLED_TAP) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ #include "chrome/browser/screen_ai/screen_ai_service_router.h" #include "chrome/browser/screen_ai/screen_ai_service_router_factory.h" #include "chrome/browser/ui/web_applications/sub_apps_service_impl.h" -@@ -358,7 +358,7 @@ void BindMediaFoundationPreferences( +@@ -363,7 +363,7 @@ void BindMediaFoundationPreferences( #endif // BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -18,7 +18,7 @@ void BindScreenAIAnnotator( content::RenderFrameHost* frame_host, mojo::PendingReceiver<screen_ai::mojom::ScreenAIAnnotator> receiver) { -@@ -500,7 +500,7 @@ void PopulateChromeFrameBinders( +@@ -520,7 +520,7 @@ void PopulateChromeFrameBinders( #endif // BUILDFLAG(ENABLE_SPEECH_SERVICE) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc index 27438125f6d5..79e5b787a2f1 100644 --- a/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc +++ b/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc @@ -1,6 +1,6 @@ ---- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/chrome_browser_interface_binders_webui.cc -@@ -47,7 +47,7 @@ +@@ -48,20 +48,20 @@ #include "content/public/browser/web_ui_controller_interface_binder.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -8,17 +8,23 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/connectors_internals/connectors_internals.mojom.h" #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h" - #include "chrome/browser/ui/webui/discards/discards.mojom.h" -@@ -56,7 +56,7 @@ #include "ui/webui/resources/cr_components/app_management/app_management.mojom.h" #endif + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD) + #include "chrome/browser/ui/webui/discards/discards.mojom.h" + #include "chrome/browser/ui/webui/discards/discards_ui.h" + #include "chrome/browser/ui/webui/discards/site_data.mojom.h" + #endif + -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h" #include "chrome/browser/ui/webui/on_device_translation_internals/on_device_translation_internals_ui.h" #include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin.mojom.h" -@@ -445,7 +445,7 @@ void PopulateChromeWebUIFrameBinders( +@@ -452,7 +452,7 @@ void PopulateChromeWebUIFrameBinders( #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -27,7 +33,7 @@ RegisterWebUIControllerInterfaceBinder< connectors_internals::mojom::PageHandler, enterprise_connectors::ConnectorsInternalsUI>(map); -@@ -456,7 +456,7 @@ void PopulateChromeWebUIFrameBinders( +@@ -463,7 +463,7 @@ void PopulateChromeWebUIFrameBinders( policy::DlpInternalsUI>(map); #endif @@ -36,7 +42,7 @@ RegisterWebUIControllerInterfaceBinder< app_management::mojom::PageHandlerFactory, WebAppSettingsUI>(map); -@@ -583,14 +583,14 @@ void PopulateChromeWebUIFrameBinders( +@@ -593,14 +593,14 @@ void PopulateChromeWebUIFrameBinders( HistoryClustersSidePanelUI, NewTabPageUI, BookmarksSidePanelUI>(map); } @@ -53,12 +59,12 @@ WhatsNewUI, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) NewTabPageUI>(map); -@@ -1123,7 +1123,7 @@ void PopulateChromeWebUIFrameBinders( +@@ -1133,7 +1133,7 @@ void PopulateChromeWebUIFrameBinders( #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD) RegisterWebUIControllerInterfaceBinder<discards::mojom::DetailsProvider, DiscardsUI>(map); diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc index dd7571e733ec..61b569963900 100644 --- a/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc +++ b/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc @@ -1,6 +1,6 @@ ---- chrome/browser/chrome_browser_main.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/chrome_browser_main.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/chrome_browser_main.cc -@@ -149,7 +149,7 @@ +@@ -150,7 +150,7 @@ #endif #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ #include "sql/database.h" #endif -@@ -175,11 +175,11 @@ +@@ -176,11 +176,11 @@ #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" #endif // BUILDFLAG(IS_CHROMEOS) @@ -23,7 +23,7 @@ #include "chrome/browser/headless/headless_mode_metrics.h" // nogncheck #include "chrome/browser/headless/headless_mode_util.h" // nogncheck #include "chrome/browser/metrics/desktop_session_duration/desktop_session_duration_tracker.h" -@@ -190,7 +190,7 @@ +@@ -191,7 +191,7 @@ #include "ui/gfx/switches.h" #endif @@ -32,7 +32,7 @@ #include "chrome/browser/first_run/upgrade_util.h" #endif -@@ -268,7 +268,7 @@ +@@ -269,7 +269,7 @@ #include "chrome/browser/chrome_process_singleton.h" #include "chrome/browser/ui/startup/startup_browser_creator.h" @@ -41,7 +41,7 @@ #include "base/nix/xdg_util.h" #endif #endif // BUILDFLAG(ENABLE_PROCESS_SINGLETON) -@@ -291,7 +291,7 @@ +@@ -292,7 +292,7 @@ namespace { #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ @@ -50,7 +50,7 @@ constexpr base::FilePath::CharType kMediaHistoryDatabaseName[] = FILE_PATH_LITERAL("Media History"); -@@ -442,7 +442,7 @@ void ProcessSingletonNotificationCallbackImpl( +@@ -443,7 +443,7 @@ void ProcessSingletonNotificationCallbackImpl( } #endif @@ -59,7 +59,7 @@ // Set the global activation token sent as a command line switch by another // browser process. This also removes the switch after use to prevent any side // effects of leaving it in the command line after this point. -@@ -1016,7 +1016,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { +@@ -1021,7 +1021,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { browser_creator_->AddFirstRunTabs(master_prefs_->new_tabs); } @@ -68,7 +68,7 @@ // Create directory for user-level Native Messaging manifest files. This // makes it less likely that the directory will be created by third-party // software with incorrect owner or permission. See crbug.com/725513 . -@@ -1061,7 +1061,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { +@@ -1066,7 +1066,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { #endif // BUILDFLAG(IS_MAC) @@ -77,7 +77,7 @@ metrics::DesktopSessionDurationTracker::Initialize(); ProfileActivityMetricsRecorder::Initialize(); TouchModeStatsTracker::Initialize( -@@ -1257,7 +1257,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile* +@@ -1262,7 +1262,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile* #endif // BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ @@ -86,7 +86,7 @@ // Delete the media history database if it still exists. // TODO(crbug.com/40177301): Remove this. base::ThreadPool::PostTask( -@@ -1305,7 +1305,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile* +@@ -1310,7 +1310,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile* *UrlLanguageHistogramFactory::GetForBrowserContext(profile)); #endif @@ -95,7 +95,7 @@ if (headless::IsHeadlessMode()) { headless::ReportHeadlessActionMetrics(); } -@@ -1414,7 +1414,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl( +@@ -1419,7 +1419,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl( // In headless mode provide alternate SelectFileDialog factory overriding // any platform specific SelectFileDialog implementation that may have been // set. @@ -104,7 +104,7 @@ if (headless::IsHeadlessMode()) { headless::HeadlessSelectFileDialogFactory::SetUp(); } -@@ -1961,7 +1961,7 @@ bool ChromeBrowserMainParts::ProcessSingletonNotificat +@@ -1966,7 +1966,7 @@ bool ChromeBrowserMainParts::ProcessSingletonNotificat // Drop the request if headless mode is in effect or the request is from // a headless Chrome process. diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc index fd485655f51d..3af6d2353e58 100644 --- a/www/iridium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc +++ b/www/iridium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc @@ -1,11 +1,11 @@ ---- chrome/browser/chrome_browser_main_extra_parts_linux.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/chrome_browser_main_extra_parts_linux.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/chrome_browser_main_extra_parts_linux.cc -@@ -58,7 +58,7 @@ void ChromeBrowserMainExtraPartsLinux::PostBrowserStar +@@ -60,7 +60,7 @@ void ChromeBrowserMainExtraPartsLinux::PostBrowserStar // static void ChromeBrowserMainExtraPartsLinux::InitOzonePlatformHint() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - auto* const command_line = base::CommandLine::ForCurrentProcess(); - auto env = base::Environment::Create(); - std::string desktop_startup_id; + base::CommandLine* const command_line = + base::CommandLine::ForCurrentProcess(); + std::unique_ptr<base::Environment> env = base::Environment::Create(); diff --git a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc index 6af38235692b..4c4998b4f7b5 100644 --- a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc +++ b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc @@ -1,4 +1,4 @@ ---- chrome/browser/chrome_content_browser_client.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/chrome_content_browser_client.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/chrome_content_browser_client.cc @@ -506,7 +506,7 @@ #include "components/user_manager/user_manager.h" @@ -9,7 +9,7 @@ #include "chrome/browser/chrome_browser_main_linux.h" #include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h" #elif BUILDFLAG(IS_ANDROID) -@@ -622,11 +622,11 @@ +@@ -621,11 +621,11 @@ #include "services/network/public/mojom/permissions_policy/permissions_policy_feature.mojom.h" #endif // !BUILDFLAG(IS_ANDROID) @@ -23,7 +23,7 @@ #include "components/crash/core/app/crash_switches.h" #include "components/crash/core/app/crashpad.h" #endif -@@ -637,7 +637,7 @@ +@@ -636,7 +636,7 @@ #include "chrome/browser/apps/link_capturing/web_app_link_capturing_delegate.h" #endif @@ -32,16 +32,16 @@ #include "chrome/browser/enterprise/chrome_browser_main_extra_parts_enterprise.h" #include "chrome/browser/enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.h" #include "chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.h" -@@ -646,7 +646,7 @@ +@@ -647,7 +647,7 @@ #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/enterprise/connectors/device_trust/navigation_throttle.h" + #include "chrome/browser/enterprise/incognito/incognito_navigation_throttle.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || - // BUILDFLAG(IS_CHROMEOS) -@@ -655,7 +655,7 @@ +@@ -657,7 +657,7 @@ #include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h" #endif @@ -50,7 +50,7 @@ #include "chrome/browser/chrome_browser_main_extra_parts_linux.h" #elif BUILDFLAG(IS_OZONE) #include "chrome/browser/chrome_browser_main_extra_parts_ozone.h" -@@ -1549,7 +1549,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePre +@@ -1558,7 +1558,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePre registry->RegisterBooleanPref(prefs::kDeviceNativeClientForceAllowedCache, false); #endif // BUILDFLAG(IS_CHROMEOS) @@ -59,7 +59,16 @@ registry->RegisterBooleanPref(prefs::kOutOfProcessSystemDnsResolutionEnabled, true); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) -@@ -1758,7 +1758,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo +@@ -1651,7 +1651,7 @@ void ChromeContentBrowserClient::RegisterProfilePrefs( + policy::policy_prefs::kForcePermissionPolicyUnloadDefaultEnabled, false); + + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_LINUX) ++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + registry->RegisterListPref(prefs::kMandatoryExtensionsForIncognitoNavigation); + #endif + +@@ -1775,7 +1775,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo #elif BUILDFLAG(IS_CHROMEOS) main_parts = std::make_unique<ash::ChromeBrowserMainPartsAsh>( is_integration_test, &startup_data_); @@ -68,7 +77,7 @@ main_parts = std::make_unique<ChromeBrowserMainPartsLinux>( is_integration_test, &startup_data_); #elif BUILDFLAG(IS_ANDROID) -@@ -1787,7 +1787,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo +@@ -1804,7 +1804,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo // Construct additional browser parts. Stages are called in the order in // which they are added. #if defined(TOOLKIT_VIEWS) @@ -77,7 +86,7 @@ main_parts->AddParts( std::make_unique<ChromeBrowserMainExtraPartsViewsLinux>()); #else -@@ -1804,7 +1804,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo +@@ -1821,7 +1821,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsAsh>()); #endif @@ -86,7 +95,7 @@ main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsLinux>()); #elif BUILDFLAG(IS_OZONE) main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsOzone>()); -@@ -1823,7 +1823,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo +@@ -1840,7 +1840,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo chrome::AddMetricsExtraParts(main_parts.get()); @@ -95,7 +104,7 @@ main_parts->AddParts( std::make_unique< enterprise_util::ChromeBrowserMainExtraPartsEnterprise>()); -@@ -2706,7 +2706,9 @@ void MaybeAppendBlinkSettingsSwitchForFieldTrial( +@@ -2744,7 +2744,9 @@ void MaybeAppendBlinkSettingsSwitchForFieldTrial( void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( base::CommandLine* command_line, int child_process_id) { @@ -105,7 +114,7 @@ #if BUILDFLAG(IS_MAC) std::unique_ptr<metrics::ClientInfo> client_info = GoogleUpdateSettings::LoadMetricsClientInfo(); -@@ -2715,7 +2717,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin +@@ -2753,7 +2755,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin client_info->client_id); } #elif BUILDFLAG(IS_POSIX) @@ -114,7 +123,7 @@ pid_t pid; if (crash_reporter::GetHandlerSocket(nullptr, &pid)) { command_line->AppendSwitchASCII( -@@ -3080,7 +3082,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin +@@ -3117,7 +3119,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin } } @@ -123,7 +132,7 @@ // Opt into a hardened stack canary mitigation if it hasn't already been // force-disabled. if (!browser_command_line.HasSwitch(switches::kChangeStackGuardOnFork)) { -@@ -4030,7 +4032,7 @@ bool UpdatePreferredColorScheme(WebPreferences* web_pr +@@ -4067,7 +4069,7 @@ bool UpdatePreferredColorScheme(WebPreferences* web_pr return old_preferred_color_scheme != web_prefs->preferred_color_scheme; } @@ -132,7 +141,7 @@ // Sets the `root_scrollbar_theme_color` web pref if the user has enabled a // custom colored frame for the UI. void UpdateRootScrollbarThemeColor(Profile* profile, -@@ -4657,7 +4659,7 @@ void ChromeContentBrowserClient::OverrideWebPreference +@@ -4697,7 +4699,7 @@ void ChromeContentBrowserClient::OverrideWebPreference UpdatePreferredColorScheme(web_prefs, main_frame_site.GetSiteURL(), web_contents, GetWebTheme()); @@ -141,7 +150,7 @@ UpdateRootScrollbarThemeColor(profile, web_contents, web_prefs); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -@@ -4973,7 +4975,7 @@ void ChromeContentBrowserClient::GetAdditionalFileSyst +@@ -5017,7 +5019,7 @@ void ChromeContentBrowserClient::GetAdditionalFileSyst } } @@ -150,7 +159,7 @@ void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess( const base::CommandLine& command_line, int child_process_id, -@@ -5485,7 +5487,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati +@@ -5529,7 +5531,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati &throttles); } @@ -159,7 +168,7 @@ MaybeAddThrottle( WebAppSettingsNavigationThrottle::MaybeCreateThrottleFor(handle), &throttles); -@@ -5502,7 +5504,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati +@@ -5553,7 +5555,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -168,7 +177,7 @@ MaybeAddThrottle(enterprise_connectors::DeviceTrustNavigationThrottle:: MaybeCreateThrottleFor(handle), &throttles); -@@ -5543,7 +5545,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati +@@ -5594,7 +5596,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati } #endif @@ -177,7 +186,16 @@ MaybeAddThrottle(browser_switcher::BrowserSwitcherNavigationThrottle:: MaybeCreateThrottleFor(handle), &throttles); -@@ -7496,7 +7498,7 @@ bool ChromeContentBrowserClient::ShouldSandboxNetworkS +@@ -5716,7 +5718,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati + &throttles); + #endif // BUILDFLAG(IS_CHROMEOS) + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + if (profile && profile->IsIncognitoProfile() && profile->IsOffTheRecord()) { + MaybeAddThrottle(enterprise_incognito::IncognitoNavigationThrottle:: + MaybeCreateThrottleFor(handle), +@@ -7544,7 +7546,7 @@ bool ChromeContentBrowserClient::ShouldSandboxNetworkS bool ChromeContentBrowserClient::ShouldRunOutOfProcessSystemDnsResolution() { // This enterprise policy is supported on Android, but the feature will not be // launched there. diff --git a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h index 488acfaa6e19..1b1cf63e3130 100644 --- a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h +++ b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h @@ -1,6 +1,6 @@ ---- chrome/browser/chrome_content_browser_client.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/chrome_content_browser_client.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/chrome_content_browser_client.h -@@ -555,7 +555,7 @@ class ChromeContentBrowserClient : public content::Con +@@ -560,7 +560,7 @@ class ChromeContentBrowserClient : public content::Con bool IsPluginAllowedToUseDevChannelAPIs( content::BrowserContext* browser_context, const GURL& url) override; diff --git a/www/iridium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.cc b/www/iridium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.cc index b0e9b3ddfc01..38439e344da2 100644 --- a/www/iridium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.cc +++ b/www/iridium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.cc @@ -1,6 +1,6 @@ ---- chrome/browser/component_updater/iwa_key_distribution_component_installer.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/component_updater/iwa_key_distribution_component_installer.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/component_updater/iwa_key_distribution_component_installer.cc -@@ -64,7 +64,7 @@ component_updater::OnDemandUpdater::Priority GetOnDema +@@ -77,7 +77,7 @@ bool IsOnDemandUpdateSupported() { namespace component_updater { @@ -9,7 +9,7 @@ BASE_FEATURE(kIwaKeyDistributionComponent, "IwaKeyDistributionComponent", #if BUILDFLAG(IS_CHROMEOS) -@@ -89,7 +89,7 @@ bool IwaKeyDistributionComponentInstallerPolicy::IsSup +@@ -102,7 +102,7 @@ bool IwaKeyDistributionComponentInstallerPolicy::IsSup // the main IWA feature. #if BUILDFLAG(IS_WIN) return base::FeatureList::IsEnabled(features::kIsolatedWebApps); diff --git a/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc b/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc index dae972e24c3d..15fa846b9df5 100644 --- a/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc +++ b/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc @@ -1,15 +1,24 @@ ---- chrome/browser/component_updater/wasm_tts_engine_component_installer.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/component_updater/wasm_tts_engine_component_installer.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/component_updater/wasm_tts_engine_component_installer.cc -@@ -8,7 +8,7 @@ - #include "base/functional/callback.h" +@@ -9,7 +9,7 @@ #include "base/logging.h" + #include "content/public/browser/browser_thread.h" -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/accessibility/embedded_a11y_extension_loader.h" #include "chrome/common/extensions/extension_constants.h" - #include "components/crx_file/id_util.h" -@@ -70,7 +70,7 @@ void WasmTtsEngineComponentInstallerPolicy::ComponentR + #include "ui/accessibility/accessibility_features.h" +@@ -41,7 +41,7 @@ constexpr std::array<uint8_t, 32> kWasmTtsEnginePublic + + const char kWasmTtsEngineManifestName[] = "WASM TTS Engine"; + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + class WasmTTSEngineDirectory { + public: + static WasmTTSEngineDirectory* Get() { +@@ -111,7 +111,7 @@ void WasmTtsEngineComponentInstallerPolicy::ComponentR VLOG(1) << "Component ready, version " << version.GetString() << " in " << install_dir.value(); @@ -17,13 +26,13 @@ +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (features::IsWasmTtsComponentUpdaterEnabled() && !features::IsWasmTtsEngineAutoInstallDisabled()) { - EmbeddedA11yExtensionLoader::GetInstance()->Init(); -@@ -121,7 +121,7 @@ void RegisterWasmTtsEngineComponent(ComponentUpdateSer - installer->Register(cus, base::OnceClosure()); - } + // Instead of installing the component extension as soon as it is ready, +@@ -166,7 +166,7 @@ void RegisterWasmTtsEngineComponent(ComponentUpdateSer + void WasmTtsEngineComponentInstallerPolicy::GetWasmTTSEngineDirectory( + base::OnceCallback<void(const base::FilePath&)> callback) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - std::string WasmTtsEngineComponentInstallerPolicy::GetId() { - return crx_file::id_util::GenerateIdFromHash((kWasmTtsEnginePublicKeySHA256)); - } + WasmTTSEngineDirectory* wasm_directory = WasmTTSEngineDirectory::Get(); + wasm_directory->Get(std::move(callback)); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.h b/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.h deleted file mode 100644 index a797eaf15b52..000000000000 --- a/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.h +++ /dev/null @@ -1,11 +0,0 @@ ---- chrome/browser/component_updater/wasm_tts_engine_component_installer.h.orig 2025-05-07 06:48:23 UTC -+++ chrome/browser/component_updater/wasm_tts_engine_component_installer.h -@@ -27,7 +27,7 @@ class WasmTtsEngineComponentInstallerPolicy : public C - WasmTtsEngineComponentInstallerPolicy& operator=( - const WasmTtsEngineComponentInstallerPolicy&) = delete; - --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - static std::string GetId(); - #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) - diff --git a/www/iridium/files/patch-chrome_browser_devtools_features.cc b/www/iridium/files/patch-chrome_browser_devtools_features.cc index 16712c0e7db5..3a6274c98fc9 100644 --- a/www/iridium/files/patch-chrome_browser_devtools_features.cc +++ b/www/iridium/files/patch-chrome_browser_devtools_features.cc @@ -1,8 +1,8 @@ ---- chrome/browser/devtools/features.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/devtools/features.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/devtools/features.cc -@@ -157,7 +157,7 @@ BASE_FEATURE(kDevToolsAiGeneratedTimelineLabels, - "DevToolsAiGeneratedTimelineLabels", - base::FEATURE_DISABLED_BY_DEFAULT); +@@ -164,7 +164,7 @@ BASE_FEATURE(kDevToolsNewPermissionDialog, + "DevToolsNewPermissionDialog", + base::FEATURE_ENABLED_BY_DEFAULT); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/iridium/files/patch-chrome_browser_devtools_features.h b/www/iridium/files/patch-chrome_browser_devtools_features.h index 7cfa7ddab0cc..604d20e19b68 100644 --- a/www/iridium/files/patch-chrome_browser_devtools_features.h +++ b/www/iridium/files/patch-chrome_browser_devtools_features.h @@ -1,8 +1,8 @@ ---- chrome/browser/devtools/features.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/devtools/features.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/devtools/features.h -@@ -89,7 +89,7 @@ BASE_DECLARE_FEATURE(kDevToolsCssValueTracing); +@@ -92,7 +92,7 @@ BASE_DECLARE_FEATURE(kDevToolsAiGeneratedTimelineLabel - BASE_DECLARE_FEATURE(kDevToolsAiGeneratedTimelineLabels); + BASE_DECLARE_FEATURE(kDevToolsNewPermissionDialog); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc b/www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc index 44fe2a2473a8..59f5ae8273e9 100644 --- a/www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc +++ b/www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc @@ -1,6 +1,6 @@ ---- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/download/chrome_download_manager_delegate.cc -@@ -1864,7 +1864,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe +@@ -1889,7 +1889,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe bool ChromeDownloadManagerDelegate::IsOpenInBrowserPreferredForFile( const base::FilePath& path) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -9,7 +9,7 @@ if (path.MatchesExtension(FILE_PATH_LITERAL(".pdf"))) { return !download_prefs_->ShouldOpenPdfInSystemReader(); } -@@ -2000,7 +2000,7 @@ void ChromeDownloadManagerDelegate::CheckDownloadAllow +@@ -2025,7 +2025,7 @@ void ChromeDownloadManagerDelegate::CheckDownloadAllow content::CheckDownloadAllowedCallback check_download_allowed_cb) { DCHECK_CURRENTLY_ON(BrowserThread::UI); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -18,7 +18,7 @@ // Don't download pdf if it is a file URL, as that might cause an infinite // download loop if Chrome is not the system pdf viewer. if (url.SchemeIsFile() && download_prefs_->ShouldOpenPdfInSystemReader()) { -@@ -2082,7 +2082,7 @@ void ChromeDownloadManagerDelegate::CheckSavePackageAl +@@ -2107,7 +2107,7 @@ void ChromeDownloadManagerDelegate::CheckSavePackageAl DCHECK(download_item->IsSavePackageDownload()); #if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ diff --git a/www/iridium/files/patch-chrome_browser_download_download__item__model.cc b/www/iridium/files/patch-chrome_browser_download_download__item__model.cc index f11e88132ced..d08094e88192 100644 --- a/www/iridium/files/patch-chrome_browser_download_download__item__model.cc +++ b/www/iridium/files/patch-chrome_browser_download_download__item__model.cc @@ -1,4 +1,4 @@ ---- chrome/browser/download/download_item_model.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/download/download_item_model.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/download/download_item_model.cc @@ -772,7 +772,7 @@ bool DownloadItemModel::IsCommandChecked( download_crx_util::IsExtensionDownload(*download_); @@ -18,7 +18,7 @@ if (download_commands->CanOpenPdfInSystemViewer()) { prefs->SetShouldOpenPdfInSystemReader(!is_checked); SetShouldPreferOpeningInBrowser(is_checked); -@@ -1206,7 +1206,7 @@ void DownloadItemModel::DetermineAndSetShouldPreferOpe +@@ -1210,7 +1210,7 @@ void DownloadItemModel::DetermineAndSetShouldPreferOpe return; } diff --git a/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc b/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc new file mode 100644 index 000000000000..24617c9460a8 --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc @@ -0,0 +1,38 @@ +--- chrome/browser/enterprise/browser_management/browser_management_service.cc.orig 2025-06-19 07:37:57 UTC ++++ chrome/browser/enterprise/browser_management/browser_management_service.cc +@@ -50,7 +50,7 @@ GetManagementStatusProviders(Profile* profile) { + + BrowserManagementService::BrowserManagementService(Profile* profile) + : ManagementService(GetManagementStatusProviders(profile)) { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + base::SequencedTaskRunner::GetCurrentDefault()->PostTask( + FROM_HERE, + base::BindOnce(&BrowserManagementService::UpdateManagementIconForProfile, +@@ -70,7 +70,7 @@ BrowserManagementService::BrowserManagementService(Pro + } + + ui::ImageModel* BrowserManagementService::GetManagementIconForProfile() { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) | BUILDFLAG(IS_BSD) + return management_icon_for_profile_.IsEmpty() ? nullptr + : &management_icon_for_profile_; + #else +@@ -83,7 +83,7 @@ void BrowserManagementService::TriggerPolicyStatusChan + OnPolicyStatusChanged(); + } + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + void BrowserManagementService::StartListeningToPrefChanges(Profile* profile) { + pref_change_registrar_.Init(profile->GetPrefs()); + pref_change_registrar_.Add( +@@ -126,7 +126,7 @@ void BrowserManagementService::SetManagementIconForPro + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + + void BrowserManagementService::OnPolicyStatusChanged() { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + NotifyEnterpriseLabelUpdated(); + #endif + } diff --git a/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h b/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h new file mode 100644 index 000000000000..f1ce0dd0d30a --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h @@ -0,0 +1,11 @@ +--- chrome/browser/enterprise/browser_management/browser_management_service.h.orig 2025-06-19 07:37:57 UTC ++++ chrome/browser/enterprise/browser_management/browser_management_service.h +@@ -44,7 +44,7 @@ class BrowserManagementService : public ManagementServ + // PolicyStatusProvider::Observer: + void OnPolicyStatusChanged() override; + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Starts listening to changes to policies that affect the enterprise label + // and pill. + void StartListeningToPrefChanges(Profile* profile); diff --git a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc index 729721b1b8e4..ecac4a359ade 100644 --- a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc +++ b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc @@ -1,6 +1,6 @@ ---- chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc -@@ -20,7 +20,7 @@ +@@ -24,7 +24,7 @@ namespace enterprise_connectors { diff --git a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc index 6144bb748aaf..374678110a03 100644 --- a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc +++ b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc @@ -1,6 +1,6 @@ ---- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc -@@ -53,7 +53,7 @@ +@@ -52,7 +52,7 @@ #include "base/strings/utf_string_conversions.h" #endif @@ -9,7 +9,7 @@ #include "chrome/browser/enterprise/signals/signals_aggregator_factory.h" #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" #include "components/device_signals/core/browser/signals_aggregator.h" -@@ -158,7 +158,7 @@ void RealtimeReportingClient::ReportPastEvent(const st +@@ -157,7 +157,7 @@ void RealtimeReportingClient::ReportPastEvent(const st /*include_profile_user_name=*/false); } @@ -18,7 +18,7 @@ void AddCrowdstrikeSignalsToEvent( base::Value::Dict& event, -@@ -194,7 +194,7 @@ std::string RealtimeReportingClient::GetProfileUserNam +@@ -193,7 +193,7 @@ std::string RealtimeReportingClient::GetProfileUserNam username_ = identity_manager_ ? GetProfileEmail(identity_manager_) : std::string(); @@ -27,7 +27,7 @@ if (username_.empty()) { username_ = Profile::FromBrowserContext(context_)->GetPrefs()->GetString( enterprise_signin::prefs::kProfileUserEmail); -@@ -246,7 +246,7 @@ std::string RealtimeReportingClient::GetBrowserClientI +@@ -245,7 +245,7 @@ std::string RealtimeReportingClient::GetBrowserClientI return client_id; } diff --git a/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service.cc b/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service.cc new file mode 100644 index 000000000000..ae665a8aff25 --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service.cc @@ -0,0 +1,20 @@ +--- chrome/browser/enterprise/reporting/cloud_profile_reporting_service.cc.orig 2025-06-19 07:37:57 UTC ++++ chrome/browser/enterprise/reporting/cloud_profile_reporting_service.cc +@@ -34,7 +34,7 @@ + #include "extensions/buildflags/buildflags.h" + #include "services/network/public/cpp/shared_url_loader_factory.h" + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "chrome/browser/enterprise/signals/signals_aggregator_factory.h" + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + +@@ -113,7 +113,7 @@ void CloudProfileReportingService::CreateReportSchedul + params.profile_request_generator = + std::make_unique<ChromeProfileRequestGenerator>( + profile_->GetPath(), &delegate_factory, +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + enterprise_signals::SignalsAggregatorFactory::GetForProfile( + profile_)); + #else diff --git a/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc b/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc new file mode 100644 index 000000000000..08a130ef8bb8 --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc @@ -0,0 +1,20 @@ +--- chrome/browser/enterprise/reporting/cloud_profile_reporting_service_factory.cc.orig 2025-06-19 07:37:57 UTC ++++ chrome/browser/enterprise/reporting/cloud_profile_reporting_service_factory.cc +@@ -10,7 +10,7 @@ + #include "components/enterprise/browser/reporting/report_scheduler.h" + #include "services/network/public/cpp/shared_url_loader_factory.h" + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + #include "chrome/browser/enterprise/signals/signals_aggregator_factory.h" + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) + +@@ -47,7 +47,7 @@ CloudProfileReportingServiceFactory::CloudProfileRepor + ProfileSelections::BuildForRegularProfile()) { + DependsOn(enterprise::ProfileIdServiceFactory::GetInstance()); + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Depends on this service because + // `CloudProfileReportingService.profile_request_generator_` has a dependency + // on it. diff --git a/www/iridium/files/patch-chrome_browser_enterprise_signals_context__info__fetcher.cc b/www/iridium/files/patch-chrome_browser_enterprise_signals_context__info__fetcher.cc index 3872f28cf1a0..55df99a8cf2f 100644 --- a/www/iridium/files/patch-chrome_browser_enterprise_signals_context__info__fetcher.cc +++ b/www/iridium/files/patch-chrome_browser_enterprise_signals_context__info__fetcher.cc @@ -1,6 +1,6 @@ ---- chrome/browser/enterprise/signals/context_info_fetcher.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/enterprise/signals/context_info_fetcher.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/enterprise/signals/context_info_fetcher.cc -@@ -179,6 +179,8 @@ std::vector<std::string> ContextInfoFetcher::GetOnSecu +@@ -181,6 +181,8 @@ std::vector<std::string> ContextInfoFetcher::GetOnSecu SettingValue ContextInfoFetcher::GetOSFirewall() { #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) return device_signals::GetOSFirewall(); @@ -9,7 +9,7 @@ #elif BUILDFLAG(IS_CHROMEOS) return GetChromeosFirewall(); #else -@@ -198,7 +200,7 @@ ScopedUfwConfigPathForTesting::~ScopedUfwConfigPathFor +@@ -200,7 +202,7 @@ ScopedUfwConfigPathForTesting::~ScopedUfwConfigPathFor #endif // BUILDFLAG(IS_LINUX) std::vector<std::string> ContextInfoFetcher::GetDnsServers() { diff --git a/www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc b/www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc index 49e6466b0398..89c00c104193 100644 --- a/www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc +++ b/www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc @@ -1,4 +1,4 @@ ---- chrome/browser/enterprise/util/managed_browser_utils.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/enterprise/util/managed_browser_utils.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/enterprise/util/managed_browser_utils.cc @@ -222,7 +222,7 @@ void SetUserAcceptedAccountManagement(Profile* profile profile_manager->GetProfileAttributesStorage() @@ -9,3 +9,12 @@ SetEnterpriseProfileLabel(profile); #endif entry->SetUserAcceptedAccountManagement(accepted); +@@ -341,7 +341,7 @@ bool CanShowEnterpriseProfileUI(Profile* profile) { + } + + bool CanShowEnterpriseBadgingForNTPFooter(Profile* profile) { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + + auto* management_service = + policy::ManagementServiceFactory::GetForProfile(profile); diff --git a/www/iridium/files/patch-chrome_browser_extensions_BUILD.gn b/www/iridium/files/patch-chrome_browser_extensions_BUILD.gn index ea75c853f1c5..57a5fa29d90e 100644 --- a/www/iridium/files/patch-chrome_browser_extensions_BUILD.gn +++ b/www/iridium/files/patch-chrome_browser_extensions_BUILD.gn @@ -1,6 +1,6 @@ ---- chrome/browser/extensions/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/extensions/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/extensions/BUILD.gn -@@ -1464,6 +1464,10 @@ source_set("extensions") { +@@ -1468,6 +1468,10 @@ source_set("extensions") { deps += [ "//chrome/services/printing/public/mojom" ] } diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc b/www/iridium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc index 919b3e577a1e..12fc2fbee5b2 100644 --- a/www/iridium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc +++ b/www/iridium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc @@ -1,4 +1,4 @@ ---- chrome/browser/extensions/api/enterprise_reporting_private/chrome_desktop_report_request_helper.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/extensions/api/enterprise_reporting_private/chrome_desktop_report_request_helper.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/extensions/api/enterprise_reporting_private/chrome_desktop_report_request_helper.cc @@ -24,7 +24,7 @@ #include "base/win/registry.h" @@ -9,7 +9,7 @@ #include "base/environment.h" #include "base/nix/xdg_util.h" #endif -@@ -255,7 +255,7 @@ base::FilePath GetEndpointVerificationDir() { +@@ -264,7 +264,7 @@ base::FilePath GetEndpointVerificationDir() { bool got_path = false; #if BUILDFLAG(IS_WIN) got_path = base::PathService::Get(base::DIR_LOCAL_APP_DATA, &path); @@ -18,7 +18,7 @@ std::unique_ptr<base::Environment> env(base::Environment::Create()); path = base::nix::GetXDGDirectory(env.get(), base::nix::kXdgConfigHomeEnvVar, base::nix::kDotConfigDir); -@@ -266,7 +266,7 @@ base::FilePath GetEndpointVerificationDir() { +@@ -275,7 +275,7 @@ base::FilePath GetEndpointVerificationDir() { if (!got_path) return path; diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_management_chrome__management__api__delegate.cc b/www/iridium/files/patch-chrome_browser_extensions_api_management_chrome__management__api__delegate.cc deleted file mode 100644 index ddcc7f9cf682..000000000000 --- a/www/iridium/files/patch-chrome_browser_extensions_api_management_chrome__management__api__delegate.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- chrome/browser/extensions/api/management/chrome_management_api_delegate.cc.orig 2025-05-07 06:48:23 UTC -+++ chrome/browser/extensions/api/management/chrome_management_api_delegate.cc -@@ -410,7 +410,7 @@ bool ChromeManagementAPIDelegate::LaunchAppFunctionDel - apps::LaunchContainer launch_container = - GetLaunchContainer(extensions::ExtensionPrefs::Get(context), extension); - Profile* profile = Profile::FromBrowserContext(context); --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (extensions::IsExtensionUnsupportedDeprecatedApp(profile, - extension->id())) { - return false; diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc b/www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc index f2ed3001c5df..a28c97ea623d 100644 --- a/www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc +++ b/www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc @@ -1,6 +1,6 @@ ---- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc -@@ -292,7 +292,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor +@@ -288,7 +288,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor } else if (strcmp(os, "linux") == 0) { info->os = extensions::api::runtime::PlatformOs::kLinux; } else if (strcmp(os, "openbsd") == 0) { diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc b/www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc index 64656528b1aa..d243d89d9266 100644 --- a/www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc +++ b/www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc @@ -1,4 +1,4 @@ ---- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/extensions/api/settings_private/prefs_util.cc @@ -196,7 +196,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist (*s_allowlist)[autofill::prefs::kAutofillPaymentCardBenefits] = @@ -18,7 +18,7 @@ (*s_allowlist)[::prefs::kUseCustomChromeFrame] = settings_api::PrefType::kBoolean; #endif -@@ -226,7 +226,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist +@@ -228,7 +228,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist (*s_allowlist)[::prefs::kCurrentThemeID] = settings_api::PrefType::kString; (*s_allowlist)[::prefs::kPinnedActions] = settings_api::PrefType::kList; (*s_allowlist)[::prefs::kPolicyThemeColor] = settings_api::PrefType::kNumber; diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc b/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc index 3d587b8bd822..08d8216aacd4 100644 --- a/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc +++ b/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc @@ -1,6 +1,6 @@ ---- chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/extensions/api/tabs/tabs_api.cc -@@ -932,7 +932,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio +@@ -945,7 +945,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio // created as minimized. // TODO(crbug.com/40254339): Remove this workaround when linux is fixed. // TODO(crbug.com/40254339): Find a fix for wayland as well. diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc b/www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc index fcc1b7908f1e..a341c12cabf3 100644 --- a/www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc +++ b/www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc @@ -1,6 +1,6 @@ ---- chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -916,7 +916,7 @@ void WebstorePrivateBeginInstallWithManifest3Function: +@@ -914,7 +914,7 @@ void WebstorePrivateBeginInstallWithManifest3Function: #if BUILDFLAG(IS_CHROMEOS) RequestExtensionApproval(contents); return; diff --git a/www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc b/www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc index 3fa95804d169..b494bfcfbc8c 100644 --- a/www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc +++ b/www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc @@ -1,6 +1,6 @@ ---- chrome/browser/extensions/external_provider_impl.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/extensions/external_provider_impl.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/extensions/external_provider_impl.cc -@@ -818,7 +818,7 @@ void ExternalProviderImpl::CreateExternalProviders( +@@ -828,7 +828,7 @@ void ExternalProviderImpl::CreateExternalProviders( #endif // BUILDFLAG(IS_CHROMEOS) if (!profile->GetPrefs()->GetBoolean(pref_names::kBlockExternalExtensions)) { @@ -9,7 +9,7 @@ provider_list->push_back(std::make_unique<ExternalProviderImpl>( service, base::MakeRefCounted<ExternalPrefLoader>( -@@ -846,7 +846,7 @@ void ExternalProviderImpl::CreateExternalProviders( +@@ -856,7 +856,7 @@ void ExternalProviderImpl::CreateExternalProviders( bundled_extension_creation_flags)); // Define a per-user source of external extensions. diff --git a/www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc b/www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc index 388d42ced8c9..7ab6841cfb47 100644 --- a/www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc +++ b/www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc @@ -1,11 +1,11 @@ ---- chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc -@@ -357,7 +357,7 @@ const struct { - FILE_PATH_LITERAL("Library/Mobile Documents/com~apple~CloudDocs"), - kDontBlockChildren}, +@@ -341,7 +341,7 @@ GenerateBlockedPath() { + FILE_PATH_LITERAL("Library/Mobile Documents/com~apple~CloudDocs"), + BlockType::kDontBlockChildren}, #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - // On Linux also block access to devices via /dev. - {kNoBasePathKey, FILE_PATH_LITERAL("/dev"), kBlockAllChildren}, - // And security sensitive data in /proc and /sys. + // On Linux also block access to devices via /dev. + {kNoBasePathKey, FILE_PATH_LITERAL("/dev"), BlockType::kBlockAllChildren}, + // And security sensitive data in /proc and /sys. diff --git a/www/iridium/files/patch-chrome_browser_flag__descriptions.cc b/www/iridium/files/patch-chrome_browser_flag__descriptions.cc index b13beb70d0ec..73b89d0ce0a1 100644 --- a/www/iridium/files/patch-chrome_browser_flag__descriptions.cc +++ b/www/iridium/files/patch-chrome_browser_flag__descriptions.cc @@ -1,6 +1,6 @@ ---- chrome/browser/flag_descriptions.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/flag_descriptions.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/flag_descriptions.cc -@@ -602,7 +602,7 @@ const char kAutofillEnableAllowlistForBmoCardCategoryB +@@ -617,7 +617,7 @@ const char kAutofillEnableAllowlistForBmoCardCategoryB "Autofill suggestions on the allowlisted merchant websites."; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ const char kAutofillEnableAmountExtractionAllowlistDesktopName[] = "Enable loading and querying the checkout amount extraction allowlist on " "Chrome Desktop"; -@@ -626,7 +626,7 @@ const char kAutofillEnableAmountExtractionDesktopLoggi +@@ -641,7 +641,7 @@ const char kAutofillEnableAmountExtractionDesktopLoggi // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -18,7 +18,7 @@ const char kAutofillEnableBuyNowPayLaterName[] = "Enable buy now pay later on Autofill"; const char kAutofillEnableBuyNowPayLaterDescription[] = -@@ -1031,7 +1031,7 @@ const char kDevicePostureDescription[] = +@@ -1064,7 +1064,7 @@ const char kDevicePostureDescription[] = "Enables Device Posture API (foldable devices)"; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -27,7 +27,7 @@ const char kDocumentPictureInPictureAnimateResizeName[] = "Document Picture-in-Picture Animate Resize"; const char kDocumentPictureInPictureAnimateResizeDescription[] = -@@ -1123,7 +1123,7 @@ const char kContextMenuEmptySpaceDescription[] = +@@ -1178,7 +1178,7 @@ const char kContextMenuEmptySpaceDescription[] = "space, a context menu containing page-related items will be shown."; #endif // BUILDFLAG(IS_ANDROID) @@ -36,7 +36,7 @@ const char kContextualCueingName[] = "Contextual cueing"; const char kContextualCueingDescription[] = "Enables the contextual cueing system to support showing actions."; -@@ -1563,7 +1563,7 @@ const char kEnableIsolatedWebAppDevModeName[] = +@@ -1604,7 +1604,7 @@ const char kEnableIsolatedWebAppDevModeName[] = const char kEnableIsolatedWebAppDevModeDescription[] = "Enables the installation of unverified Isolated Web Apps"; @@ -45,7 +45,7 @@ const char kEnableIwaKeyDistributionComponentName[] = "Enable the Iwa Key Distribution component"; const char kEnableIwaKeyDistributionComponentDescription[] = -@@ -3430,7 +3430,7 @@ const char kRetainOmniboxOnFocusDescription[] = +@@ -3536,7 +3536,7 @@ const char kRetainOmniboxOnFocusDescription[] = "exhibit a change in behavior."; #endif // BUILDFLAG(IS_ANDROID) @@ -54,7 +54,7 @@ const char kRootScrollbarFollowsTheme[] = "Make scrollbar follow theme"; const char kRootScrollbarFollowsThemeDescription[] = "If enabled makes the root scrollbar follow the browser's theme color."; -@@ -3648,7 +3648,7 @@ const char kDefaultSiteInstanceGroupsDescription[] = +@@ -3774,7 +3774,7 @@ const char kDefaultSiteInstanceGroupsDescription[] = "SiteInstance."; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -63,7 +63,7 @@ const char kPwaNavigationCapturingName[] = "Desktop PWA Link Capturing"; const char kPwaNavigationCapturingDescription[] = "Enables opening links from Chrome in an installed PWA. Currently under " -@@ -3863,7 +3863,7 @@ const char kTranslateForceTriggerOnEnglishDescription[ +@@ -3990,7 +3990,7 @@ const char kTranslateForceTriggerOnEnglishDescription[ "Force the Translate Triggering on English pages experiment to be enabled " "with the selected language model active."; @@ -72,7 +72,7 @@ const char kEnableHistorySyncOptinName[] = "History Sync Opt-in"; const char kEnableHistorySyncOptinDescription[] = "Enables the History Sync Opt-in screen on Desktop platforms. The screen " -@@ -5451,7 +5451,7 @@ const char kTranslateOpenSettingsDescription[] = +@@ -5656,7 +5656,7 @@ const char kTranslateOpenSettingsDescription[] = "Add an option to the translate bubble menu to open language settings."; #endif @@ -81,7 +81,7 @@ const char kWasmTtsComponentUpdaterEnabledName[] = "Enable Wasm TTS Extension Component"; const char kWasmTtsComponentUpdaterEnabledDescription[] = -@@ -7459,7 +7459,7 @@ const char kTetheringExperimentalFunctionalityDescript +@@ -7687,7 +7687,7 @@ const char kTetheringExperimentalFunctionalityDescript #endif // BUILDFLAG(IS_CHROMEOS) @@ -90,7 +90,7 @@ const char kGetAllScreensMediaName[] = "GetAllScreensMedia API"; const char kGetAllScreensMediaDescription[] = "When enabled, the getAllScreensMedia API for capturing multiple screens " -@@ -7688,7 +7688,7 @@ const char kEnableArmHwdrmDescription[] = "Enable HW b +@@ -7916,7 +7916,7 @@ const char kEnableArmHwdrmDescription[] = "Enable HW b // Linux ----------------------------------------------------------------------- @@ -99,7 +99,7 @@ const char kOzonePlatformHintChoiceDefault[] = "Default"; const char kOzonePlatformHintChoiceAuto[] = "Auto"; const char kOzonePlatformHintChoiceX11[] = "X11"; -@@ -7738,6 +7738,18 @@ const char kWaylandUiScalingDescription[] = +@@ -7966,6 +7966,18 @@ const char kWaylandUiScalingDescription[] = "Enable experimental support for text scaling in the Wayland backend " "backed by full UI scaling. Requires #wayland-per-window-scaling to be " "enabled too."; @@ -118,7 +118,7 @@ #endif // BUILDFLAG(IS_LINUX) // Random platform combinations ----------------------------------------------- -@@ -7750,7 +7762,7 @@ const char kZeroCopyVideoCaptureDescription[] = +@@ -7978,7 +7990,7 @@ const char kZeroCopyVideoCaptureDescription[] = #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -127,7 +127,7 @@ const char kFollowingFeedSidepanelName[] = "Following feed in the sidepanel"; const char kFollowingFeedSidepanelDescription[] = "Enables the following feed in the sidepanel."; -@@ -7793,7 +7805,7 @@ const char kGroupPromoPrototypeName[] = "Group Promo P +@@ -8021,7 +8033,7 @@ const char kGroupPromoPrototypeName[] = "Group Promo P const char kGroupPromoPrototypeDescription[] = "Enables prototype for group promo."; @@ -136,7 +136,7 @@ const char kEnableNetworkServiceSandboxName[] = "Enable the network service sandbox."; const char kEnableNetworkServiceSandboxDescription[] = -@@ -7825,7 +7837,7 @@ const char kWebBluetoothConfirmPairingSupportDescripti +@@ -8049,7 +8061,7 @@ const char kWebBluetoothConfirmPairingSupportDescripti "Bluetooth"; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) @@ -145,7 +145,7 @@ #if BUILDFLAG(ENABLE_PRINTING) const char kCupsIppPrintingBackendName[] = "CUPS IPP Printing Backend"; const char kCupsIppPrintingBackendDescription[] = -@@ -7967,7 +7979,7 @@ const char kElementCaptureDescription[] = +@@ -8192,7 +8204,7 @@ const char kElementCaptureDescription[] = "media track into a track capturing just a specific DOM element."; #endif // !BUILDFLAG(IS_ANDROID) @@ -154,7 +154,7 @@ const char kUIDebugToolsName[] = "Debugging tools for UI"; const char kUIDebugToolsDescription[] = "Enables additional keyboard shortcuts to help debugging."; -@@ -8018,7 +8030,7 @@ const char kComposeUpfrontInputModesDescription[] = +@@ -8243,7 +8255,7 @@ const char kComposeUpfrontInputModesDescription[] = "Enables upfront input modes in the Compose dialog"; #endif // BUILDFLAG(ENABLE_COMPOSE) @@ -163,7 +163,7 @@ const char kThirdPartyProfileManagementName[] = "Third party profile management"; const char kThirdPartyProfileManagementDescription[] = -@@ -8154,7 +8166,7 @@ const char kSupervisedUserBlockInterstitialV3Name[] = +@@ -8381,7 +8393,7 @@ const char kSupervisedUserBlockInterstitialV3Name[] = const char kSupervisedUserBlockInterstitialV3Description[] = "Enables URL filter interstitial V3 for Family Link users."; diff --git a/www/iridium/files/patch-chrome_browser_flag__descriptions.h b/www/iridium/files/patch-chrome_browser_flag__descriptions.h index ed0cbb0f5abe..686747f4dc9b 100644 --- a/www/iridium/files/patch-chrome_browser_flag__descriptions.h +++ b/www/iridium/files/patch-chrome_browser_flag__descriptions.h @@ -1,6 +1,6 @@ ---- chrome/browser/flag_descriptions.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/flag_descriptions.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/flag_descriptions.h -@@ -373,7 +373,7 @@ extern const char +@@ -383,7 +383,7 @@ extern const char kAutofillEnableAllowlistForBmoCardCategoryBenefitsDescription[]; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ extern const char kAutofillEnableAmountExtractionAllowlistDesktopName[]; extern const char kAutofillEnableAmountExtractionAllowlistDesktopDescription[]; extern const char kAutofillEnableAmountExtractionDesktopName[]; -@@ -384,7 +384,7 @@ extern const char kAutofillEnableAmountExtractionDeskt +@@ -394,7 +394,7 @@ extern const char kAutofillEnableAmountExtractionDeskt // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -18,7 +18,7 @@ extern const char kAutofillEnableBuyNowPayLaterName[]; extern const char kAutofillEnableBuyNowPayLaterDescription[]; -@@ -602,7 +602,7 @@ extern const char kContextMenuEmptySpaceName[]; +@@ -620,7 +620,7 @@ extern const char kContextMenuEmptySpaceName[]; extern const char kContextMenuEmptySpaceDescription[]; #endif // BUILDFLAG(IS_ANDROID) @@ -27,7 +27,7 @@ extern const char kContextualCueingName[]; extern const char kContextualCueingDescription[]; extern const char kGlicZeroStateSuggestionsName[]; -@@ -786,7 +786,7 @@ extern const char kDevicePostureName[]; +@@ -813,7 +813,7 @@ extern const char kDevicePostureName[]; extern const char kDevicePostureDescription[]; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -36,7 +36,7 @@ extern const char kDocumentPictureInPictureAnimateResizeName[]; extern const char kDocumentPictureInPictureAnimateResizeDescription[]; -@@ -948,7 +948,7 @@ extern const char kEnableIsolatedWebAppAllowlistDescri +@@ -975,7 +975,7 @@ extern const char kEnableIsolatedWebAppAllowlistDescri extern const char kEnableIsolatedWebAppDevModeName[]; extern const char kEnableIsolatedWebAppDevModeDescription[]; @@ -45,7 +45,7 @@ extern const char kEnableIwaKeyDistributionComponentName[]; extern const char kEnableIwaKeyDistributionComponentDescription[]; #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -1964,7 +1964,7 @@ extern const char kRetainOmniboxOnFocusName[]; +@@ -2023,7 +2023,7 @@ extern const char kRetainOmniboxOnFocusName[]; extern const char kRetainOmniboxOnFocusDescription[]; #endif // BUILDFLAG(IS_ANDROID) @@ -54,7 +54,7 @@ extern const char kRootScrollbarFollowsTheme[]; extern const char kRootScrollbarFollowsThemeDescription[]; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) -@@ -2096,7 +2096,7 @@ extern const char kDefaultSiteInstanceGroupsName[]; +@@ -2161,7 +2161,7 @@ extern const char kDefaultSiteInstanceGroupsName[]; extern const char kDefaultSiteInstanceGroupsDescription[]; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -63,7 +63,7 @@ extern const char kPwaNavigationCapturingName[]; extern const char kPwaNavigationCapturingDescription[]; #endif -@@ -2242,7 +2242,7 @@ extern const char kTouchTextEditingRedesignDescription +@@ -2308,7 +2308,7 @@ extern const char kTouchTextEditingRedesignDescription extern const char kTranslateForceTriggerOnEnglishName[]; extern const char kTranslateForceTriggerOnEnglishDescription[]; @@ -72,7 +72,7 @@ extern const char kEnableHistorySyncOptinName[]; extern const char kEnableHistorySyncOptinDescription[]; -@@ -3197,7 +3197,7 @@ extern const char kTranslateOpenSettingsName[]; +@@ -3318,7 +3318,7 @@ extern const char kTranslateOpenSettingsName[]; extern const char kTranslateOpenSettingsDescription[]; #endif @@ -81,7 +81,7 @@ extern const char kWasmTtsComponentUpdaterEnabledName[]; extern const char kWasmTtsComponentUpdaterEnabledDescription[]; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) -@@ -4385,7 +4385,7 @@ extern const char kTetheringExperimentalFunctionalityD +@@ -4524,7 +4524,7 @@ extern const char kTetheringExperimentalFunctionalityD #endif // #if BUILDFLAG(IS_CHROMEOS) @@ -90,7 +90,7 @@ extern const char kGetAllScreensMediaName[]; extern const char kGetAllScreensMediaDescription[]; #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) -@@ -4520,7 +4520,7 @@ extern const char kEnableArmHwdrmDescription[]; +@@ -4659,7 +4659,7 @@ extern const char kEnableArmHwdrmDescription[]; // Linux --------------------------------------------------------------------- @@ -99,7 +99,7 @@ extern const char kOzonePlatformHintChoiceDefault[]; extern const char kOzonePlatformHintChoiceAuto[]; extern const char kOzonePlatformHintChoiceX11[]; -@@ -4551,6 +4551,9 @@ extern const char kWaylandTextInputV3Description[]; +@@ -4690,6 +4690,9 @@ extern const char kWaylandTextInputV3Description[]; extern const char kWaylandUiScalingName[]; extern const char kWaylandUiScalingDescription[]; @@ -109,7 +109,7 @@ #endif // BUILDFLAG(IS_LINUX) // Random platform combinations ----------------------------------------------- -@@ -4570,7 +4573,7 @@ extern const char kWebBluetoothConfirmPairingSupportNa +@@ -4709,7 +4712,7 @@ extern const char kWebBluetoothConfirmPairingSupportNa extern const char kWebBluetoothConfirmPairingSupportDescription[]; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) @@ -118,7 +118,7 @@ #if BUILDFLAG(ENABLE_PRINTING) extern const char kCupsIppPrintingBackendName[]; extern const char kCupsIppPrintingBackendDescription[]; -@@ -4583,7 +4586,7 @@ extern const char kScreenlockReauthCardDescription[]; +@@ -4722,7 +4725,7 @@ extern const char kScreenlockReauthCardDescription[]; #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -127,7 +127,7 @@ extern const char kFollowingFeedSidepanelName[]; extern const char kFollowingFeedSidepanelDescription[]; -@@ -4600,7 +4603,7 @@ extern const char kTaskManagerDesktopRefreshName[]; +@@ -4739,7 +4742,7 @@ extern const char kTaskManagerDesktopRefreshName[]; extern const char kTaskManagerDesktopRefreshDescription[]; #endif // BUILDFLAG(IS_ANDROID) @@ -136,7 +136,7 @@ extern const char kEnableNetworkServiceSandboxName[]; extern const char kEnableNetworkServiceSandboxDescription[]; -@@ -4695,7 +4698,7 @@ extern const char kElementCaptureName[]; +@@ -4831,7 +4834,7 @@ extern const char kElementCaptureName[]; extern const char kElementCaptureDescription[]; #endif // !BUILDFLAG(IS_ANDROID) @@ -145,7 +145,7 @@ extern const char kUIDebugToolsName[]; extern const char kUIDebugToolsDescription[]; #endif -@@ -4734,7 +4737,7 @@ extern const char kComposeUpfrontInputModesName[]; +@@ -4870,7 +4873,7 @@ extern const char kComposeUpfrontInputModesName[]; extern const char kComposeUpfrontInputModesDescription[]; #endif // BUILDFLAG(ENABLE_COMPOSE) @@ -154,7 +154,7 @@ extern const char kThirdPartyProfileManagementName[]; extern const char kThirdPartyProfileManagementDescription[]; -@@ -4814,7 +4817,7 @@ extern const char kEnablePolicyPromotionBannerDescript +@@ -4953,7 +4956,7 @@ extern const char kEnablePolicyPromotionBannerDescript extern const char kSupervisedUserBlockInterstitialV3Name[]; extern const char kSupervisedUserBlockInterstitialV3Description[]; diff --git a/www/iridium/files/patch-chrome_browser_global__features.cc b/www/iridium/files/patch-chrome_browser_global__features.cc index 55e3e9757b12..4c83e87dbd3f 100644 --- a/www/iridium/files/patch-chrome_browser_global__features.cc +++ b/www/iridium/files/patch-chrome_browser_global__features.cc @@ -1,6 +1,6 @@ ---- chrome/browser/global_features.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/global_features.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/global_features.cc -@@ -22,7 +22,7 @@ +@@ -23,7 +23,7 @@ #include "chrome/browser/glic/host/glic_synthetic_trial_manager.h" // nogncheck #endif @@ -9,7 +9,7 @@ // This causes a gn error on Android builds, because gn does not understand // buildflags, so we include it only on platforms where it is used. #include "chrome/browser/ui/webui/whats_new/whats_new_registrar.h" -@@ -61,7 +61,7 @@ void GlobalFeatures::ReplaceGlobalFeaturesForTesting( +@@ -62,7 +62,7 @@ void GlobalFeatures::ReplaceGlobalFeaturesForTesting( void GlobalFeatures::Init() { system_permissions_platform_handle_ = CreateSystemPermissionsPlatformHandle(); @@ -18,7 +18,7 @@ whats_new_registry_ = CreateWhatsNewRegistry(); #endif -@@ -93,7 +93,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle( +@@ -96,7 +96,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle( return system_permission_settings::PlatformHandle::Create(); } diff --git a/www/iridium/files/patch-chrome_browser_global__features.h b/www/iridium/files/patch-chrome_browser_global__features.h index 8b45b945d265..676ce1591405 100644 --- a/www/iridium/files/patch-chrome_browser_global__features.h +++ b/www/iridium/files/patch-chrome_browser_global__features.h @@ -1,4 +1,4 @@ ---- chrome/browser/global_features.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/global_features.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/global_features.h @@ -14,7 +14,7 @@ namespace system_permission_settings { @@ -9,7 +9,7 @@ namespace whats_new { class WhatsNewRegistry; } // namespace whats_new -@@ -56,7 +56,7 @@ class GlobalFeatures { +@@ -58,7 +58,7 @@ class GlobalFeatures { system_permissions_platform_handle() { return system_permissions_platform_handle_.get(); } @@ -18,7 +18,7 @@ whats_new::WhatsNewRegistry* whats_new_registry() { return whats_new_registry_.get(); } -@@ -85,7 +85,7 @@ class GlobalFeatures { +@@ -91,7 +91,7 @@ class GlobalFeatures { virtual std::unique_ptr<system_permission_settings::PlatformHandle> CreateSystemPermissionsPlatformHandle(); @@ -27,7 +27,7 @@ virtual std::unique_ptr<whats_new::WhatsNewRegistry> CreateWhatsNewRegistry(); #endif -@@ -95,7 +95,7 @@ class GlobalFeatures { +@@ -101,7 +101,7 @@ class GlobalFeatures { std::unique_ptr<system_permission_settings::PlatformHandle> system_permissions_platform_handle_; diff --git a/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc b/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc index af5f6f24c4a0..72f73ef388d9 100644 --- a/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc +++ b/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc @@ -1,4 +1,4 @@ ---- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc @@ -85,7 +85,7 @@ #include "chrome/browser/flags/android/chrome_session_state.h" @@ -27,7 +27,7 @@ #include "components/power_metrics/system_power_monitor.h" #endif -@@ -873,7 +873,7 @@ void RecordStartupMetrics() { +@@ -898,7 +898,7 @@ void RecordStartupMetrics() { // Record whether Chrome is the default browser or not. // Disabled on Linux due to hanging browser tests, see crbug.com/1216328. @@ -36,7 +36,7 @@ shell_integration::DefaultWebClientState default_state = shell_integration::GetDefaultBrowser(); base::UmaHistogramEnumeration("DefaultBrowser.State", default_state, -@@ -1181,11 +1181,11 @@ void ChromeBrowserMainExtraPartsMetrics::PostBrowserSt +@@ -1211,11 +1211,11 @@ void ChromeBrowserMainExtraPartsMetrics::PostBrowserSt std::make_unique<web_app::SamplingMetricsProvider>(); #endif // !BUILDFLAG(IS_ANDROID) diff --git a/www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc b/www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc index 5371d239f2c5..71b7af8ea625 100644 --- a/www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc +++ b/www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc @@ -1,6 +1,6 @@ ---- chrome/browser/metrics/chrome_metrics_service_client.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/metrics/chrome_metrics_service_client.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/metrics/chrome_metrics_service_client.cc -@@ -197,11 +197,11 @@ +@@ -201,11 +201,11 @@ #include "chrome/browser/metrics/google_update_metrics_provider_mac.h" #endif @@ -14,7 +14,7 @@ #include "chrome/browser/metrics/chrome_metrics_service_crash_reporter.h" #endif -@@ -233,7 +233,7 @@ const int kMaxHistogramGatheringWaitDuration = 60000; +@@ -237,7 +237,7 @@ const int kMaxHistogramGatheringWaitDuration = 60000; // Needs to be kept in sync with the writer in // third_party/crashpad/crashpad/handler/handler_main.cc. const char kCrashpadHistogramAllocatorName[] = "CrashpadMetrics"; @@ -23,7 +23,7 @@ base::LazyInstance<ChromeMetricsServiceCrashReporter>::Leaky g_crash_reporter = LAZY_INSTANCE_INITIALIZER; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) -@@ -537,7 +537,7 @@ void ChromeMetricsServiceClient::RegisterPrefs(PrefReg +@@ -541,7 +541,7 @@ void ChromeMetricsServiceClient::RegisterPrefs(PrefReg #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -32,7 +32,7 @@ metrics::structured::StructuredMetricsService::RegisterPrefs(registry); #if !BUILDFLAG(IS_CHROMEOS) -@@ -619,7 +619,7 @@ std::string ChromeMetricsServiceClient::GetVersionStri +@@ -623,7 +623,7 @@ std::string ChromeMetricsServiceClient::GetVersionStri void ChromeMetricsServiceClient::OnEnvironmentUpdate(std::string* environment) { // TODO(https://bugs.chromium.org/p/crashpad/issues/detail?id=135): call this // on Mac when the Crashpad API supports it. @@ -41,7 +41,7 @@ // Register the environment with the crash reporter. Note that there is a // window from startup to this point during which crash reports will not have // an environment set. -@@ -721,7 +721,7 @@ void ChromeMetricsServiceClient::Initialize() { +@@ -725,7 +725,7 @@ void ChromeMetricsServiceClient::Initialize() { std::make_unique<metrics::dwa::DwaService>(this, local_state); } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -50,7 +50,7 @@ metrics::structured::Recorder::GetInstance()->SetUiTaskRunner( base::SequencedTaskRunner::GetCurrentDefault()); #endif -@@ -781,7 +781,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic +@@ -785,7 +785,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic metrics_service_->RegisterMetricsProvider( std::make_unique<metrics::CPUMetricsProvider>()); @@ -59,7 +59,7 @@ metrics_service_->RegisterMetricsProvider( std::make_unique<metrics::MotherboardMetricsProvider>()); #endif -@@ -870,7 +870,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic +@@ -874,7 +874,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic std::make_unique<GoogleUpdateMetricsProviderMac>()); #endif @@ -68,7 +68,7 @@ metrics_service_->RegisterMetricsProvider( std::make_unique<DesktopPlatformFeaturesMetricsProvider>()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -974,7 +974,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic +@@ -978,7 +978,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic std::make_unique<PowerMetricsProvider>()); #endif @@ -77,7 +77,7 @@ metrics_service_->RegisterMetricsProvider( metrics::CreateDesktopSessionMetricsProvider()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || (BUILDFLAG(IS_LINUX) -@@ -1160,7 +1160,7 @@ bool ChromeMetricsServiceClient::RegisterForProfileEve +@@ -1169,7 +1169,7 @@ bool ChromeMetricsServiceClient::RegisterForProfileEve } #endif @@ -86,7 +86,7 @@ // This creates the DesktopProfileSessionDurationsServices if it didn't exist // already. metrics::DesktopProfileSessionDurationsServiceFactory::GetForBrowserContext( -@@ -1509,7 +1509,7 @@ void ChromeMetricsServiceClient::CreateStructuredMetri +@@ -1518,7 +1518,7 @@ void ChromeMetricsServiceClient::CreateStructuredMetri recorder = base::MakeRefCounted<metrics::structured::AshStructuredMetricsRecorder>( cros_system_profile_provider_.get()); diff --git a/www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc b/www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc index f08fc33fa59c..475d6f653f3a 100644 --- a/www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc +++ b/www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc @@ -1,4 +1,4 @@ ---- chrome/browser/net/profile_network_context_service.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/net/profile_network_context_service.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/net/profile_network_context_service.cc @@ -135,7 +135,7 @@ #include "extensions/common/constants.h" @@ -18,7 +18,7 @@ std::unique_ptr<net::ClientCertStore> GetWrappedCertStore( Profile* profile, std::unique_ptr<net::ClientCertStore> platform_store) { -@@ -1228,7 +1228,7 @@ ProfileNetworkContextService::CreateClientCertStore() +@@ -1224,7 +1224,7 @@ ProfileNetworkContextService::CreateClientCertStore() std::make_unique<net::ClientCertStoreNSS>( base::BindRepeating(&CreateCryptoModuleBlockingPasswordDelegate, kCryptoModulePasswordClientAuth)); diff --git a/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc b/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc index f5bac4029b88..12e0216af5ee 100644 --- a/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc +++ b/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc @@ -1,4 +1,4 @@ ---- chrome/browser/net/system_network_context_manager.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/net/system_network_context_manager.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/net/system_network_context_manager.cc @@ -135,7 +135,7 @@ SystemNetworkContextManager* g_system_network_context_ // received a failed launch for a sandboxed network service. @@ -118,7 +118,7 @@ registry->RegisterBooleanPref(prefs::kReceivedHttpAuthNegotiateHeader, false); #endif // BUILDFLAG(IS_LINUX) -@@ -741,7 +741,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea +@@ -739,7 +739,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea OnNewHttpAuthDynamicParams(http_auth_dynamic_params); network_service->ConfigureHttpAuthPrefs(std::move(http_auth_dynamic_params)); @@ -127,7 +127,7 @@ gssapi_library_loader_observer_.Install(network_service); #endif // BUILDFLAG(IS_LINUX) -@@ -960,7 +960,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab +@@ -957,7 +957,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab break; } diff --git a/www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc b/www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc index 09518958c5c4..87505a97568c 100644 --- a/www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc +++ b/www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc @@ -1,6 +1,6 @@ ---- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/password_manager/chrome_password_manager_client.cc -@@ -638,7 +638,7 @@ void ChromePasswordManagerClient:: +@@ -664,7 +664,7 @@ void ChromePasswordManagerClient:: bool ChromePasswordManagerClient::IsReauthBeforeFillingRequired( device_reauth::DeviceAuthenticator* authenticator) { #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ if (!GetLocalStatePrefs() || !GetPrefs() || !authenticator) { return false; } -@@ -916,7 +916,7 @@ void ChromePasswordManagerClient::NotifyUserCredential +@@ -942,7 +942,7 @@ void ChromePasswordManagerClient::NotifyUserCredential } void ChromePasswordManagerClient::NotifyKeychainError() { diff --git a/www/iridium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc b/www/iridium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc index 1c5de3fc957f..4ea37a1e0b39 100644 --- a/www/iridium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc +++ b/www/iridium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc @@ -1,6 +1,6 @@ ---- chrome/browser/password_manager/password_reuse_manager_factory.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/password_manager/password_reuse_manager_factory.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/password_manager/password_reuse_manager_factory.cc -@@ -137,7 +137,7 @@ PasswordReuseManagerFactory::BuildServiceInstanceForBr +@@ -128,7 +128,7 @@ PasswordReuseManagerFactory::BuildServiceInstanceForBr // Prepare password hash data for reuse detection. reuse_manager->PreparePasswordHashData(GetSignInStateForMetrics(profile)); diff --git a/www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc b/www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc index ffbb9c210dfa..86dd3ec4165e 100644 --- a/www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc +++ b/www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc @@ -1,6 +1,6 @@ ---- chrome/browser/policy/configuration_policy_handler_list_factory.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/policy/configuration_policy_handler_list_factory.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -255,19 +255,19 @@ +@@ -256,19 +256,19 @@ #include "components/spellcheck/browser/pref_names.h" #endif // BUILDFLAG(ENABLE_SPELLCHECK) @@ -23,7 +23,7 @@ #include "chrome/browser/privacy_sandbox/privacy_sandbox_policy_handler.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -@@ -281,13 +281,13 @@ +@@ -282,13 +282,13 @@ #endif // BUILDFLAG(ENTERPRISE_CLIENT_CERTIFICATES) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -39,25 +39,25 @@ #include "components/search_engines/enterprise/search_aggregator_policy_handler.h" #include "components/search_engines/enterprise/site_search_policy_handler.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || -@@ -592,7 +592,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = - { key::kDefaultDirectSocketsSetting, - prefs::kManagedDefaultDirectSocketsSetting, +@@ -597,7 +597,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = + prefs::kManagedDefaultSmartCardConnectSetting, base::Value::Type::INTEGER }, + #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) { key::kDeletingUndecryptablePasswordsEnabled, password_manager::prefs::kDeletingUndecryptablePasswordsEnabled, base::Value::Type::BOOLEAN }, -@@ -957,7 +957,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -964,7 +964,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = prefs::kManagedDefaultGeolocationSetting, base::Value::Type::INTEGER }, #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) \ - || BUILDFLAG(IS_MAC) + || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) - { key::kRequireOnlineRevocationChecksForLocalAnchors, - prefs::kCertRevocationCheckingRequiredLocalAnchors, - base::Value::Type::BOOLEAN }, -@@ -966,7 +966,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = + { key::kMandatoryExtensionsForIncognitoNavigation, + prefs::kMandatoryExtensionsForIncognitoNavigation, + base::Value::Type::LIST }, +@@ -976,7 +976,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::BOOLEAN }, #endif // #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) // || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) @@ -66,7 +66,7 @@ { key::kFullscreenAllowed, prefs::kFullscreenAllowed, base::Value::Type::BOOLEAN }, -@@ -1842,7 +1842,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1852,7 +1852,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::INTEGER}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -75,7 +75,7 @@ { key::kGSSAPILibraryName, prefs::kGSSAPILibraryName, base::Value::Type::STRING }, -@@ -1901,7 +1901,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1911,7 +1911,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_WIN) @@ -84,7 +84,7 @@ { key::kNetworkServiceSandboxEnabled, prefs::kNetworkServiceSandboxEnabled, base::Value::Type::BOOLEAN }, -@@ -1921,12 +1921,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1931,12 +1931,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = prefs::kTotalMemoryLimitMb, base::Value::Type::INTEGER }, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) @@ -99,7 +99,7 @@ { key::kUnmanagedDeviceSignalsConsentFlowEnabled, device_signals::prefs::kUnmanagedDeviceSignalsConsentFlowEnabled, base::Value::Type::BOOLEAN }, -@@ -1937,7 +1937,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1950,7 +1950,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = prefs::kLiveTranslateEnabled, base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) @@ -108,7 +108,7 @@ { key::kDefaultBrowserSettingEnabled, prefs::kDefaultBrowserSettingEnabled, base::Value::Type::BOOLEAN }, -@@ -1949,7 +1949,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1962,7 +1962,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) \ @@ -117,7 +117,7 @@ { key::kAutoplayAllowed, prefs::kAutoplayAllowed, base::Value::Type::BOOLEAN }, -@@ -2050,7 +2050,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2063,7 +2063,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::BOOLEAN }, #endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) @@ -126,7 +126,7 @@ { key::kAlternativeBrowserPath, browser_switcher::prefs::kAlternativeBrowserPath, base::Value::Type::STRING }, -@@ -2155,7 +2155,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2164,7 +2164,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_CHROMEOS) @@ -135,7 +135,7 @@ { key::kAuthNegotiateDelegateByKdcPolicy, prefs::kAuthNegotiateDelegateByKdcPolicy, base::Value::Type::BOOLEAN }, -@@ -2226,7 +2226,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2235,7 +2235,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = ash::prefs::kUrlParameterToAutofillSAMLUsername, base::Value::Type::STRING }, #endif // BUILDFLAG(IS_CHROMEOS) @@ -144,7 +144,7 @@ { key::kTabDiscardingExceptions, performance_manager::user_tuning::prefs::kManagedTabDiscardingExceptions, base::Value::Type::LIST }, -@@ -2255,7 +2255,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2264,7 +2264,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = prefs::kUiAutomationProviderEnabled, base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_WIN) @@ -153,7 +153,7 @@ { key::kOutOfProcessSystemDnsResolutionEnabled, prefs::kOutOfProcessSystemDnsResolutionEnabled, base::Value::Type::BOOLEAN }, -@@ -2298,7 +2298,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2304,7 +2304,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::INTEGER }, #endif #if BUILDFLAG(ENABLE_EXTENSIONS) @@ -162,7 +162,7 @@ { key::kExtensionInstallTypeBlocklist, extensions::pref_names::kExtensionInstallTypeBlocklist, base::Value::Type::LIST}, -@@ -2324,7 +2324,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2327,7 +2327,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = { key::kTabCompareSettings, optimization_guide::prefs::kProductSpecificationsEnterprisePolicyAllowed, base::Value::Type::INTEGER}, @@ -171,7 +171,16 @@ { key::kChromeForTestingAllowed, prefs::kChromeForTestingAllowed, base::Value::Type::BOOLEAN }, -@@ -2513,7 +2513,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -2397,7 +2397,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = + policy_prefs::kBuiltInAIAPIsEnabled, + base::Value::Type::BOOLEAN }, + #endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_FUCHSIA) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + { key::kNTPFooterThemeAttributionEnabled, + prefs::kNTPFooterThemeAttributionEnabled, + base::Value::Type::BOOLEAN }, +@@ -2532,7 +2532,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH // Policies for all platforms - End #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -180,7 +189,7 @@ handlers->AddHandler(std::make_unique<IntRangePolicyHandler>( key::kMemorySaverModeSavings, performance_manager::user_tuning::prefs::kMemorySaverModeAggressiveness, -@@ -2734,7 +2734,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -2752,7 +2752,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -189,7 +198,7 @@ handlers->AddHandler( std::make_unique<enterprise_idle::IdleTimeoutPolicyHandler>()); handlers->AddHandler( -@@ -2793,7 +2793,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -2811,7 +2811,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH key::kBrowsingDataLifetime, browsing_data::prefs::kBrowsingDataLifetime, chrome_schema)); @@ -198,7 +207,7 @@ handlers->AddHandler(std::make_unique<GuestModePolicyHandler>()); handlers->AddHandler(std::make_unique<LocalSyncPolicyHandler>()); handlers->AddHandler(std::make_unique<ThemeColorPolicyHandler>()); -@@ -2890,7 +2890,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -2911,7 +2911,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH std::vector<std::unique_ptr<ConfigurationPolicyHandler>> signin_legacy_policies; #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -207,7 +216,7 @@ signin_legacy_policies.push_back(std::make_unique<SimplePolicyHandler>( key::kForceBrowserSignin, prefs::kForceBrowserSignin, base::Value::Type::BOOLEAN)); -@@ -3262,7 +3262,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -3283,7 +3283,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH #endif #if BUILDFLAG(ENABLE_SPELLCHECK) @@ -216,7 +225,7 @@ handlers->AddHandler(std::make_unique<SpellcheckLanguagePolicyHandler>()); handlers->AddHandler( std::make_unique<SpellcheckLanguageBlocklistPolicyHandler>( -@@ -3270,7 +3270,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -3291,7 +3291,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) #endif // BUILDFLAG(ENABLE_SPELLCHECK) @@ -225,7 +234,7 @@ handlers->AddHandler(std::make_unique<SimplePolicyHandler>( key::kAllowSystemNotifications, prefs::kAllowSystemNotifications, base::Value::Type::BOOLEAN)); -@@ -3288,7 +3288,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -3309,7 +3309,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH first_party_sets::FirstPartySetsOverridesPolicyHandler>( key::kRelatedWebsiteSetsOverrides, chrome_schema))); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -234,7 +243,7 @@ handlers->AddHandler(std::make_unique<PrivacySandboxPolicyHandler>()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -@@ -3311,7 +3311,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -3332,7 +3332,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH base::Value::Type::BOOLEAN))); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -243,7 +252,7 @@ handlers->AddHandler(std::make_unique<BatterySaverPolicyHandler>()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -3329,7 +3329,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH +@@ -3350,7 +3350,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH std::vector<GenAiDefaultSettingsPolicyHandler::GenAiPolicyDetails> gen_ai_default_policies; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc b/www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc index 68f915a33635..ceade25f619c 100644 --- a/www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc +++ b/www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc @@ -1,15 +1,15 @@ ---- chrome/browser/prefs/browser_prefs.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/prefs/browser_prefs.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/prefs/browser_prefs.cc -@@ -316,7 +316,7 @@ +@@ -323,7 +323,7 @@ #include "chrome/browser/devtools/devtools_window.h" - #endif // !BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_DESKTOP_ANDROID) + #endif // BUILDFLAG(ENABLE_DEVTOOLS_FRONTEND) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/whats_new/whats_new_ui.h" #endif -@@ -487,11 +487,11 @@ +@@ -494,11 +494,11 @@ #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -23,7 +23,7 @@ #include "chrome/browser/browser_switcher/browser_switcher_prefs.h" #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" #endif -@@ -519,7 +519,7 @@ +@@ -526,7 +526,7 @@ #include "chrome/browser/sessions/session_service_log.h" #endif @@ -32,7 +32,7 @@ #include "ui/color/system_theme.h" #endif -@@ -1664,7 +1664,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) +@@ -1679,7 +1679,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) on_device_translation::RegisterLocalStatePrefs(registry); #endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) @@ -41,7 +41,7 @@ WhatsNewUI::RegisterLocalStatePrefs(registry); #endif -@@ -1821,7 +1821,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) +@@ -1836,7 +1836,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) #endif // BUILDFLAG(ENABLE_PDF) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -50,7 +50,7 @@ registry->RegisterBooleanPref(prefs::kChromeForTestingAllowed, true); #endif -@@ -2177,12 +2177,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync +@@ -2200,12 +2200,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc b/www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc index 21f8824c780a..7459ea811b3a 100644 --- a/www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc +++ b/www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc @@ -1,6 +1,6 @@ ---- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -358,7 +358,7 @@ +@@ -362,7 +362,7 @@ #endif #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -9,7 +9,7 @@ #include "chrome/browser/enterprise/idle/idle_service_factory.h" #endif -@@ -400,7 +400,7 @@ +@@ -404,7 +404,7 @@ #endif #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -18,7 +18,7 @@ #include "chrome/browser/enterprise/connectors/device_trust/device_trust_connector_service_factory.h" #include "chrome/browser/enterprise/connectors/device_trust/device_trust_service_factory.h" #include "chrome/browser/enterprise/signals/user_permission_service_factory.h" -@@ -408,7 +408,7 @@ +@@ -412,7 +412,7 @@ #include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_utils.h" #endif @@ -27,7 +27,7 @@ #include "chrome/browser/policy/messaging_layer/util/manual_test_heartbeat_event_factory.h" #endif -@@ -416,7 +416,7 @@ +@@ -420,7 +420,7 @@ #include "chrome/browser/history_embeddings/history_embeddings_service_factory.h" #endif @@ -36,7 +36,7 @@ #include "chrome/browser/browser_switcher/browser_switcher_service_factory.h" #include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h" #include "chrome/browser/enterprise/client_certificates/certificate_store_factory.h" -@@ -730,7 +730,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -738,7 +738,7 @@ void ChromeBrowserMainExtraPartsProfiles:: DiceBoundSessionCookieServiceFactory::GetInstance(); #endif #endif @@ -45,7 +45,14 @@ browser_switcher::BrowserSwitcherServiceFactory::GetInstance(); #endif browser_sync::UserEventServiceFactory::GetInstance(); -@@ -787,7 +787,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -793,13 +793,13 @@ void ChromeBrowserMainExtraPartsProfiles:: + collaboration::CollaborationServiceFactory::GetInstance(); + collaboration::messaging::MessagingBackendServiceFactory::GetInstance(); + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + tab_groups::CollaborationMessagingObserverFactory::GetInstance(); + #endif commerce::ShoppingServiceFactory::GetInstance(); ConsentAuditorFactory::GetInstance(); ContentIndexProviderFactory::GetInstance(); @@ -54,7 +61,7 @@ contextual_cueing::ContextualCueingServiceFactory::GetInstance(); #endif CookieControlsServiceFactory::GetInstance(); -@@ -843,31 +843,31 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -860,31 +860,31 @@ void ChromeBrowserMainExtraPartsProfiles:: enterprise_connectors::ConnectorsServiceFactory::GetInstance(); enterprise_connectors::ReportingEventRouterFactory::GetInstance(); #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -92,7 +99,7 @@ enterprise_signin::EnterpriseSigninServiceFactory::GetInstance(); #endif #if BUILDFLAG(ENABLE_SESSION_SERVICE) -@@ -995,7 +995,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1015,7 +1015,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #if BUILDFLAG(IS_ANDROID) MerchantViewerDataManagerFactory::GetInstance(); #endif @@ -101,7 +108,7 @@ metrics::DesktopProfileSessionDurationsServiceFactory::GetInstance(); #endif #if !BUILDFLAG(IS_ANDROID) -@@ -1111,7 +1111,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1134,7 +1134,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #if BUILDFLAG(IS_CHROMEOS) policy::PolicyCertServiceFactory::GetInstance(); #endif @@ -110,7 +117,7 @@ policy::ProfileTokenPolicyWebSigninServiceFactory::GetInstance(); policy::UserPolicyOidcSigninServiceFactory::GetInstance(); #endif -@@ -1157,7 +1157,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1180,7 +1180,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) ProfileStatisticsFactory::GetInstance(); #endif @@ -119,7 +126,7 @@ ProfileTokenWebSigninInterceptorFactory::GetInstance(); OidcAuthenticationSigninInterceptorFactory::GetInstance(); #endif -@@ -1177,7 +1177,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1200,7 +1200,7 @@ void ChromeBrowserMainExtraPartsProfiles:: ReduceAcceptLanguageFactory::GetInstance(); RendererUpdaterFactory::GetInstance(); regional_capabilities::RegionalCapabilitiesServiceFactory::GetInstance(); @@ -128,12 +135,3 @@ reporting::ManualTestHeartbeatEventFactory::GetInstance(); #endif #if !BUILDFLAG(IS_ANDROID) -@@ -1368,7 +1368,7 @@ void ChromeBrowserMainExtraPartsProfiles:: - WebDataServiceFactory::GetInstance(); - webrtc_event_logging::WebRtcEventLogManagerKeyedServiceFactory::GetInstance(); - #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ -- BUILDFLAG(IS_WIN) -+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - if (tab_groups::SavedTabGroupUtils::SupportsSharedTabGroups()) { - tab_groups::CollaborationMessagingObserverFactory::GetInstance(); - } diff --git a/www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc b/www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc index f64c1386d55f..60c77ca3a699 100644 --- a/www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc +++ b/www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc @@ -1,6 +1,6 @@ ---- chrome/browser/safe_browsing/chrome_password_protection_service.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/safe_browsing/chrome_password_protection_service.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/safe_browsing/chrome_password_protection_service.cc -@@ -1262,7 +1262,7 @@ std::string ChromePasswordProtectionService::GetOrgani +@@ -1269,7 +1269,7 @@ std::string ChromePasswordProtectionService::GetOrgani ReusedPasswordAccountType password_type) const { if (base::FeatureList::IsEnabled( safe_browsing::kEnterprisePasswordReuseUiRefresh)) { diff --git a/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc b/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc index f8d6d3703227..81d9bcca9e97 100644 --- a/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc +++ b/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc @@ -1,6 +1,6 @@ ---- chrome/browser/screen_ai/screen_ai_service_router.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/screen_ai/screen_ai_service_router.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/screen_ai/screen_ai_service_router.cc -@@ -403,7 +403,7 @@ void ScreenAIServiceRouter::LaunchIfNotRunning() { +@@ -405,7 +405,7 @@ void ScreenAIServiceRouter::LaunchIfNotRunning() { base::FilePath binary_path = state_instance->get_component_binary_path(); #if BUILDFLAG(IS_WIN) std::vector<base::FilePath> preload_libraries = {binary_path}; @@ -9,7 +9,7 @@ std::vector<std::string> extra_switches = { base::StringPrintf("--%s=%s", screen_ai::GetBinaryPathSwitch(), binary_path.MaybeAsASCII().c_str())}; -@@ -417,7 +417,7 @@ void ScreenAIServiceRouter::LaunchIfNotRunning() { +@@ -419,7 +419,7 @@ void ScreenAIServiceRouter::LaunchIfNotRunning() { .WithPreloadedLibraries( preload_libraries, content::ServiceProcessHostPreloadLibraries::GetPassKey()) diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc b/www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc index 5af5e4b7685a..b5835c2e007e 100644 --- a/www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc +++ b/www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc @@ -1,4 +1,4 @@ ---- chrome/browser/supervised_user/classify_url_navigation_throttle.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/supervised_user/classify_url_navigation_throttle.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/supervised_user/classify_url_navigation_throttle.cc @@ -68,7 +68,7 @@ std::ostream& operator<<(std::ostream& stream, } @@ -9,7 +9,7 @@ bool ShouldShowReAuthInterstitial( content::NavigationHandle& navigation_handle) { Profile* profile = Profile::FromBrowserContext( -@@ -230,7 +230,7 @@ void ClassifyUrlNavigationThrottle::OnInterstitialResu +@@ -229,7 +229,7 @@ void ClassifyUrlNavigationThrottle::OnInterstitialResu } case InterstitialResultCallbackActions::kCancelWithInterstitial: { CHECK(navigation_handle()); diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__browser__utils.cc b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__browser__utils.cc index 1af3d2d197b4..e519ca552099 100644 --- a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__browser__utils.cc +++ b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__browser__utils.cc @@ -1,4 +1,4 @@ ---- chrome/browser/supervised_user/supervised_user_browser_utils.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/supervised_user/supervised_user_browser_utils.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/supervised_user/supervised_user_browser_utils.cc @@ -40,7 +40,7 @@ #include "chrome/browser/ash/profiles/profile_helper.h" @@ -9,7 +9,7 @@ #include "chrome/browser/supervised_user/supervised_user_verification_controller_client.h" #include "chrome/browser/supervised_user/supervised_user_verification_page_blocked_sites.h" #include "chrome/browser/supervised_user/supervised_user_verification_page_youtube.h" -@@ -165,7 +165,7 @@ void AssertChildStatusOfTheUser(Profile* profile, bool +@@ -158,7 +158,7 @@ void AssertChildStatusOfTheUser(Profile* profile, bool #endif } diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc index b90d51817367..2191220f4187 100644 --- a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc +++ b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc @@ -1,4 +1,4 @@ ---- chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc @@ -197,7 +197,7 @@ void SupervisedUserExtensionsDelegateImpl::RequestExte return; @@ -8,4 +8,4 @@ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) CHECK(contents.value()); content::WebContents* web_contents = contents.value().get(); - if (supervised_user:: + // Always invoke the parent permission dialog. diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc index 8c2c90f50584..ddf6bb372592 100644 --- a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc +++ b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc @@ -1,6 +1,6 @@ ---- chrome/browser/supervised_user/supervised_user_extensions_manager.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/supervised_user/supervised_user_extensions_manager.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/supervised_user/supervised_user_extensions_manager.cc -@@ -357,7 +357,7 @@ void SupervisedUserExtensionsManager:: +@@ -348,7 +348,7 @@ void SupervisedUserExtensionsManager:: ActivateManagementPolicyAndUpdateRegistration() { SetActiveForSupervisedUsers(); UpdateManagementPolicyRegistration(); @@ -9,7 +9,7 @@ MaybeMarkExtensionsLocallyParentApproved(); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) } -@@ -476,7 +476,7 @@ bool SupervisedUserExtensionsManager::ShouldBlockExten +@@ -448,7 +448,7 @@ bool SupervisedUserExtensionsManager::ShouldBlockExten return false; } diff --git a/www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc b/www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc index ec59b3f170c4..3e1c75d11433 100644 --- a/www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc +++ b/www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc @@ -1,6 +1,6 @@ ---- chrome/browser/sync/sync_service_factory.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/sync/sync_service_factory.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/sync/sync_service_factory.cc -@@ -108,7 +108,7 @@ +@@ -110,7 +110,7 @@ #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -9,7 +9,7 @@ #include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_keyed_service.h" #include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_service_factory.h" #include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_utils.h" -@@ -135,7 +135,7 @@ namespace { +@@ -137,7 +137,7 @@ namespace { tab_groups::TabGroupSyncService* GetTabGroupSyncService(Profile* profile) { CHECK(profile); #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -18,7 +18,7 @@ tab_groups::TabGroupSyncService* service = tab_groups::SavedTabGroupUtils::GetServiceForProfile(profile); CHECK(service); -@@ -377,7 +377,7 @@ std::unique_ptr<KeyedService> BuildSyncService( +@@ -381,7 +381,7 @@ std::unique_ptr<KeyedService> BuildSyncService( bool local_sync_backend_enabled = false; // Only check the local sync backend pref on the supported platforms of // Windows, Mac and Linux. @@ -27,7 +27,7 @@ syncer::SyncPrefs prefs(profile->GetPrefs()); local_sync_backend_enabled = prefs.IsLocalSyncEnabled(); base::UmaHistogramBoolean("Sync.Local.Enabled2", local_sync_backend_enabled); -@@ -512,7 +512,7 @@ SyncServiceFactory::SyncServiceFactory() +@@ -520,7 +520,7 @@ SyncServiceFactory::SyncServiceFactory() DependsOn(ProfilePasswordStoreFactory::GetInstance()); DependsOn(PowerBookmarkServiceFactory::GetInstance()); #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ diff --git a/www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h b/www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h index 006d2dd7613c..480305b2d2c7 100644 --- a/www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h +++ b/www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h @@ -1,6 +1,6 @@ ---- chrome/browser/ui/actions/chrome_action_id.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/actions/chrome_action_id.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/actions/chrome_action_id.h -@@ -497,7 +497,7 @@ +@@ -501,7 +501,7 @@ #if BUILDFLAG(IS_CHROMEOS) #define CHROME_PLATFORM_SPECIFIC_ACTION_IDS \ E(kToggleMultitaskMenu, IDC_TOGGLE_MULTITASK_MENU) diff --git a/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc b/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc index a49308e6c0c6..7b301e6d87c0 100644 --- a/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc +++ b/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc -@@ -57,7 +57,7 @@ gfx::Rect GetPopupSizeForBnpl() { +@@ -58,7 +58,7 @@ gfx::Rect GetPopupSizeForBnpl() { DesktopPaymentsWindowManager::DesktopPaymentsWindowManager( ContentAutofillClient* client) : client_(CHECK_DEREF(client)) { @@ -9,7 +9,7 @@ scoped_observation_.Observe(BrowserList::GetInstance()); #endif // BUILDFLAG(IS_LINUX) } -@@ -142,7 +142,7 @@ void DesktopPaymentsWindowManager::WebContentsDestroye +@@ -144,7 +144,7 @@ void DesktopPaymentsWindowManager::WebContentsDestroye } } diff --git a/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h b/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h index fa919c7338c4..13bf7dd709ea 100644 --- a/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h +++ b/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h @@ -1,4 +1,4 @@ ---- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h @@ -14,7 +14,7 @@ #include "components/autofill/core/browser/payments/payments_window_manager.h" @@ -27,7 +27,7 @@ // BrowserListObserver: void OnBrowserSetLastActive(Browser* browser) override; #endif // BUILDFLAG(IS_LINUX) -@@ -161,7 +161,7 @@ class DesktopPaymentsWindowManager : public PaymentsWi +@@ -165,7 +165,7 @@ class DesktopPaymentsWindowManager : public PaymentsWi // Used in tests to notify the test infrastructure that the pop-up has closed. base::RepeatingClosure popup_closed_closure_for_testing_; diff --git a/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc b/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc index 1c7bc766f343..44643305583e 100644 --- a/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc +++ b/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/browser_command_controller.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/browser_command_controller.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/browser_command_controller.cc -@@ -126,7 +126,7 @@ +@@ -127,7 +127,7 @@ #include "components/user_manager/user_manager.h" #endif @@ -9,7 +9,7 @@ #include "ui/base/ime/text_edit_commands.h" #include "ui/base/ime/text_input_flags.h" #include "ui/linux/linux_ui.h" -@@ -136,7 +136,7 @@ +@@ -137,7 +137,7 @@ #include "ui/ozone/public/ozone_platform.h" #endif @@ -18,7 +18,7 @@ #include "chrome/browser/ui/shortcuts/desktop_shortcuts_utils.h" #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -@@ -332,7 +332,7 @@ bool BrowserCommandController::IsReservedCommandOrKey( +@@ -349,7 +349,7 @@ bool BrowserCommandController::IsReservedCommandOrKey( #endif } @@ -27,7 +27,7 @@ // If this key was registered by the user as a content editing hotkey, then // it is not reserved. auto* linux_ui = ui::LinuxUi::instance(); -@@ -595,7 +595,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -612,7 +612,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo break; #endif @@ -36,7 +36,7 @@ case IDC_MINIMIZE_WINDOW: browser_->window()->Minimize(); break; -@@ -812,7 +812,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -829,7 +829,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo break; case IDC_CREATE_SHORTCUT: base::RecordAction(base::UserMetricsAction("CreateShortcut")); @@ -45,7 +45,7 @@ chrome::CreateDesktopShortcutForActiveWebContents(browser_); #else web_app::CreateWebAppFromCurrentWebContents( -@@ -979,7 +979,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -995,7 +995,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) case IDC_CHROME_WHATS_NEW: #if BUILDFLAG(GOOGLE_CHROME_BRANDING) && \ @@ -54,7 +54,7 @@ ShowChromeWhatsNew(browser_); break; #else -@@ -1324,7 +1324,7 @@ void BrowserCommandController::InitCommandState() { +@@ -1372,7 +1372,7 @@ void BrowserCommandController::InitCommandState() { command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_4, true); command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_5, true); #endif @@ -63,7 +63,7 @@ command_updater_.UpdateCommandEnabled(IDC_MINIMIZE_WINDOW, true); command_updater_.UpdateCommandEnabled(IDC_MAXIMIZE_WINDOW, true); command_updater_.UpdateCommandEnabled(IDC_RESTORE_WINDOW, true); -@@ -1682,7 +1682,7 @@ void BrowserCommandController::UpdateCommandsForTabSta +@@ -1728,7 +1728,7 @@ void BrowserCommandController::UpdateCommandsForTabSta bool can_create_web_app = web_app::CanCreateWebApp(browser_); command_updater_.UpdateCommandEnabled(IDC_INSTALL_PWA, can_create_web_app); diff --git a/www/iridium/files/patch-chrome_browser_ui_browser__commands.cc b/www/iridium/files/patch-chrome_browser_ui_browser__commands.cc index 89ab0fd83d4e..2cace00940c1 100644 --- a/www/iridium/files/patch-chrome_browser_ui_browser__commands.cc +++ b/www/iridium/files/patch-chrome_browser_ui_browser__commands.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/browser_commands.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/browser_commands.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/browser_commands.cc -@@ -1980,7 +1980,7 @@ void OpenUpdateChromeDialog(Browser* browser) { +@@ -2090,7 +2090,7 @@ void OpenUpdateChromeDialog(Browser* browser) { } else if (UpgradeDetector::GetInstance()->is_outdated_install_no_au()) { UpgradeDetector::GetInstance()->NotifyOutdatedInstallNoAutoUpdate(); } else { diff --git a/www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc b/www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc index 44515fba34e4..0fee1e4df24e 100644 --- a/www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc +++ b/www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc @@ -1,9 +1,9 @@ ---- chrome/browser/ui/browser_ui_prefs.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/browser_ui_prefs.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/browser_ui_prefs.cc -@@ -72,7 +72,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry - registry->RegisterIntegerPref(prefs::kDefaultBrowserDeclinedCount, 0); - registry->RegisterTimePref(prefs::kDefaultBrowserFirstShownTime, - base::Time()); +@@ -64,7 +64,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry + registry->RegisterTimePref(prefs::kPdfInfoBarLastShown, base::Time()); + registry->RegisterIntegerPref(prefs::kPdfInfoBarTimesShown, 0); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) registry->RegisterStringPref(prefs::kEnterpriseCustomLabelForBrowser, diff --git a/www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc b/www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc index 593ce05dea35..9963eb955764 100644 --- a/www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc +++ b/www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/passwords/manage_passwords_ui_controller.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/passwords/manage_passwords_ui_controller.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/passwords/manage_passwords_ui_controller.cc -@@ -102,7 +102,7 @@ namespace { +@@ -104,7 +104,7 @@ namespace { using Logger = autofill::SavePasswordProgressLogger; @@ -9,7 +9,7 @@ // Should be kept in sync with constant declared in // bubble_controllers/relaunch_chrome_bubble_controller.cc. constexpr int kMaxNumberOfTimesKeychainErrorBubbleIsShown = 3; -@@ -549,7 +549,7 @@ void ManagePasswordsUIController::OnBiometricAuthBefor +@@ -562,7 +562,7 @@ void ManagePasswordsUIController::OnBiometricAuthBefor } void ManagePasswordsUIController::OnKeychainError() { diff --git a/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc b/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc index 96f169b74811..9193ee529f8f 100644 --- a/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc +++ b/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/signin/signin_view_controller.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/signin/signin_view_controller.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/signin/signin_view_controller.cc -@@ -443,7 +443,7 @@ void SigninViewController::ShowModalSyncConfirmationDi +@@ -444,7 +444,7 @@ void SigninViewController::ShowModalSyncConfirmationDi void SigninViewController::ShowModalManagedUserNoticeDialog( std::unique_ptr<signin::EnterpriseProfileCreationDialogParams> create_param) { diff --git a/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc b/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc index 024397a21b23..8fa85d52c2d4 100644 --- a/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc +++ b/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/tab_helpers.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/tab_helpers.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/tab_helpers.cc -@@ -218,7 +218,7 @@ +@@ -220,7 +220,7 @@ #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ #include "chrome/browser/ui/blocked_content/framebust_block_tab_helper.h" #include "chrome/browser/ui/browser_finder.h" #include "chrome/browser/ui/hats/hats_helper.h" -@@ -697,12 +697,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con +@@ -705,12 +705,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con webapps::PreRedirectionURLObserver::CreateForWebContents(web_contents); #endif diff --git a/www/iridium/files/patch-chrome_browser_ui_tabs_features.cc b/www/iridium/files/patch-chrome_browser_ui_tabs_features.cc index 418d146c993a..170cef10af50 100644 --- a/www/iridium/files/patch-chrome_browser_ui_tabs_features.cc +++ b/www/iridium/files/patch-chrome_browser_ui_tabs_features.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/tabs/features.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/tabs/features.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/tabs/features.cc -@@ -47,7 +47,7 @@ bool CanShowTabSearchPositionSetting() { +@@ -51,7 +51,7 @@ bool CanShowTabSearchPositionSetting() { } // Mac and other platforms will always have the tab search position in the // correct location, cros/linux/win git the user the option to change. diff --git a/www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc b/www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc new file mode 100644 index 000000000000..dfb5388717a8 --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc @@ -0,0 +1,11 @@ +--- chrome/browser/ui/tabs/tab_features.cc.orig 2025-06-19 07:37:57 UTC ++++ chrome/browser/ui/tabs/tab_features.cc +@@ -311,7 +311,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro + task_manager::WebContentsTags::CreateForTabContents(tab.GetContents()); + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + inactive_window_mouse_event_controller_ = + std::make_unique<InactiveWindowMouseEventController>(); + #endif diff --git a/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc b/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc index e956580712cf..a88f1da47ba6 100644 --- a/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc +++ b/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/task_manager/task_manager_table_model.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/task_manager/task_manager_table_model.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/task_manager/task_manager_table_model.cc -@@ -419,7 +419,7 @@ TaskManagerTableModel::~TaskManagerTableModel() { +@@ -423,7 +423,7 @@ TaskManagerTableModel::~TaskManagerTableModel() { // Note: system_total_time_ is used for both since there is no functional // difference between browser & system (they are essentially the same tab). // Instead, the data is routed to the platform appropriate bucket. @@ -9,7 +9,7 @@ task_manager::RecordTabSwitchEvent(CategoryRecord::kBrowser, system_total_time_); #elif BUILDFLAG(IS_CHROMEOS) -@@ -560,7 +560,7 @@ std::u16string TaskManagerTableModel::GetText(size_t r +@@ -564,7 +564,7 @@ std::u16string TaskManagerTableModel::GetText(size_t r ? stringifier_->backgrounded_string() : stringifier_->foregrounded_string(); @@ -18,7 +18,7 @@ case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: { const int fd_count = observed_task_manager()->GetOpenFdCount(tasks_[row]); return fd_count >= 0 ? base::FormatNumber(fd_count) -@@ -723,7 +723,7 @@ int TaskManagerTableModel::CompareValues(size_t row1, +@@ -727,7 +727,7 @@ int TaskManagerTableModel::CompareValues(size_t row1, return BooleanCompare(is_proc1_bg, is_proc2_bg); } @@ -27,7 +27,7 @@ case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: { const int proc1_fd_count = observed_task_manager()->GetOpenFdCount(tasks_[row1]); -@@ -1030,7 +1030,7 @@ void TaskManagerTableModel::UpdateRefreshTypes(int col +@@ -1044,7 +1044,7 @@ void TaskManagerTableModel::UpdateRefreshTypes(int col type = REFRESH_TYPE_KEEPALIVE_COUNT; break; diff --git a/www/iridium/files/patch-chrome_browser_ui_ui__features.cc b/www/iridium/files/patch-chrome_browser_ui_ui__features.cc index 3d08159e3f62..c118cd7c49e8 100644 --- a/www/iridium/files/patch-chrome_browser_ui_ui__features.cc +++ b/www/iridium/files/patch-chrome_browser_ui_ui__features.cc @@ -1,15 +1,15 @@ ---- chrome/browser/ui/ui_features.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/ui_features.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/ui_features.cc -@@ -45,7 +45,7 @@ bool IsExtensionMenuInRootAppMenu() { - return base::FeatureList::IsEnabled(kExtensionsMenuInAppMenu); - } +@@ -35,7 +35,7 @@ BASE_FEATURE(kCloseOmniboxPopupOnInactiveAreaClick, + "CloseOmniboxPopupOnInactiveAreaClick", + base::FEATURE_ENABLED_BY_DEFAULT); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Enables the feature to remove the last confirmation dialog when relaunching // to update Chrome. BASE_FEATURE(kFewerUpdateConfirmations, -@@ -326,7 +326,7 @@ BASE_FEATURE(kViewsJSAppModalDialog, +@@ -339,7 +339,7 @@ BASE_FEATURE(kViewsJSAppModalDialog, base::FEATURE_DISABLED_BY_DEFAULT); #endif diff --git a/www/iridium/files/patch-chrome_browser_ui_ui__features.h b/www/iridium/files/patch-chrome_browser_ui_ui__features.h index 016337d725be..2e06c20690d7 100644 --- a/www/iridium/files/patch-chrome_browser_ui_ui__features.h +++ b/www/iridium/files/patch-chrome_browser_ui_ui__features.h @@ -1,15 +1,15 @@ ---- chrome/browser/ui/ui_features.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/ui_features.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/ui_features.h -@@ -31,7 +31,7 @@ BASE_DECLARE_FEATURE(kCloseOmniboxPopupOnInactiveAreaC - BASE_DECLARE_FEATURE(kExtensionsMenuInAppMenu); - bool IsExtensionMenuInRootAppMenu(); +@@ -28,7 +28,7 @@ BASE_DECLARE_FEATURE(kAllowEyeDropperWGCScreenCapture) + + BASE_DECLARE_FEATURE(kCloseOmniboxPopupOnInactiveAreaClick); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_DECLARE_FEATURE(kFewerUpdateConfirmations); #endif -@@ -203,7 +203,7 @@ BASE_DECLARE_FEATURE(kViewsFirstRunDialog); +@@ -214,7 +214,7 @@ BASE_DECLARE_FEATURE(kViewsFirstRunDialog); BASE_DECLARE_FEATURE(kViewsJSAppModalDialog); #endif diff --git a/www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc b/www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc index 38c882262852..039285288f8e 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/accelerator_table.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/accelerator_table.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/accelerator_table.cc -@@ -70,11 +70,11 @@ const AcceleratorMapping kAcceleratorMap[] = { +@@ -69,11 +69,11 @@ const AcceleratorMapping kAcceleratorMap[] = { {ui::VKEY_S, ui::EF_PLATFORM_ACCELERATOR, IDC_SAVE_PAGE}, {ui::VKEY_9, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_LAST_TAB}, {ui::VKEY_NUMPAD9, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_LAST_TAB}, @@ -14,7 +14,7 @@ {ui::VKEY_NEXT, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN, IDC_MOVE_TAB_NEXT}, {ui::VKEY_PRIOR, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN, IDC_MOVE_TAB_PREVIOUS}, -@@ -102,7 +102,7 @@ const AcceleratorMapping kAcceleratorMap[] = { +@@ -101,7 +101,7 @@ const AcceleratorMapping kAcceleratorMap[] = { {ui::VKEY_NUMPAD7, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_6}, {ui::VKEY_8, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_7}, {ui::VKEY_NUMPAD8, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_7}, @@ -23,7 +23,7 @@ {ui::VKEY_1, ui::EF_ALT_DOWN, IDC_SELECT_TAB_0}, {ui::VKEY_NUMPAD1, ui::EF_ALT_DOWN, IDC_SELECT_TAB_0}, {ui::VKEY_2, ui::EF_ALT_DOWN, IDC_SELECT_TAB_1}, -@@ -154,7 +154,7 @@ const AcceleratorMapping kAcceleratorMap[] = { +@@ -153,7 +153,7 @@ const AcceleratorMapping kAcceleratorMap[] = { IDC_SHOW_AVATAR_MENU}, // Platform-specific key maps. diff --git a/www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc index 2b3c14eaa0b4..f98cd1b15af9 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc @@ -1,4 +1,4 @@ ---- chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc @@ -39,7 +39,7 @@ #include "ui/wm/core/wm_state.h" @@ -9,7 +9,7 @@ #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> -@@ -135,7 +135,7 @@ void ChromeBrowserMainExtraPartsViews::PreProfileInit( +@@ -143,7 +143,7 @@ void ChromeBrowserMainExtraPartsViews::PreProfileInit( return controller; })); diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc index c7704a8bd1b2..61f5175109cd 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc @@ -1,4 +1,4 @@ ---- chrome/browser/ui/views/frame/browser_frame.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/frame/browser_frame.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/frame/browser_frame.cc @@ -52,7 +52,7 @@ #include "ui/aura/window.h" @@ -18,7 +18,7 @@ return ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme(); #else return false; -@@ -184,7 +184,7 @@ void BrowserFrame::InitBrowserFrame() { +@@ -185,7 +185,7 @@ void BrowserFrame::InitBrowserFrame() { Init(std::move(params)); @@ -27,7 +27,7 @@ SelectNativeTheme(); #else SetNativeTheme(ui::NativeTheme::GetInstanceForNativeUi()); -@@ -370,7 +370,7 @@ void BrowserFrame::OnNativeWidgetWorkspaceChanged() { +@@ -371,7 +371,7 @@ void BrowserFrame::OnNativeWidgetWorkspaceChanged() { chrome::SaveWindowWorkspace(browser_view_->browser(), GetWorkspace()); chrome::SaveWindowVisibleOnAllWorkspaces(browser_view_->browser(), IsVisibleOnAllWorkspaces()); @@ -36,7 +36,7 @@ // If the window was sent to a different workspace, prioritize it if // it was sent to the current workspace and deprioritize it // otherwise. This is done by MoveBrowsersInWorkspaceToFront() -@@ -568,7 +568,7 @@ void BrowserFrame::OnMenuClosed() { +@@ -569,7 +569,7 @@ void BrowserFrame::OnMenuClosed() { } void BrowserFrame::SelectNativeTheme() { @@ -45,7 +45,7 @@ // Use the regular NativeTheme instance if running incognito mode, regardless // of system theme (gtk, qt etc). ui::NativeTheme* native_theme = ui::NativeTheme::GetInstanceForNativeUi(); -@@ -609,7 +609,7 @@ void BrowserFrame::OnTouchUiChanged() { +@@ -610,7 +610,7 @@ void BrowserFrame::OnTouchUiChanged() { bool BrowserFrame::RegenerateFrameOnThemeChange( BrowserThemeChangeType theme_change_type) { bool need_regenerate = false; diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame__view__layout__linux.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame__view__layout__linux.cc index 45894ba7ac52..2caf136d266e 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame__view__layout__linux.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame__view__layout__linux.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/frame/browser_frame_view_layout_linux.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/frame/browser_frame_view_layout_linux.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/frame/browser_frame_view_layout_linux.cc -@@ -54,7 +54,7 @@ gfx::Insets BrowserFrameViewLayoutLinux::RestoredFrame +@@ -55,7 +55,7 @@ gfx::Insets BrowserFrameViewLayoutLinux::RestoredFrame OpaqueBrowserFrameViewLayout::RestoredFrameBorderInsets()); } diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc index c2819cf4d062..501d75bfd602 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc @@ -1,4 +1,4 @@ ---- chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc @@ -15,7 +15,7 @@ #include "chrome/browser/ui/views/frame/browser_frame_view_win.h" @@ -9,7 +9,7 @@ #include "chrome/browser/ui/views/frame/browser_frame_view_layout_linux.h" #include "chrome/browser/ui/views/frame/browser_frame_view_layout_linux_native.h" #include "chrome/browser/ui/views/frame/browser_frame_view_linux_native.h" -@@ -32,7 +32,7 @@ namespace { +@@ -33,7 +33,7 @@ namespace { std::unique_ptr<OpaqueBrowserFrameView> CreateOpaqueBrowserFrameView( BrowserFrame* frame, BrowserView* browser_view) { @@ -18,3 +18,12 @@ auto* profile = browser_view->browser()->profile(); auto* linux_ui_theme = ui::LinuxUiTheme::GetForProfile(profile); auto* theme_service_factory = ThemeServiceFactory::GetForProfile(profile); +@@ -83,7 +83,7 @@ std::unique_ptr<BrowserNonClientFrameView> CreateBrows + BrowserFrame* frame, + BrowserView* browser_view) { + if (browser_view->browser()->is_type_picture_in_picture()) { +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return std::make_unique<PictureInPictureBrowserFrameViewLinux>( + frame, browser_view); + #else diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc index 382eba7e2362..96f35488f545 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/frame/browser_view.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/frame/browser_view.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/frame/browser_view.cc -@@ -2581,7 +2581,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating +@@ -2635,7 +2635,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating } void BrowserView::TabDraggingStatusChanged(bool is_dragging) { @@ -9,7 +9,7 @@ GetContentsWebView()->SetFastResize(is_dragging); if (multi_contents_view_) { multi_contents_view_->GetInactiveContentsView()->SetFastResize(is_dragging); -@@ -5825,7 +5825,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() { +@@ -5964,7 +5964,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() { } void BrowserView::MaybeShowSupervisedUserProfileSignInIPH() { diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc index de3366562cf5..cbbae2ad7683 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc @@ -1,15 +1,6 @@ ---- chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc -@@ -62,7 +62,7 @@ - #include "ui/aura/window.h" - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "chrome/browser/themes/theme_service.h" - #include "chrome/browser/themes/theme_service_factory.h" - #include "chrome/browser/ui/views/frame/browser_frame_view_paint_utils_linux.h" -@@ -76,7 +76,7 @@ +@@ -67,7 +67,7 @@ // Windows, Mac and CrOS do not clip child widgets to their parents, so we // don't have to worry about resizing quite as much. @@ -18,84 +9,3 @@ #define PLATFORM_CLIPS_CHILD_WINDOWS #endif -@@ -89,7 +89,7 @@ constexpr int kContentSettingIconSize = 16; - // The height of the controls bar at the top of the window. - constexpr int kTopControlsHeight = 34; - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Frame border when window shadow is not drawn. - constexpr int kFrameBorderThickness = 4; - #endif -@@ -184,7 +184,7 @@ class WindowEventObserver : public ui::EventObserver { - - gfx::Rect input_bounds = pip_browser_frame_view_->GetLocalBounds(); - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Calculate input bounds for Linux. This is needed because the input bounds - // is not necessary the same as the local bounds on Linux. - if (pip_browser_frame_view_->ShouldDrawFrameShadow()) { -@@ -630,7 +630,7 @@ PictureInPictureBrowserFrameView::PictureInPictureBrow - AddChildView(std::move(auto_pip_setting_overlay)); - } - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - auto* profile = browser_view->browser()->profile(); - auto* linux_ui_theme = ui::LinuxUiTheme::GetForProfile(profile); - auto* theme_service_factory = ThemeServiceFactory::GetForProfile(profile); -@@ -855,7 +855,7 @@ void PictureInPictureBrowserFrameView::OnThemeChanged( - view->SetIconColor(color_provider->GetColor(kColorPipWindowForeground)); - } - --#if !BUILDFLAG(IS_LINUX) -+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) - // On Linux the top bar background will be drawn in OnPaint(). - top_bar_container_view_->SetBackground(views::CreateSolidBackground( - color_provider->GetColor(kColorPipWindowTopBarBackground))); -@@ -944,7 +944,7 @@ void PictureInPictureBrowserFrameView::RemovedFromWidg - BrowserNonClientFrameView::RemovedFromWidget(); - } - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - gfx::Insets - PictureInPictureBrowserFrameView::RestoredMirroredFrameBorderInsets() const { - auto border = FrameBorderInsets(); -@@ -1235,7 +1235,7 @@ void PictureInPictureBrowserFrameView::AnimationProgre - // views::View implementations: - - void PictureInPictureBrowserFrameView::OnPaint(gfx::Canvas* canvas) { --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Draw the PiP window frame borders and shadows, including the top bar - // background. - if (window_frame_provider_) { -@@ -1390,7 +1390,7 @@ void PictureInPictureBrowserFrameView::UpdateTopBarVie - } - - gfx::Insets PictureInPictureBrowserFrameView::FrameBorderInsets() const { --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (window_frame_provider_) { - const auto insets = window_frame_provider_->GetFrameThicknessDip(); - const bool tiled = frame()->tiled(); -@@ -1408,7 +1408,7 @@ gfx::Insets PictureInPictureBrowserFrameView::FrameBor - } - - gfx::Insets PictureInPictureBrowserFrameView::ResizeBorderInsets() const { --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - return FrameBorderInsets(); - #elif !BUILDFLAG(IS_CHROMEOS) - return gfx::Insets(kResizeBorder); -@@ -1429,7 +1429,7 @@ gfx::Size PictureInPictureBrowserFrameView::GetNonClie - top_height + border_thickness.bottom()); - } - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - bool PictureInPictureBrowserFrameView::ShouldDrawFrameShadow() const { - return static_cast<DesktopBrowserFrameAuraLinux*>( - frame()->native_browser_frame()) diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.h b/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.h deleted file mode 100644 index 7a68023d289d..000000000000 --- a/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.h +++ /dev/null @@ -1,38 +0,0 @@ ---- chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.h.orig 2025-05-07 06:48:23 UTC -+++ chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.h -@@ -30,7 +30,7 @@ - #include "ui/views/layout/flex_layout_view.h" - #include "ui/views/widget/widget_observer.h" - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "ui/linux/window_frame_provider.h" - #endif - -@@ -87,7 +87,7 @@ class PictureInPictureBrowserFrameView - void Layout(PassKey) override; - void AddedToWidget() override; - void RemovedFromWidget() override; --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - gfx::Insets RestoredMirroredFrameBorderInsets() const override; - gfx::Insets GetInputInsets() const override; - SkRRect GetRestoredClipRegion() const override; -@@ -179,7 +179,7 @@ class PictureInPictureBrowserFrameView - // Returns true if there's an overlay view that's currently shown. - bool IsOverlayViewVisible() const; - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Returns whether a client-side shadow should be drawn for the window. - bool ShouldDrawFrameShadow() const; - -@@ -388,7 +388,7 @@ class PictureInPictureBrowserFrameView - // `top_bar_color_animation_`. - std::optional<SkColor> current_foreground_color_; - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Used to draw window frame borders and shadow on Linux when GTK theme is - // enabled. - raw_ptr<ui::WindowFrameProvider> window_frame_provider_ = nullptr; diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc index 8e814da5db50..a2fc127a5a92 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/frame/system_menu_model_builder.cc -@@ -74,7 +74,7 @@ void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuM +@@ -75,7 +75,7 @@ void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuM void SystemMenuModelBuilder::BuildSystemMenuForBrowserWindow( ui::SimpleMenuModel* model) { @@ -9,7 +9,7 @@ model->AddItemWithStringId(IDC_MINIMIZE_WINDOW, IDS_MINIMIZE_WINDOW_MENU); model->AddItemWithStringId(IDC_MAXIMIZE_WINDOW, IDS_MAXIMIZE_WINDOW_MENU); model->AddItemWithStringId(IDC_RESTORE_WINDOW, IDS_RESTORE_WINDOW_MENU); -@@ -92,7 +92,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser +@@ -101,7 +101,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser model->AddSeparator(ui::NORMAL_SEPARATOR); model->AddItemWithStringId(IDC_TASK_MANAGER_CONTEXT_MENU, IDS_TASK_MANAGER); } @@ -18,7 +18,7 @@ model->AddSeparator(ui::NORMAL_SEPARATOR); bool supports_server_side_decorations = true; #if BUILDFLAG(IS_OZONE) && !BUILDFLAG(IS_CHROMEOS) -@@ -166,7 +166,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo +@@ -175,7 +175,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo model->AddSeparator(ui::NORMAL_SEPARATOR); model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); } diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc index e23009796dbc..2c01e62d79e9 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc @@ -1,4 +1,4 @@ ---- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/frame/system_menu_model_delegate.cc @@ -20,7 +20,7 @@ #include "chromeos/ui/frame/desks/move_to_desks_menu_model.h" @@ -18,7 +18,7 @@ if (command_id == IDC_USE_SYSTEM_TITLE_BAR) { PrefService* prefs = browser_->profile()->GetPrefs(); return !prefs->GetBoolean(prefs::kUseCustomChromeFrame); -@@ -59,7 +59,7 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int c +@@ -65,7 +65,7 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int c } bool SystemMenuModelDelegate::IsCommandIdVisible(int command_id) const { diff --git a/www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc index a2279ab5e38e..9271f4edfcbb 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/omnibox/omnibox_view_views.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/omnibox/omnibox_view_views.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/omnibox/omnibox_view_views.cc -@@ -2089,7 +2089,7 @@ void OmniboxViewViews::MaybeAddSendTabToSelfItem( +@@ -2090,7 +2090,7 @@ void OmniboxViewViews::MaybeAddSendTabToSelfItem( } void OmniboxViewViews::OnPopupOpened() { diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h b/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h index 1850f8e213b9..5b00fb8951e2 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h +++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/profiles/avatar_toolbar_button.h.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/profiles/avatar_toolbar_button.h.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/profiles/avatar_toolbar_button.h -@@ -84,7 +84,7 @@ class AvatarToolbarButton : public ToolbarButton { +@@ -88,7 +88,7 @@ class AvatarToolbarButton : public ToolbarButton { // Attempts showing the In-Produce-Help for profile Switching. void MaybeShowProfileSwitchIPH(); diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc index ea3e0428e3f5..646ebb97485a 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/profiles/profile_menu_coordinator.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/profiles/profile_menu_coordinator.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/profiles/profile_menu_coordinator.cc -@@ -50,7 +50,7 @@ void ProfileMenuCoordinator::Show(bool is_source_accel +@@ -52,7 +52,7 @@ void ProfileMenuCoordinator::Show( browser.window()->NotifyFeaturePromoFeatureUsed( feature_engagement::kIPHProfileSwitchFeature, FeaturePromoFeatureUsedAction::kClosePromoIfPresent); diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc index 1b8218cc1ae4..f0e6147a978e 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc @@ -1,4 +1,4 @@ ---- chrome/browser/ui/views/profiles/profile_menu_view.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/profiles/profile_menu_view.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/profiles/profile_menu_view.cc @@ -92,7 +92,7 @@ #include "ui/strings/grit/ui_strings.h" @@ -9,7 +9,7 @@ #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" #endif -@@ -550,7 +550,7 @@ void ProfileMenuView::SetMenuTitleForAccessibility() { +@@ -495,7 +495,7 @@ void ProfileMenuView::SetMenuTitleForAccessibility() { case signin_util::SignedInState::kSignedOut: case signin_util::SignedInState::kWebOnlySignedIn: { std::string profile_user_display_name, profile_user_email; @@ -18,12 +18,3 @@ profile_user_display_name = profile->GetPrefs()->GetString( enterprise_signin::prefs::kProfileUserDisplayName); profile_user_email = profile->GetPrefs()->GetString( -@@ -647,7 +647,7 @@ void ProfileMenuView::BuildIdentity() { - badge_image_model, menu_title_, menu_subtitle_, management_label); - } else { - std::string profile_user_display_name, profile_user_email; --#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - profile_user_display_name = profile->GetPrefs()->GetString( - enterprise_signin::prefs::kProfileUserDisplayName); - profile_user_email = profile->GetPrefs()->GetString( diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc index b11b1a45e560..fb2244a19af6 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc @@ -1,7 +1,7 @@ ---- chrome/browser/ui/views/profiles/profile_menu_view_base.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/profiles/profile_menu_view_base.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/profiles/profile_menu_view_base.cc -@@ -650,7 +650,7 @@ void ProfileMenuViewBase::SetProfileIdentityInfo( - ProfileMenuViewBase::kIdentityImageSize, kIdentityImageBorder, +@@ -415,7 +415,7 @@ void ProfileMenuViewBase::SetProfileIdentityInfo( + kIdentityImageBorder, /*has_dotted_ring=*/false); -#if BUILDFLAG(IS_LINUX) diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc index 7bfd03c98476..c98973b05093 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc -@@ -65,7 +65,7 @@ +@@ -66,7 +66,7 @@ namespace { const int kModalDialogWidth = 448; @@ -9,7 +9,7 @@ const int kManagedUserNoticeConfirmationDialogWidth = 512; const int kManagedUserNoticeConfirmationDialogHeight = 576; const int kManagedUserNoticeConfirmationUpdatedDialogWidth = 780; -@@ -197,7 +197,7 @@ SigninViewControllerDelegateViews::CreateSignoutConfir +@@ -198,7 +198,7 @@ SigninViewControllerDelegateViews::CreateSignoutConfir } #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) @@ -18,7 +18,7 @@ // static std::unique_ptr<views::WebView> SigninViewControllerDelegateViews::CreateManagedUserNoticeConfirmationWebView( -@@ -382,7 +382,7 @@ SigninViewControllerDelegateViews::SigninViewControlle +@@ -383,7 +383,7 @@ SigninViewControllerDelegateViews::SigninViewControlle SetButtons(static_cast<int>(ui::mojom::DialogButton::kNone)); @@ -27,7 +27,7 @@ // On the local profile creation dialog, cancelling the dialog (for instance // through the VKEY_ESCAPE accelerator) should delete the profile. if (delete_profile_on_cancel) { -@@ -472,7 +472,7 @@ void SigninViewControllerDelegateViews::DisplayModal() +@@ -475,7 +475,7 @@ void SigninViewControllerDelegateViews::DisplayModal() content_view_->RequestFocus(); } @@ -36,7 +36,7 @@ void SigninViewControllerDelegateViews::DeleteProfileOnCancel() { ProfileAttributesEntry* entry = g_browser_process->profile_manager() -@@ -553,7 +553,7 @@ SigninViewControllerDelegate::CreateSignoutConfirmatio +@@ -556,7 +556,7 @@ SigninViewControllerDelegate::CreateSignoutConfirmatio } #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) diff --git a/www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc b/www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc index 6fdb04bdd59c..9780d1af7961 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc @@ -1,4 +1,4 @@ ---- chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc @@ -190,7 +190,7 @@ bool IsWindowDragUsingSystemDragDropAllowed() { @@ -27,7 +27,7 @@ // EndMoveLoop is going to snap the window back to its original location. // Hide it so users don't see this. Hiding a window in Linux aura causes // it to lose capture so skip it. -@@ -1914,7 +1914,7 @@ void TabDragController::CompleteDrag() { +@@ -1922,7 +1922,7 @@ void TabDragController::CompleteDrag() { } // If source window was maximized - maximize the new window as well. @@ -36,7 +36,7 @@ // Keeping maximized state breaks snap to Grid on Windows when dragging // tabs from maximized windows. TODO:(crbug.com/727051) Explore doing this // for other desktop OS's. kMaximizedStateRetainedOnTabDrag in -@@ -2331,7 +2331,7 @@ TabDragController::Liveness TabDragController::GetLoca +@@ -2339,7 +2339,7 @@ TabDragController::Liveness TabDragController::GetLoca } } diff --git a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc index 664894f3d812..98caf59d19e8 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/tabs/tab.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/tabs/tab.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/tabs/tab.cc -@@ -642,7 +642,7 @@ void Tab::MaybeUpdateHoverStatus(const ui::MouseEvent& +@@ -644,7 +644,7 @@ void Tab::MaybeUpdateHoverStatus(const ui::MouseEvent& return; } diff --git a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc index c5dccbdf8567..670169c43652 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/tabs/tab_style_views.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/tabs/tab_style_views.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/tabs/tab_style_views.cc -@@ -545,7 +545,7 @@ float TabStyleViewsImpl::GetCurrentActiveOpacity() con +@@ -563,7 +563,7 @@ float TabStyleViewsImpl::GetCurrentActiveOpacity() con if (!IsHoverAnimationActive()) { return base_opacity; } diff --git a/www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc b/www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc index e94603d487ef..929343eb5c0a 100644 --- a/www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc +++ b/www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/views/user_education/browser_user_education_service.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/views/user_education/browser_user_education_service.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/views/user_education/browser_user_education_service.cc -@@ -930,7 +930,7 @@ void MaybeRegisterChromeFeaturePromos( +@@ -1010,7 +1010,7 @@ void MaybeRegisterChromeFeaturePromos( "Triggered when a shared tab becomes the active tab."))); } @@ -9,7 +9,7 @@ // kIPHSupervisedUserProfileSigninFeature registry.RegisterFeature(std::move( FeaturePromoSpecification::CreateForCustomAction( -@@ -1209,7 +1209,7 @@ void MaybeRegisterChromeFeaturePromos( +@@ -1289,7 +1289,7 @@ void MaybeRegisterChromeFeaturePromos( "Triggered to inform users of the availability of the " "new translate screen feature on the Lens Overlay."))); diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc b/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc index 095676e89059..3d19c2585255 100644 --- a/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc +++ b/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/webui/chrome_web_ui_configs.cc -@@ -137,7 +137,7 @@ +@@ -140,7 +140,7 @@ #include "chrome/browser/ui/webui/conflicts/conflicts_ui.h" #endif // BUILDFLAG(IS_WIN) @@ -9,7 +9,7 @@ #include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h" #include "chrome/browser/ui/webui/browser_switch/browser_switch_ui.h" #include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin_ui.h" -@@ -145,19 +145,19 @@ +@@ -148,19 +148,19 @@ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -27,12 +27,12 @@ // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/discards/discards_ui.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || - // BUILDFLAG(IS_CHROMEOS) -@@ -185,7 +185,7 @@ + // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) +@@ -188,7 +188,7 @@ #include "chrome/browser/ui/webui/signin/signin_error_ui.h" #endif // !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID) @@ -41,7 +41,7 @@ #include "chrome/browser/ui/webui/on_device_translation_internals/on_device_translation_internals_ui.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -323,7 +323,7 @@ void RegisterChromeWebUIConfigs() { +@@ -329,7 +329,7 @@ void RegisterChromeWebUIConfigs() { map.AddWebUIConfig(std::make_unique<WebUIJsErrorUIConfig>()); #endif // BUILDFLAG(IS_ANDROID) @@ -50,7 +50,7 @@ map.AddWebUIConfig(std::make_unique<LinuxProxyConfigUI>()); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || // BUILDFLAG(IS_OPENBSD) -@@ -348,7 +348,7 @@ void RegisterChromeWebUIConfigs() { +@@ -354,7 +354,7 @@ void RegisterChromeWebUIConfigs() { map.AddWebUIConfig(std::make_unique<ConflictsUIConfig>()); #endif // BUILDFLAG(IS_WIN) @@ -59,7 +59,7 @@ map.AddWebUIConfig(std::make_unique<BrowserSwitchUIConfig>()); map.AddWebUIConfig(std::make_unique<HistorySyncOptinUIConfig>()); map.AddWebUIConfig(std::make_unique<OnDeviceTranslationInternalsUIConfig>()); -@@ -357,13 +357,13 @@ void RegisterChromeWebUIConfigs() { +@@ -363,20 +363,20 @@ void RegisterChromeWebUIConfigs() { #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -74,4 +74,12 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) map.AddWebUIConfig( std::make_unique<enterprise_connectors::ConnectorsInternalsUIConfig>()); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || + // BUILDFLAG(IS_CHROMEOS) + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD) map.AddWebUIConfig(std::make_unique<DiscardsUIConfig>()); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || + // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc b/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc index 67207234e19d..e654ba404e88 100644 --- a/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc +++ b/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc @@ -1,4 +1,4 @@ ---- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc @@ -118,16 +118,16 @@ #endif @@ -20,7 +20,7 @@ #include "chrome/browser/ui/webui/whats_new/whats_new_ui.h" #endif -@@ -408,7 +408,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: +@@ -411,7 +411,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: return NewTabPageUI::GetFaviconResourceBytes(scale_factor); } @@ -29,7 +29,7 @@ if (page_url.host_piece() == chrome::kChromeUIWhatsNewHost) { return WhatsNewUI::GetFaviconResourceBytes(scale_factor); } -@@ -442,7 +442,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: +@@ -450,7 +450,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc new file mode 100644 index 000000000000..0887292061fa --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc @@ -0,0 +1,20 @@ +--- chrome/browser/ui/webui/connectors_internals/connectors_internals_page_handler.cc.orig 2025-06-19 07:37:57 UTC ++++ chrome/browser/ui/webui/connectors_internals/connectors_internals_page_handler.cc +@@ -81,7 +81,7 @@ connectors_internals::mojom::ClientIdentityPtr GetIden + } + #endif // BUILDFLAG(ENTERPRISE_CLIENT_CERTIFICATES) + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + std::string GetStringFromTimestamp(base::Time timestamp) { + return (timestamp == base::Time()) ? std::string() + : base::UnlocalizedTimeFormatWithPattern( +@@ -190,7 +190,7 @@ void ConnectorsInternalsPageHandler::GetClientCertific + + void ConnectorsInternalsPageHandler::GetSignalsReportingState( + GetSignalsReportingStateCallback callback) { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + auto* profile_prefs = profile_->GetPrefs(); + + std::string last_upload_attempt_time_string = diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc b/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc index 3a814d8803ab..c07b42145769 100644 --- a/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc +++ b/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/webui/management/management_ui.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/webui/management/management_ui.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/webui/management/management_ui.cc -@@ -175,11 +175,11 @@ void ManagementUI::GetLocalizedStrings( +@@ -181,11 +181,11 @@ void ManagementUI::GetLocalizedStrings( IDS_MANAGEMENT_FILE_TRANSFER_VISIBLE_DATA}, {kManagementReportFileEvents, IDS_MANAGEMENT_REPORT_FILE_EVENTS}, #endif // BUILDFLAG(IS_CHROMEOS) diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc index 70bd58643593..51e905699a49 100644 --- a/www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc +++ b/www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/webui/searchbox/searchbox_handler.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/webui/searchbox/searchbox_handler.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/webui/searchbox/searchbox_handler.cc -@@ -111,7 +111,7 @@ const char* kMacShareIconResourceName = +@@ -118,7 +118,7 @@ const char* kMacShareIconResourceName = #elif BUILDFLAG(IS_WIN) const char* kWinShareIconResourceName = "//resources/cr_components/searchbox/icons/win_share.svg"; @@ -9,7 +9,7 @@ const char* kLinuxShareIconResourceName = "//resources/cr_components/searchbox/icons/share.svg"; #else -@@ -171,7 +171,7 @@ static void DefineChromeRefreshRealboxIcons() { +@@ -178,7 +178,7 @@ static void DefineChromeRefreshRealboxIcons() { #elif BUILDFLAG(IS_WIN) kWinShareIconResourceName = "//resources/cr_components/searchbox/icons/win_share_cr23.svg"; @@ -18,7 +18,7 @@ kLinuxShareIconResourceName = "//resources/cr_components/searchbox/icons/share_cr23.svg"; #else -@@ -607,7 +607,7 @@ std::string SearchboxHandler::ActionVectorIconToResour +@@ -622,7 +622,7 @@ std::string SearchboxHandler::ActionVectorIconToResour icon.name == omnibox::kShareWinChromeRefreshIcon.name) { return kWinShareIconResourceName; } diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc b/www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc index 4591d1e65a51..07e2a09f71ad 100644 --- a/www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc +++ b/www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -140,7 +140,7 @@ +@@ -139,7 +139,7 @@ #include "chrome/browser/ui/webui/settings/system_handler.h" #endif @@ -9,7 +9,7 @@ #include "ui/display/screen.h" #endif -@@ -159,7 +159,7 @@ +@@ -158,7 +158,7 @@ #include "chrome/browser/ui/webui/certificate_manager_localized_strings_provider.h" #endif @@ -18,7 +18,7 @@ #include "ui/linux/linux_ui_factory.h" #include "ui/ozone/public/ozone_platform.h" #endif -@@ -288,7 +288,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou +@@ -287,7 +287,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou {"toastAlertLevelDescription", IDS_SETTINGS_ACCESSIBILITY_TOAST_FREQUENCY_DESCRIPTION}, #endif @@ -27,7 +27,7 @@ {"overscrollHistoryNavigationTitle", IDS_SETTINGS_OVERSCROLL_HISTORY_NAVIGATION_TITLE}, {"overscrollHistoryNavigationSubtitle", -@@ -577,7 +577,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht +@@ -578,7 +578,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht {"uiFeatureAlignLeft", IDS_SETTINGS_UI_FEATURE_ALIGN_LEFT}, {"uiFeatureAlignRight", IDS_SETTINGS_UI_FEATURE_ALIGN_RIGHT}, {"resetToDefault", IDS_SETTINGS_RESET_TO_DEFAULT}, @@ -36,7 +36,7 @@ {"gtkTheme", IDS_SETTINGS_GTK_THEME}, {"useGtkTheme", IDS_SETTINGS_USE_GTK_THEME}, {"qtTheme", IDS_SETTINGS_QT_THEME}, -@@ -585,7 +585,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht +@@ -586,7 +586,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht {"classicTheme", IDS_SETTINGS_CLASSIC_THEME}, {"useClassicTheme", IDS_SETTINGS_USE_CLASSIC_THEME}, #endif @@ -45,7 +45,7 @@ {"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS}, #endif #if BUILDFLAG(IS_MAC) -@@ -607,7 +607,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht +@@ -608,7 +608,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht html_source->AddBoolean("tabSearchIsRightAlignedAtStartup", tabs::GetTabSearchTrailingTabstrip(profile)); @@ -54,7 +54,7 @@ bool show_custom_chrome_frame = ui::OzonePlatform::GetInstance() ->GetPlatformRuntimeProperties() .supports_server_side_window_decorations; -@@ -1495,7 +1495,7 @@ void AddSignOutDialogStrings(content::WebUIDataSource* +@@ -1530,7 +1530,7 @@ void AddSignOutDialogStrings(content::WebUIDataSource* g_browser_process->GetApplicationLocale()) .spec(); diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc b/www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc index d03a74b1eb17..7538f737fef7 100644 --- a/www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc +++ b/www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc @@ -1,6 +1,6 @@ ---- chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc -@@ -50,7 +50,7 @@ +@@ -45,7 +45,7 @@ #include "ui/base/l10n/l10n_util.h" #include "ui/base/webui/resource_path.h" @@ -9,7 +9,7 @@ #include "chrome/browser/ui/browser_navigator.h" #include "chrome/browser/ui/browser_navigator_params.h" #include "net/base/url_util.h" -@@ -90,7 +90,7 @@ user_education::NewBadgeRegistry* GetNewBadgeRegistry( +@@ -85,7 +85,7 @@ user_education::NewBadgeRegistry* GetNewBadgeRegistry( } whats_new::WhatsNewRegistry* GetWhatsNewRegistry() { @@ -18,7 +18,7 @@ return g_browser_process->GetFeatures()->whats_new_registry(); #else return nullptr; -@@ -828,7 +828,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats +@@ -823,7 +823,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats } void UserEducationInternalsPageHandlerImpl::LaunchWhatsNewStaging() { diff --git a/www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc b/www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc index da03034b3219..513ef5654855 100644 --- a/www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc +++ b/www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc @@ -1,6 +1,6 @@ ---- chrome/browser/web_applications/policy/web_app_policy_manager.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/web_applications/policy/web_app_policy_manager.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/web_applications/policy/web_app_policy_manager.cc -@@ -105,7 +105,7 @@ namespace web_app { +@@ -108,7 +108,7 @@ namespace web_app { BASE_FEATURE(kDesktopPWAsForceUnregisterOSIntegration, "DesktopPWAsForceUnregisterOSIntegration", diff --git a/www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc b/www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc index c802b580d2b8..b16d829accb9 100644 --- a/www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc +++ b/www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc @@ -1,6 +1,6 @@ ---- chrome/browser/webauthn/chrome_authenticator_request_delegate.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/webauthn/chrome_authenticator_request_delegate.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/webauthn/chrome_authenticator_request_delegate.cc -@@ -577,7 +577,7 @@ void ChromeAuthenticatorRequestDelegate::ConfigureDisc +@@ -574,7 +574,7 @@ void ChromeAuthenticatorRequestDelegate::ConfigureDisc g_observer->ConfiguringCable(request_type); } diff --git a/www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc b/www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc index a5f8d5a5ec6a..6ffb4bffb0e1 100644 --- a/www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc +++ b/www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc @@ -1,6 +1,6 @@ ---- chrome/browser/webauthn/enclave_manager.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/browser/webauthn/enclave_manager.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/browser/webauthn/enclave_manager.cc -@@ -689,7 +689,7 @@ base::flat_set<GaiaId> GetGaiaIDs( +@@ -686,7 +686,7 @@ base::flat_set<GaiaId> GetGaiaIDs( std::string UserVerifyingLabelToString(crypto::UserVerifyingKeyLabel label) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ return label; #else return std::string("placeholder"); -@@ -699,7 +699,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer +@@ -696,7 +696,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer std::optional<crypto::UserVerifyingKeyLabel> UserVerifyingKeyLabelFromString( std::string saved_label) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-chrome_common_channel__info__posix.cc b/www/iridium/files/patch-chrome_common_channel__info__posix.cc index b7ce8e0cf09c..e599b263b155 100644 --- a/www/iridium/files/patch-chrome_common_channel__info__posix.cc +++ b/www/iridium/files/patch-chrome_common_channel__info__posix.cc @@ -1,6 +1,6 @@ ---- chrome/common/channel_info_posix.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/common/channel_info_posix.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/common/channel_info_posix.cc -@@ -94,7 +94,7 @@ std::string GetChannelSuffixForDataDir() { +@@ -95,7 +95,7 @@ std::string GetChannelSuffixForDataDir() { } } @@ -9,7 +9,7 @@ std::string GetChannelSuffixForExtraFlagsEnvVarName() { #if BUILDFLAG(GOOGLE_CHROME_BRANDING) const auto channel_state = GetChannelImpl(); -@@ -120,7 +120,7 @@ std::string GetChannelSuffixForExtraFlagsEnvVarName() +@@ -121,7 +121,7 @@ std::string GetChannelSuffixForExtraFlagsEnvVarName() } #endif // BUILDFLAG(IS_LINUX) diff --git a/www/iridium/files/patch-chrome_common_chrome__features.cc b/www/iridium/files/patch-chrome_common_chrome__features.cc index 88684c3b9e1d..2a15a1b7c3ae 100644 --- a/www/iridium/files/patch-chrome_common_chrome__features.cc +++ b/www/iridium/files/patch-chrome_common_chrome__features.cc @@ -1,6 +1,6 @@ ---- chrome/common/chrome_features.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/common/chrome_features.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/common/chrome_features.cc -@@ -80,7 +80,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims, +@@ -81,7 +81,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims, #endif // BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ // Enables or disables the Autofill survey triggered by opening a prompt to // save address info. BASE_FEATURE(kAutofillAddressSurvey, -@@ -98,7 +98,7 @@ BASE_FEATURE(kAutofillPasswordSurvey, +@@ -99,7 +99,7 @@ BASE_FEATURE(kAutofillPasswordSurvey, base::FEATURE_DISABLED_BY_DEFAULT); #endif @@ -18,7 +18,7 @@ // Enables the Restart background mode optimization. When all Chrome UI is // closed and it goes in the background, allows to restart the browser to // discard memory. -@@ -233,7 +233,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtensionsMenu, +@@ -231,7 +231,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtensionsMenu, BASE_FEATURE(kDesktopPWAsRunOnOsLogin, "DesktopPWAsRunOnOsLogin", #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -27,16 +27,16 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -259,7 +259,7 @@ BASE_FEATURE(kDesktopPWAsTabStripSettings, - "DesktopPWAsTabStripSettings", +@@ -264,7 +264,7 @@ BASE_FEATURE(kDisplayEdgeToEdgeFullscreen, base::FEATURE_DISABLED_BY_DEFAULT); + #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Controls whether Chrome Apps are supported. See https://crbug.com/1221251. // If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome // Apps will not launch and will be marked in the UI as deprecated. -@@ -898,7 +898,7 @@ BASE_FEATURE(kKAnonymityServiceStorage, +@@ -1000,7 +1000,7 @@ BASE_FEATURE(kKAnonymityServiceStorage, "KAnonymityServiceStorage", base::FEATURE_ENABLED_BY_DEFAULT); @@ -45,7 +45,7 @@ BASE_FEATURE(kLinuxLowMemoryMonitor, "LinuxLowMemoryMonitor", base::FEATURE_DISABLED_BY_DEFAULT); -@@ -911,7 +911,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit +@@ -1013,7 +1013,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit &kLinuxLowMemoryMonitor, "critical_level", 255}; #endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) diff --git a/www/iridium/files/patch-chrome_common_chrome__features.h b/www/iridium/files/patch-chrome_common_chrome__features.h index 3ceaf1b684b2..5fb9a2a40649 100644 --- a/www/iridium/files/patch-chrome_common_chrome__features.h +++ b/www/iridium/files/patch-chrome_common_chrome__features.h @@ -1,4 +1,4 @@ ---- chrome/common/chrome_features.h.orig 2025-05-07 06:48:23 UTC +--- chrome/common/chrome_features.h.orig 2025-06-19 07:37:57 UTC +++ chrome/common/chrome_features.h @@ -50,13 +50,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims); #endif // BUILDFLAG(IS_MAC) @@ -16,7 +16,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kBackgroundModeAllowRestart); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -146,7 +146,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsPreventClose); +@@ -148,7 +148,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsPreventClose); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kDesktopPWAsTabStripSettings); @@ -25,7 +25,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kChromeAppsDeprecation); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kShortcutsNotApps); -@@ -521,7 +521,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests); +@@ -581,7 +581,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kKAnonymityServiceStorage); @@ -34,7 +34,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kLinuxLowMemoryMonitor); COMPONENT_EXPORT(CHROME_FEATURES) extern const base::FeatureParam<int> kLinuxLowMemoryMonitorModerateLevel; -@@ -529,7 +529,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) +@@ -589,7 +589,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) extern const base::FeatureParam<int> kLinuxLowMemoryMonitorCriticalLevel; #endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) diff --git a/www/iridium/files/patch-chrome_common_chrome__switches.cc b/www/iridium/files/patch-chrome_common_chrome__switches.cc index ece1f9d9c392..1b232c1d4bc1 100644 --- a/www/iridium/files/patch-chrome_common_chrome__switches.cc +++ b/www/iridium/files/patch-chrome_common_chrome__switches.cc @@ -1,6 +1,6 @@ ---- chrome/common/chrome_switches.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/common/chrome_switches.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/common/chrome_switches.cc -@@ -883,7 +883,7 @@ const char kAllowNaClSocketAPI[] = "allow-nacl-socket- +@@ -884,7 +884,7 @@ const char kAllowNaClSocketAPI[] = "allow-nacl-socket- #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -9,7 +9,7 @@ const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon"; // Causes the browser to launch directly in guest mode. -@@ -911,7 +911,7 @@ const char kGlicDev[] = "glic-dev"; +@@ -913,7 +913,7 @@ const char kGlicDev[] = "glic-dev"; const char kGlicHostLogging[] = "glic-host-logging"; #endif diff --git a/www/iridium/files/patch-chrome_common_chrome__switches.h b/www/iridium/files/patch-chrome_common_chrome__switches.h index 732323a94897..7bdcc1dae8a6 100644 --- a/www/iridium/files/patch-chrome_common_chrome__switches.h +++ b/www/iridium/files/patch-chrome_common_chrome__switches.h @@ -1,4 +1,4 @@ ---- chrome/common/chrome_switches.h.orig 2025-05-07 06:48:23 UTC +--- chrome/common/chrome_switches.h.orig 2025-06-19 07:37:57 UTC +++ chrome/common/chrome_switches.h @@ -273,7 +273,7 @@ extern const char kAllowNaClSocketAPI[]; #endif @@ -9,7 +9,7 @@ extern const char kEnableNewAppMenuIcon[]; extern const char kGuest[]; extern const char kForceNtpMobilePromo[]; -@@ -290,7 +290,7 @@ extern const char kGlicDev[]; +@@ -291,7 +291,7 @@ extern const char kGlicDev[]; extern const char kGlicHostLogging[]; #endif diff --git a/www/iridium/files/patch-chrome_common_pref__names.h b/www/iridium/files/patch-chrome_common_pref__names.h index ac15114e3aec..90a0a7b2ea50 100644 --- a/www/iridium/files/patch-chrome_common_pref__names.h +++ b/www/iridium/files/patch-chrome_common_pref__names.h @@ -1,6 +1,15 @@ ---- chrome/common/pref_names.h.orig 2025-05-07 06:48:23 UTC +--- chrome/common/pref_names.h.orig 2025-06-19 07:37:57 UTC +++ chrome/common/pref_names.h -@@ -1325,7 +1325,7 @@ inline constexpr char kGeminiSettings[] = "browser.gem +@@ -451,7 +451,7 @@ inline constexpr char kPreinstalledAppsInstallState[] + "default_apps_install_state"; + + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_LINUX) ++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // A list of extensions ids that have to be allowed to run in Incognito by the + // user in order to use Incognito mode. + inline constexpr char kMandatoryExtensionsForIncognitoNavigation[] = +@@ -1334,7 +1334,7 @@ inline constexpr char kGeminiSettings[] = "browser.gem inline constexpr char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps"; @@ -9,7 +18,7 @@ // Linux specific preference on whether we should match the system theme. inline constexpr char kSystemTheme[] = "extensions.theme.system_theme"; #endif -@@ -1502,7 +1502,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] = +@@ -1511,7 +1511,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] = "browser.show_update_promotion_info_bar"; #endif @@ -18,7 +27,7 @@ // Boolean that is false if we should show window manager decorations. If // true, we draw a custom chrome frame (thicker title bar and blue border). inline constexpr char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; -@@ -2129,7 +2129,7 @@ inline constexpr char kDownloadDefaultDirectory[] = +@@ -2156,7 +2156,7 @@ inline constexpr char kDownloadDefaultDirectory[] = inline constexpr char kDownloadDirUpgraded[] = "download.directory_upgrade"; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -27,7 +36,7 @@ inline constexpr char kOpenPdfDownloadInSystemReader[] = "download.open_pdf_in_system_reader"; #endif -@@ -2622,14 +2622,14 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s +@@ -2651,14 +2651,14 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s inline constexpr char kMediaCdmOriginData[] = "media.cdm.origin_data"; #endif // BUILDFLAG(IS_WIN) @@ -44,7 +53,7 @@ // Records whether the user has seen an HTTP auth "negotiate" header. inline constexpr char kReceivedHttpAuthNegotiateHeader[] = "net.received_http_auth_negotiate_headers"; -@@ -2721,7 +2721,7 @@ inline constexpr char kIsolatedWebAppInstallForceList[ +@@ -2750,7 +2750,7 @@ inline constexpr char kIsolatedWebAppInstallForceList[ inline constexpr char kIsolatedWebAppPendingInitializationCount[] = "profile.isolated_web_app.install.pending_initialization_count"; @@ -53,7 +62,7 @@ // Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected // along with kAuthNegotiateDelegateAllowlist. inline constexpr char kAuthNegotiateDelegateByKdcPolicy[] = -@@ -3240,7 +3240,7 @@ inline constexpr char kKioskChromeAppsForceAllowed[] = +@@ -3269,7 +3269,7 @@ inline constexpr char kKioskChromeAppsForceAllowed[] = #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -62,7 +71,7 @@ // Defines administrator-set availability of Chrome for Testing. inline constexpr char kChromeForTestingAllowed[] = "chrome_for_testing.allowed"; #endif -@@ -3763,7 +3763,7 @@ inline constexpr char kScreenCaptureWithoutGestureAllo +@@ -3795,7 +3795,7 @@ inline constexpr char kScreenCaptureWithoutGestureAllo inline constexpr char kSandboxExternalProtocolBlocked[] = "profile.sandbox_external_protocol_blocked"; @@ -71,7 +80,7 @@ // Boolean that indicates if system notifications are allowed to be used in // place of Chrome notifications. inline constexpr char kAllowSystemNotifications[] = -@@ -3959,7 +3959,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] = +@@ -3991,7 +3991,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] = "policy.lens_desktop_ntp_search_enabled"; #endif @@ -80,7 +89,7 @@ // A dict mapping the edition name with the major version it was shown. inline constexpr char kWhatsNewEditionUsed[] = "browser.whats_new.edition_used"; // A list containing the features of each module in order of when they -@@ -4056,7 +4056,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ +@@ -4088,7 +4088,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ "printing.oauth2_authorization_servers"; #endif diff --git a/www/iridium/files/patch-chrome_common_url__constants.h b/www/iridium/files/patch-chrome_common_url__constants.h index 5d0f0d7120d4..8a424fef6cf7 100644 --- a/www/iridium/files/patch-chrome_common_url__constants.h +++ b/www/iridium/files/patch-chrome_common_url__constants.h @@ -1,6 +1,6 @@ ---- chrome/common/url_constants.h.orig 2025-05-07 06:48:23 UTC +--- chrome/common/url_constants.h.orig 2025-06-19 07:37:57 UTC +++ chrome/common/url_constants.h -@@ -983,7 +983,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] = +@@ -992,7 +992,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] = inline constexpr char kPhoneHubPermissionLearnMoreURL[] = "https://support.google.com/chromebook?p=multidevice"; diff --git a/www/iridium/files/patch-chrome_common_webui__url__constants.cc b/www/iridium/files/patch-chrome_common_webui__url__constants.cc index e4e6caee98ab..031bfa59801c 100644 --- a/www/iridium/files/patch-chrome_common_webui__url__constants.cc +++ b/www/iridium/files/patch-chrome_common_webui__url__constants.cc @@ -1,12 +1,16 @@ ---- chrome/common/webui_url_constants.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/common/webui_url_constants.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/common/webui_url_constants.cc -@@ -192,18 +192,18 @@ base::span<const base::cstring_view> ChromeURLHosts() +@@ -193,21 +193,21 @@ base::span<const base::cstring_view> ChromeURLHosts() kChromeUIAssistantOptInHost, #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) kChromeUIConnectorsInternalsHost, + #endif + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD) kChromeUIDiscardsHost, #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/iridium/files/patch-chrome_common_webui__url__constants.h b/www/iridium/files/patch-chrome_common_webui__url__constants.h index 8d7af9596985..5dd578df13d0 100644 --- a/www/iridium/files/patch-chrome_common_webui__url__constants.h +++ b/www/iridium/files/patch-chrome_common_webui__url__constants.h @@ -1,6 +1,6 @@ ---- chrome/common/webui_url_constants.h.orig 2025-05-07 06:48:23 UTC +--- chrome/common/webui_url_constants.h.orig 2025-06-19 07:37:57 UTC +++ chrome/common/webui_url_constants.h -@@ -513,18 +513,18 @@ inline constexpr char kChromeUIOsUrlAppURL[] = "chrome +@@ -524,18 +524,18 @@ inline constexpr char kChromeUIOsUrlAppURL[] = "chrome #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -11,8 +11,8 @@ #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD) inline constexpr char kChromeUIDiscardsHost[] = "discards"; inline constexpr char kChromeUIDiscardsURL[] = "chrome://discards/"; #endif @@ -22,7 +22,7 @@ inline constexpr char kChromeUIWebAppSettingsHost[] = "app-settings"; inline constexpr char kChromeUIWebAppSettingsURL[] = "chrome://app-settings/"; inline constexpr char kChromeUIWhatsNewHost[] = "whats-new"; -@@ -536,11 +536,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[] +@@ -547,11 +547,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[] #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -36,7 +36,7 @@ inline constexpr char kChromeUIBrowserSwitchHost[] = "browser-switch"; inline constexpr char kChromeUIBrowserSwitchURL[] = "chrome://browser-switch/"; inline constexpr char kChromeUIIntroDefaultBrowserSubPage[] = "default-browser"; -@@ -565,7 +565,7 @@ inline constexpr char kChromeUIHistorySyncOptinURL[] = +@@ -576,7 +576,7 @@ inline constexpr char kChromeUIHistorySyncOptinURL[] = "chrome://history-sync-optin/"; #endif diff --git a/www/iridium/files/patch-chrome_test_base_scoped__channel__override__posix.cc b/www/iridium/files/patch-chrome_test_base_scoped__channel__override__posix.cc index 9e98756d663d..8f150f1f5749 100644 --- a/www/iridium/files/patch-chrome_test_base_scoped__channel__override__posix.cc +++ b/www/iridium/files/patch-chrome_test_base_scoped__channel__override__posix.cc @@ -1,6 +1,6 @@ ---- chrome/test/base/scoped_channel_override_posix.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/test/base/scoped_channel_override_posix.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/test/base/scoped_channel_override_posix.cc -@@ -45,7 +45,7 @@ std::string GetVersionExtra(ScopedChannelOverride::Cha +@@ -43,7 +43,7 @@ std::string GetVersionExtra(ScopedChannelOverride::Cha return "beta"; case ScopedChannelOverride::Channel::kDev: return "unstable"; diff --git a/www/iridium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc b/www/iridium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc index fecd76c12c1e..ced9c72973fd 100644 --- a/www/iridium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc +++ b/www/iridium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc @@ -1,6 +1,6 @@ ---- chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/test/chromedriver/chrome/chrome_finder.cc -@@ -58,7 +58,7 @@ void GetApplicationDirs(std::vector<base::FilePath>* l +@@ -59,7 +59,7 @@ void GetApplicationDirs(std::vector<base::FilePath>* l installation_locations[i].Append(L"Chromium\\Application")); } } @@ -9,7 +9,7 @@ void GetApplicationDirs(std::vector<base::FilePath>* locations) { // TODO: Respect users' PATH variables. // Until then, we use an approximation of the most common defaults. -@@ -125,7 +125,7 @@ std::vector<base::FilePath> GetChromeProgramNames() { +@@ -126,7 +126,7 @@ std::vector<base::FilePath> GetChromeProgramNames() { chrome::kGoogleChromeForTestingBrowserProcessExecutablePath), base::FilePath(chrome::kGoogleChromeBrowserProcessExecutablePath), base::FilePath(chrome::kChromiumBrowserProcessExecutablePath), @@ -18,7 +18,7 @@ base::FilePath(chrome::kBrowserProcessExecutablePath), base::FilePath("chrome"), // Chrome for Testing or Google Chrome base::FilePath("google-chrome"), base::FilePath("chromium"), -@@ -141,7 +141,7 @@ std::vector<base::FilePath> GetHeadlessShellProgramNam +@@ -142,7 +142,7 @@ std::vector<base::FilePath> GetHeadlessShellProgramNam return { #if BUILDFLAG(IS_WIN) base::FilePath(FILE_PATH_LITERAL("chrome-headless-shell.exe")), diff --git a/www/iridium/files/patch-chrome_updater_app_app__uninstall.cc b/www/iridium/files/patch-chrome_updater_app_app__uninstall.cc index 44b20c4fd945..f693c7c4631c 100644 --- a/www/iridium/files/patch-chrome_updater_app_app__uninstall.cc +++ b/www/iridium/files/patch-chrome_updater_app_app__uninstall.cc @@ -1,6 +1,6 @@ ---- chrome/updater/app/app_uninstall.cc.orig 2025-05-07 06:48:23 UTC +--- chrome/updater/app/app_uninstall.cc.orig 2025-06-19 07:37:57 UTC +++ chrome/updater/app/app_uninstall.cc -@@ -157,7 +157,7 @@ void UninstallInThreadPool(UpdaterScope scope, +@@ -172,7 +172,7 @@ void UninstallInThreadPool(UpdaterScope scope, } if (int result = UninstallOtherVersions(scope); result != kErrorOk) { diff --git a/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc b/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc index 68c7525a704e..d85d0241fff1 100644 --- a/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc +++ b/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc @@ -1,4 +1,4 @@ ---- chromecast/browser/cast_browser_main_parts.cc.orig 2025-05-07 06:48:23 UTC +--- chromecast/browser/cast_browser_main_parts.cc.orig 2025-06-19 07:37:57 UTC +++ chromecast/browser/cast_browser_main_parts.cc @@ -100,7 +100,7 @@ #include "ui/ozone/public/ozone_platform.h" @@ -18,7 +18,7 @@ base::FilePath GetApplicationFontsDir() { std::unique_ptr<base::Environment> env(base::Environment::Create()); -@@ -319,7 +319,7 @@ const DefaultCommandLineSwitch kDefaultSwitches[] = { +@@ -318,7 +318,7 @@ const DefaultCommandLineSwitch kDefaultSwitches[] = { {switches::kDisableThreadedAnimation, ""}, #endif // BUILDFLAG(IS_ANDROID) #endif // BUILDFLAG(IS_CAST_AUDIO_ONLY) @@ -27,7 +27,7 @@ #if defined(ARCH_CPU_X86_FAMILY) // This is needed for now to enable the x11 Ozone platform to work with // current Linux/NVidia OpenGL drivers. -@@ -496,7 +496,7 @@ void CastBrowserMainParts::ToolkitInitialized() { +@@ -495,7 +495,7 @@ void CastBrowserMainParts::ToolkitInitialized() { views_delegate_ = std::make_unique<CastViewsDelegate>(); #endif // defined(USE_AURA) diff --git a/www/iridium/files/patch-components_BUILD.gn b/www/iridium/files/patch-components_BUILD.gn index e4c4a24a3289..234b8050fe15 100644 --- a/www/iridium/files/patch-components_BUILD.gn +++ b/www/iridium/files/patch-components_BUILD.gn @@ -1,6 +1,6 @@ ---- components/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- components/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ components/BUILD.gn -@@ -208,7 +208,6 @@ test("components_unittests") { +@@ -210,7 +210,6 @@ test("components_unittests") { "//components/content_settings/core/browser:unit_tests", "//components/content_settings/core/common:unit_tests", "//components/country_codes:unit_tests", @@ -8,7 +8,7 @@ "//components/cross_device/logging:unit_tests", "//components/crx_file:unit_tests", "//components/data_sharing:unit_tests", -@@ -610,7 +609,7 @@ test("components_unittests") { +@@ -614,7 +613,7 @@ test("components_unittests") { deps += [ "//components/cast:unit_tests" ] } @@ -17,7 +17,7 @@ deps += [ "//components/crash/content/browser:unit_tests", "//components/crash/core/app:unit_tests", -@@ -771,7 +770,7 @@ test("components_unittests") { +@@ -774,7 +773,7 @@ test("components_unittests") { deps += [ "//components/constrained_window:unit_tests" ] } diff --git a/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc b/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc index 16e0be84af1c..9ab88b0089f1 100644 --- a/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc +++ b/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc @@ -1,6 +1,15 @@ ---- components/autofill/core/browser/data_manager/payments/payments_data_manager.cc.orig 2025-05-07 06:48:23 UTC +--- components/autofill/core/browser/data_manager/payments/payments_data_manager.cc.orig 2025-06-19 07:37:57 UTC +++ components/autofill/core/browser/data_manager/payments/payments_data_manager.cc -@@ -950,7 +950,7 @@ void PaymentsDataManager::SetPrefService(PrefService* +@@ -466,7 +466,7 @@ void PaymentsDataManager::OnWebDataServiceRequestDone( + + bool PaymentsDataManager::ShouldShowBnplSettings() const { + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // Check `kAutofillEnableBuyNowPayLater` only if the user has seen a BNPL + // suggestion before, or there are already linked issuers present, to avoid + // unnecessary feature flag checks. The linked issuer check is due to the fact +@@ -971,7 +971,7 @@ void PaymentsDataManager::SetPrefService(PrefService* &PaymentsDataManager::OnAutofillPaymentsCardBenefitsPrefChange, base::Unretained(this))); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +18,7 @@ pref_registrar_.Add( prefs::kAutofillBnplEnabled, base::BindRepeating(&PaymentsDataManager::OnBnplEnabledPrefChange, -@@ -1026,7 +1026,7 @@ void PaymentsDataManager::SetAutofillHasSeenIban() { +@@ -1047,7 +1047,7 @@ void PaymentsDataManager::SetAutofillHasSeenIban() { } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -18,7 +27,7 @@ bool PaymentsDataManager::IsAutofillHasSeenBnplPrefEnabled() const { return prefs::HasSeenBnpl(pref_service_); } -@@ -2022,7 +2022,7 @@ bool PaymentsDataManager::AreEwalletAccountsSupported( +@@ -2029,7 +2029,7 @@ bool PaymentsDataManager::AreEwalletAccountsSupported( bool PaymentsDataManager::AreBnplIssuersSupported() const { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -27,7 +36,7 @@ return app_locale_ == "en-US" && GetCountryCodeForExperimentGroup() == "US" && base::FeatureList::IsEnabled( features::kAutofillEnableBuyNowPayLaterSyncing); -@@ -2055,7 +2055,7 @@ void PaymentsDataManager::ClearAllCreditCardBenefits() +@@ -2062,7 +2062,7 @@ void PaymentsDataManager::ClearAllCreditCardBenefits() } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h b/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h index 9e94c0e0d11b..28e855c00b34 100644 --- a/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h +++ b/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h @@ -1,6 +1,6 @@ ---- components/autofill/core/browser/data_manager/payments/payments_data_manager.h.orig 2025-05-07 06:48:23 UTC +--- components/autofill/core/browser/data_manager/payments/payments_data_manager.h.orig 2025-06-19 07:37:57 UTC +++ components/autofill/core/browser/data_manager/payments/payments_data_manager.h -@@ -354,7 +354,7 @@ class PaymentsDataManager : public AutofillWebDataServ +@@ -360,7 +360,7 @@ class PaymentsDataManager : public AutofillWebDataServ void SetAutofillHasSeenIban(); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ // Returns the value of the kAutofillHasSeenBnpl pref. bool IsAutofillHasSeenBnplPrefEnabled() const; -@@ -683,7 +683,7 @@ class PaymentsDataManager : public AutofillWebDataServ +@@ -680,7 +680,7 @@ class PaymentsDataManager : public AutofillWebDataServ void ClearAllCreditCardBenefits(); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc b/www/iridium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc new file mode 100644 index 000000000000..7b5aae9aeafe --- /dev/null +++ b/www/iridium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc @@ -0,0 +1,11 @@ +--- components/autofill/core/browser/foundations/browser_autofill_manager.cc.orig 2025-06-19 07:37:57 UTC ++++ components/autofill/core/browser/foundations/browser_autofill_manager.cc +@@ -728,7 +728,7 @@ BrowserAutofillManager::GetCreditCardAccessManager() c + + payments::BnplManager* BrowserAutofillManager::GetPaymentsBnplManager() { + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + if (!bnpl_manager_) { + bnpl_manager_ = std::make_unique<payments::BnplManager>(this); + } diff --git a/www/iridium/files/patch-components_autofill_core_browser_integrators_autofill__optimization__guide.cc b/www/iridium/files/patch-components_autofill_core_browser_integrators_autofill__optimization__guide.cc deleted file mode 100644 index 3e6228b8d306..000000000000 --- a/www/iridium/files/patch-components_autofill_core_browser_integrators_autofill__optimization__guide.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- components/autofill/core/browser/integrators/autofill_optimization_guide.cc.orig 2025-05-07 06:48:23 UTC -+++ components/autofill/core/browser/integrators/autofill_optimization_guide.cc -@@ -231,7 +231,7 @@ void AutofillOptimizationGuide::OnDidParseForm( - } - - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - auto bnpl_issuer_allowlist_can_be_loaded = - [&payments_data_manager](std::string_view issuer_id) { - return base::Contains(payments_data_manager.GetBnplIssuers(), issuer_id, diff --git a/www/iridium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc b/www/iridium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc new file mode 100644 index 000000000000..58807b054dad --- /dev/null +++ b/www/iridium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc @@ -0,0 +1,11 @@ +--- components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide.cc.orig 2025-06-19 07:37:57 UTC ++++ components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide.cc +@@ -232,7 +232,7 @@ void AutofillOptimizationGuide::OnDidParseForm( + } + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + auto bnpl_issuer_allowlist_can_be_loaded = + [&payments_data_manager](BnplIssuer::IssuerId issuer_id) { + return base::Contains(payments_data_manager.GetBnplIssuers(), issuer_id, diff --git a/www/iridium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc b/www/iridium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc new file mode 100644 index 000000000000..cd3ac58bcb82 --- /dev/null +++ b/www/iridium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc @@ -0,0 +1,38 @@ +--- components/autofill/core/browser/payments/amount_extraction_manager.cc.orig 2025-06-19 07:37:57 UTC ++++ components/autofill/core/browser/payments/amount_extraction_manager.cc +@@ -109,7 +109,7 @@ bool AmountExtractionManager::ShouldTriggerAmountExtra + } + + if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || +- BUILDFLAG(IS_CHROMEOS)) { ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) { + if (base::FeatureList::IsEnabled( + ::autofill::features:: + kAutofillEnableAmountExtractionDesktopLogging)) { +@@ -123,7 +123,7 @@ bool AmountExtractionManager::ShouldTriggerAmountExtra + } + + if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || +- BUILDFLAG(IS_CHROMEOS)) { ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) { + return base::FeatureList::IsEnabled( + ::autofill::features::kAutofillEnableAmountExtractionDesktop); + } else { +@@ -190,7 +190,7 @@ void AmountExtractionManager::OnCheckoutAmountReceived + bnpl_manager->OnAmountExtractionReturned(parsed_extracted_amount); + } + if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || +- BUILDFLAG(IS_CHROMEOS)) { ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) { + if (base::FeatureList::IsEnabled( + ::autofill::features:: + kAutofillEnableAmountExtractionDesktopLogging)) { +@@ -214,7 +214,7 @@ void AmountExtractionManager::OnTimeoutReached() { + autofill_metrics::AmountExtractionResult::kTimeout); + // TODO(crbug.com/378517983): Add BNPL flow action logic here. + if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || +- BUILDFLAG(IS_CHROMEOS)) { ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) { + if (base::FeatureList::IsEnabled( + ::autofill::features:: + kAutofillEnableAmountExtractionDesktopLogging)) { diff --git a/www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc b/www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc index 11751e1737b2..89483240e2c4 100644 --- a/www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc +++ b/www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc @@ -1,16 +1,7 @@ ---- components/autofill/core/browser/payments/bnpl_manager.cc.orig 2025-05-07 06:48:23 UTC +--- components/autofill/core/browser/payments/bnpl_manager.cc.orig 2025-06-19 07:37:57 UTC +++ components/autofill/core/browser/payments/bnpl_manager.cc -@@ -114,7 +114,7 @@ void BnplManager::OnAmountExtractionReturned( - - bool BnplManager::ShouldShowBnplSettings() const { - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - const PaymentsDataManager& payments_data_manager = - payments_autofill_client().GetPaymentsDataManager(); - -@@ -431,7 +431,7 @@ void BnplManager::MaybeUpdateSuggestionsWithBnpl( - .Run(update_suggestions_result.suggestions, trigger_source); +@@ -466,7 +466,7 @@ void BnplManager::MaybeUpdateSuggestionsWithBnpl( + .OnBnplSuggestionShown(); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) diff --git a/www/iridium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc b/www/iridium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc new file mode 100644 index 000000000000..c456be3a67e2 --- /dev/null +++ b/www/iridium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc @@ -0,0 +1,11 @@ +--- components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc.orig 2025-06-19 07:37:57 UTC ++++ components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc +@@ -1226,7 +1226,7 @@ bool AreMaskedBankAccountSupported() { + + bool IsBnplIssuerSupported() { + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + return base::FeatureList::IsEnabled( + features::kAutofillEnableBuyNowPayLaterSyncing); + #else diff --git a/www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc b/www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc index 9d6c24ac4898..920e6906a756 100644 --- a/www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc +++ b/www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc @@ -1,6 +1,6 @@ ---- components/autofill/core/common/autofill_payments_features.cc.orig 2025-05-07 06:48:23 UTC +--- components/autofill/core/common/autofill_payments_features.cc.orig 2025-06-19 07:37:57 UTC +++ components/autofill/core/common/autofill_payments_features.cc -@@ -267,7 +267,7 @@ BASE_FEATURE(kAutofillSyncEwalletAccounts, +@@ -297,7 +297,7 @@ BASE_FEATURE(kAutofillSyncEwalletAccounts, #endif // BUILDFLAG(IS_ANDROID) bool ShouldShowImprovedUserConsentForCreditCardSave() { diff --git a/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc b/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc index 60ddeaf54585..739fda0ee0d0 100644 --- a/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc +++ b/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc @@ -1,6 +1,6 @@ ---- components/autofill/core/common/autofill_prefs.cc.orig 2025-05-07 06:48:23 UTC +--- components/autofill/core/common/autofill_prefs.cc.orig 2025-06-19 07:37:57 UTC +++ components/autofill/core/common/autofill_prefs.cc -@@ -98,7 +98,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync +@@ -99,7 +99,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ registry->RegisterBooleanPref( kAutofillBnplEnabled, true, user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); -@@ -277,7 +277,7 @@ bool IsFacilitatedPaymentsEwalletEnabled(const PrefSer +@@ -278,7 +278,7 @@ bool IsFacilitatedPaymentsEwalletEnabled(const PrefSer } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -18,7 +18,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool value) { prefs->SetBoolean(kAutofillBnplEnabled, value); } -@@ -286,7 +286,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v +@@ -287,7 +287,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v bool IsAutofillBnplEnabled(const PrefService* prefs) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -27,7 +27,7 @@ return prefs->GetBoolean(kAutofillBnplEnabled); #else return false; -@@ -295,7 +295,7 @@ bool IsAutofillBnplEnabled(const PrefService* prefs) { +@@ -296,7 +296,7 @@ bool IsAutofillBnplEnabled(const PrefService* prefs) { } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h b/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h index 45fcfb6b78e2..24f6907310ae 100644 --- a/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h +++ b/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h @@ -1,4 +1,4 @@ ---- components/autofill/core/common/autofill_prefs.h.orig 2025-05-07 06:48:23 UTC +--- components/autofill/core/common/autofill_prefs.h.orig 2025-06-19 07:37:57 UTC +++ components/autofill/core/common/autofill_prefs.h @@ -32,7 +32,7 @@ inline constexpr std::string_view kAutofillAblationSee inline constexpr char kAutofillAiOptInStatus[] = @@ -9,7 +9,7 @@ // Boolean that is true if BNPL on Autofill is enabled. inline constexpr char kAutofillBnplEnabled[] = "autofill.bnpl_enabled"; // Boolean that is true if the user has ever seen a BNPL suggestion. -@@ -208,7 +208,7 @@ void SetFacilitatedPaymentsEwallet(PrefService* prefs, +@@ -214,7 +214,7 @@ void SetFacilitatedPaymentsEwallet(PrefService* prefs, bool IsFacilitatedPaymentsEwalletEnabled(const PrefService* prefs); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -18,7 +18,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool value); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -216,7 +216,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v +@@ -222,7 +222,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v bool IsAutofillBnplEnabled(const PrefService* prefs); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-components_constrained__window_constrained__window__views.cc b/www/iridium/files/patch-components_constrained__window_constrained__window__views.cc index 3154c27167ea..f796a33b6bd3 100644 --- a/www/iridium/files/patch-components_constrained__window_constrained__window__views.cc +++ b/www/iridium/files/patch-components_constrained__window_constrained__window__views.cc @@ -1,6 +1,6 @@ ---- components/constrained_window/constrained_window_views.cc.orig 2025-05-07 06:48:23 UTC +--- components/constrained_window/constrained_window_views.cc.orig 2025-06-19 07:37:57 UTC +++ components/constrained_window/constrained_window_views.cc -@@ -377,7 +377,7 @@ bool SupportsGlobalScreenCoordinates() { +@@ -385,7 +385,7 @@ bool SupportsGlobalScreenCoordinates() { } bool PlatformClipsChildrenToViewport() { diff --git a/www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h b/www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h index 0ff352cbf560..d431cbddd26f 100644 --- a/www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h +++ b/www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h @@ -1,6 +1,6 @@ ---- components/device_signals/core/browser/browser_utils.h.orig 2025-05-07 06:48:23 UTC +--- components/device_signals/core/browser/browser_utils.h.orig 2025-06-19 07:37:57 UTC +++ components/device_signals/core/browser/browser_utils.h -@@ -15,7 +15,7 @@ namespace device_signals { +@@ -36,7 +36,7 @@ bool GetSiteIsolationEnabled(); // Returns the hostname of the current machine. std::string GetHostName(); @@ -9,7 +9,7 @@ // Returns the hostname of the current machine. std::vector<std::string> GetSystemDnsServers(); -@@ -23,7 +23,7 @@ std::vector<std::string> GetSystemDnsServers(); +@@ -44,7 +44,7 @@ std::vector<std::string> GetSystemDnsServers(); SettingValue GetOSFirewall(); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc b/www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc index af8a7374e4a6..435e5cba40a1 100644 --- a/www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc +++ b/www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc @@ -1,4 +1,4 @@ ---- components/device_signals/core/common/linux/platform_utils_linux.cc.orig 2025-05-07 06:48:23 UTC +--- components/device_signals/core/common/linux/platform_utils_linux.cc.orig 2025-06-19 07:37:57 UTC +++ components/device_signals/core/common/linux/platform_utils_linux.cc @@ -4,12 +4,23 @@ @@ -24,7 +24,7 @@ #include <algorithm> #include <optional> #include <string> -@@ -100,6 +111,7 @@ SettingValue GetScreenlockSecured() { +@@ -98,6 +109,7 @@ SettingValue GetScreenlockSecured() { // Implements the logic from the native host installation script. First find the // root device identifier, then locate its parent and get its type. SettingValue GetDiskEncrypted() { @@ -32,7 +32,7 @@ struct stat info; // First figure out the device identifier. Fail fast if this fails. if (stat("/", &info) != 0) { -@@ -122,11 +134,35 @@ SettingValue GetDiskEncrypted() { +@@ -120,11 +132,35 @@ SettingValue GetDiskEncrypted() { } return SettingValue::UNKNOWN; } @@ -68,7 +68,7 @@ base::DirReaderPosix reader("/sys/class/net"); if (!reader.IsValid()) { return result; -@@ -151,6 +187,7 @@ std::vector<std::string> GetMacAddresses() { +@@ -149,6 +185,7 @@ std::vector<std::string> GetMacAddresses() { &address); result.push_back(address); } diff --git a/www/iridium/files/patch-components_device__signals_core_common_signals__features.cc b/www/iridium/files/patch-components_device__signals_core_common_signals__features.cc index 2b22a946e7c2..00099131901c 100644 --- a/www/iridium/files/patch-components_device__signals_core_common_signals__features.cc +++ b/www/iridium/files/patch-components_device__signals_core_common_signals__features.cc @@ -1,6 +1,6 @@ ---- components/device_signals/core/common/signals_features.cc.orig 2025-05-07 06:48:23 UTC +--- components/device_signals/core/common/signals_features.cc.orig 2025-06-19 07:37:57 UTC +++ components/device_signals/core/common/signals_features.cc -@@ -31,7 +31,7 @@ bool IsBrowserSignalsReportingEnabled() { +@@ -43,7 +43,7 @@ bool IsBrowserSignalsReportingEnabled() { } #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ diff --git a/www/iridium/files/patch-components_device__signals_core_common_signals__features.h b/www/iridium/files/patch-components_device__signals_core_common_signals__features.h index c8ca0067d636..17b6d6d95d90 100644 --- a/www/iridium/files/patch-components_device__signals_core_common_signals__features.h +++ b/www/iridium/files/patch-components_device__signals_core_common_signals__features.h @@ -1,6 +1,6 @@ ---- components/device_signals/core/common/signals_features.h.orig 2025-05-07 06:48:23 UTC +--- components/device_signals/core/common/signals_features.h.orig 2025-06-19 07:37:57 UTC +++ components/device_signals/core/common/signals_features.h -@@ -24,7 +24,7 @@ bool IsProfileSignalsReportingEnabled(); +@@ -29,7 +29,7 @@ bool IsProfileSignalsReportingEnabled(); bool IsBrowserSignalsReportingEnabled(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ diff --git a/www/iridium/files/patch-components_embedder__support_user__agent__utils.cc b/www/iridium/files/patch-components_embedder__support_user__agent__utils.cc index c15e92c710aa..ced0f5d2dc6a 100644 --- a/www/iridium/files/patch-components_embedder__support_user__agent__utils.cc +++ b/www/iridium/files/patch-components_embedder__support_user__agent__utils.cc @@ -1,4 +1,4 @@ ---- components/embedder_support/user_agent_utils.cc.orig 2025-05-07 06:48:23 UTC +--- components/embedder_support/user_agent_utils.cc.orig 2025-06-19 07:37:57 UTC +++ components/embedder_support/user_agent_utils.cc @@ -318,7 +318,7 @@ std::string GetUserAgentPlatform() { return ""; @@ -28,7 +28,16 @@ #else return std::string(version_info::GetOSType()); #endif -@@ -813,6 +816,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons +@@ -660,7 +663,7 @@ blink::UserAgentMetadata GetUserAgentMetadata(const Pr + base::StringPrintf("%d.%d.%d", major, minor, bugfix); + #endif + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // TODO(crbug.com/40245146): Remove this Blink feature + if (base::FeatureList::IsEnabled( + blink::features::kReduceUserAgentDataLinuxPlatformVersion)) { +@@ -821,6 +824,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons "Android %s", os_version.c_str() #elif BUILDFLAG(IS_FUCHSIA) "Fuchsia" diff --git a/www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc b/www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc index d1b121dbc72f..bc988cff5389 100644 --- a/www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc +++ b/www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc @@ -1,4 +1,4 @@ ---- components/embedder_support/user_agent_utils_unittest.cc.orig 2025-05-07 06:48:23 UTC +--- components/embedder_support/user_agent_utils_unittest.cc.orig 2025-06-19 07:37:57 UTC +++ components/embedder_support/user_agent_utils_unittest.cc @@ -148,7 +148,7 @@ void CheckUserAgentStringOrdering(bool mobile_device) ASSERT_EQ("CrOS", pieces[0]); @@ -18,7 +18,7 @@ "X11; Linux x86_64"; #elif BUILDFLAG(IS_MAC) "Macintosh; Intel Mac OS X 10_15_7"; -@@ -696,7 +696,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMetadata) { +@@ -716,7 +716,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMetadata) { #endif #elif BUILDFLAG(IS_ANDROID) EXPECT_EQ(metadata.platform, "Android"); diff --git a/www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc b/www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc index ec4b72a4f98a..10e8b35d741b 100644 --- a/www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc +++ b/www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc @@ -1,6 +1,6 @@ ---- components/enterprise/connectors/core/realtime_reporting_client_base.cc.orig 2025-05-07 06:48:23 UTC +--- components/enterprise/connectors/core/realtime_reporting_client_base.cc.orig 2025-06-19 07:37:57 UTC +++ components/enterprise/connectors/core/realtime_reporting_client_base.cc -@@ -190,7 +190,7 @@ void RealtimeReportingClientBase::ReportEvent( +@@ -191,7 +191,7 @@ void RealtimeReportingClientBase::ReportEvent( event.mutable_time()->set_nanos((timestamp_millis % 1000) * 1000000); } @@ -9,7 +9,7 @@ MaybeCollectDeviceSignalsAndReportEvent(std::move(event), client, settings); #else // Regardless of collecting device signals or not, upload the security event -@@ -239,7 +239,7 @@ void RealtimeReportingClientBase::ReportEventWithTimes +@@ -240,7 +240,7 @@ void RealtimeReportingClientBase::ReportEventWithTimes if (include_profile_user_name) { event.Set(kKeyProfileUserName, GetProfileUserName()); } diff --git a/www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc b/www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc index c747f7eeb600..0643fe4934b3 100644 --- a/www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc +++ b/www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc @@ -1,8 +1,8 @@ ---- components/eye_dropper/eye_dropper_view.cc.orig 2025-05-07 06:48:23 UTC +--- components/eye_dropper/eye_dropper_view.cc.orig 2025-06-19 07:37:57 UTC +++ components/eye_dropper/eye_dropper_view.cc -@@ -208,7 +208,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent, +@@ -206,7 +206,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent, // EyeDropper/WidgetDelegate. - set_owned_by_client(); + set_owned_by_client(OwnedByClientPassKey()); SetPreferredSize(GetSize()); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc b/www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc index 88993bd0bb49..a0a5da5b4592 100644 --- a/www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc +++ b/www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc @@ -1,4 +1,4 @@ ---- components/feature_engagement/public/feature_configurations.cc.orig 2025-05-07 06:48:23 UTC +--- components/feature_engagement/public/feature_configurations.cc.orig 2025-06-19 07:37:57 UTC +++ components/feature_engagement/public/feature_configurations.cc @@ -100,7 +100,7 @@ std::optional<FeatureConfig> CreateNewUserGestureInPro @@ -18,7 +18,7 @@ if (kIPHPasswordsManagementBubbleAfterSaveFeature.name == feature->name) { FeatureConfig config; config.valid = true; -@@ -1740,7 +1740,8 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi +@@ -1851,7 +1851,8 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc b/www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc index 43eba87fe51b..f61cdaf40d45 100644 --- a/www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc +++ b/www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc @@ -1,4 +1,4 @@ ---- components/feature_engagement/public/feature_constants.cc.orig 2025-05-07 06:48:23 UTC +--- components/feature_engagement/public/feature_constants.cc.orig 2025-06-19 07:37:57 UTC +++ components/feature_engagement/public/feature_constants.cc @@ -19,7 +19,7 @@ BASE_FEATURE(kIPHDemoMode, "IPH_DemoMode", base::FEATU BASE_FEATURE(kIPHDummyFeature, "IPH_Dummy", base::FEATURE_DISABLED_BY_DEFAULT); @@ -9,7 +9,7 @@ #if BUILDFLAG(GOOGLE_CHROME_BRANDING) BASE_FEATURE(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo", -@@ -710,7 +710,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCriteriaExperiment, +@@ -759,7 +759,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCriteriaExperiment, #endif // BUILDFLAG(IS_IOS) @@ -18,7 +18,7 @@ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) BASE_FEATURE(kIPHAutofillBnplAffirmOrZipSuggestionFeature, "IPH_AutofillBnplAffirmOrZipSuggestion", -@@ -857,7 +857,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeature, +@@ -909,7 +909,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeature, base::FEATURE_DISABLED_BY_DEFAULT); #endif diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__constants.h b/www/iridium/files/patch-components_feature__engagement_public_feature__constants.h index e1e9cbf79917..a38bd98e1e9b 100644 --- a/www/iridium/files/patch-components_feature__engagement_public_feature__constants.h +++ b/www/iridium/files/patch-components_feature__engagement_public_feature__constants.h @@ -1,4 +1,4 @@ ---- components/feature_engagement/public/feature_constants.h.orig 2025-05-07 06:48:23 UTC +--- components/feature_engagement/public/feature_constants.h.orig 2025-06-19 07:37:57 UTC +++ components/feature_engagement/public/feature_constants.h @@ -27,7 +27,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDemoMode); FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDummyFeature); @@ -9,7 +9,7 @@ #if BUILDFLAG(GOOGLE_CHROME_BRANDING) FEATURE_CONSTANTS_DECLARE_FEATURE(kEsbDownloadRowPromoFeature); #endif -@@ -316,7 +316,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kDefaultBrowserTrigg +@@ -336,7 +336,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kDefaultBrowserTrigg #endif // BUILDFLAG(IS_IOS) @@ -18,7 +18,7 @@ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHAutofillBnplAffirmOrZipSuggestionFeature); FEATURE_CONSTANTS_DECLARE_FEATURE( -@@ -374,7 +374,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphHelpA +@@ -397,7 +397,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphHelpA FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphGamingFeature); #endif diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__list.cc b/www/iridium/files/patch-components_feature__engagement_public_feature__list.cc index 9378e4276a91..7ddf5068eac6 100644 --- a/www/iridium/files/patch-components_feature__engagement_public_feature__list.cc +++ b/www/iridium/files/patch-components_feature__engagement_public_feature__list.cc @@ -1,7 +1,7 @@ ---- components/feature_engagement/public/feature_list.cc.orig 2025-05-07 06:48:23 UTC +--- components/feature_engagement/public/feature_list.cc.orig 2025-06-19 07:37:57 UTC +++ components/feature_engagement/public/feature_list.cc -@@ -175,7 +175,7 @@ const base::Feature* const kAllFeatures[] = { - &kIPHiOSSettingsInOverflowMenuBubbleFeature, +@@ -186,7 +186,7 @@ const base::Feature* const kAllFeatures[] = { + &kIPHiOSWelcomeBackFeature, #endif // BUILDFLAG(IS_IOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) @@ -9,7 +9,7 @@ #if BUILDFLAG(GOOGLE_CHROME_BRANDING) &kEsbDownloadRowPromoFeature, #endif -@@ -247,7 +247,7 @@ const base::Feature* const kAllFeatures[] = { +@@ -261,7 +261,7 @@ const base::Feature* const kAllFeatures[] = { #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) @@ -18,7 +18,7 @@ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) &kIPHAutofillAiOptInFeature, &kIPHAutofillBnplAffirmOrZipSuggestionFeature, -@@ -302,7 +302,7 @@ const base::Feature* const kAllFeatures[] = { +@@ -316,7 +316,7 @@ const base::Feature* const kAllFeatures[] = { &kIPHScalableIphGamingFeature, #endif // BUILDFLAG(IS_CHROMEOS) diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__list.h b/www/iridium/files/patch-components_feature__engagement_public_feature__list.h index a64e527fb486..d6090c34b58b 100644 --- a/www/iridium/files/patch-components_feature__engagement_public_feature__list.h +++ b/www/iridium/files/patch-components_feature__engagement_public_feature__list.h @@ -1,6 +1,6 @@ ---- components/feature_engagement/public/feature_list.h.orig 2025-05-07 06:48:23 UTC +--- components/feature_engagement/public/feature_list.h.orig 2025-06-19 07:37:57 UTC +++ components/feature_engagement/public/feature_list.h -@@ -312,7 +312,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSSettingsInOverflowMenuBu +@@ -332,7 +332,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSWelcomeBackFeature, "IPH #endif // BUILDFLAG(IS_IOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ #if BUILDFLAG(GOOGLE_CHROME_BRANDING) DEFINE_VARIATION_PARAM(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo"); #endif -@@ -427,7 +427,8 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSharedTabFeedbackF +@@ -453,7 +453,8 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSharedTabFeedbackF // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -19,7 +19,7 @@ DEFINE_VARIATION_PARAM(kIPHAutofillAiOptInFeature, "IPH_AutofillAiOptIn"); DEFINE_VARIATION_PARAM(kIPHAutofillBnplAffirmOrZipSuggestionFeature, "IPH_AutofillBnplAffirmOrZipSuggestion"); -@@ -523,7 +524,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHelpAppBasedTenF +@@ -549,7 +550,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHelpAppBasedTenF DEFINE_VARIATION_PARAM(kIPHScalableIphGamingFeature, "IPH_ScalableIphGaming"); #endif // BUILDFLAG(IS_CHROMEOS) @@ -28,16 +28,16 @@ DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunch, "IPH_DesktopPWAsLinkCapturingLaunch"); DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunchAppInTab, -@@ -697,7 +698,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat - kIPHiOSReminderNotificationsOverflowMenuNewBadgeFeature), +@@ -735,7 +736,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat VARIATION_ENTRY(kIPHiOSDownloadAutoDeletionFeature), + VARIATION_ENTRY(kIPHiOSWelcomeBackFeature), #elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + VARIATION_ENTRY(kIPHAutofillEnableLoyaltyCardsFeature), VARIATION_ENTRY(kIPHBatterySaverModeFeature), VARIATION_ENTRY(kIPHCompanionSidePanelFeature), - VARIATION_ENTRY(kIPHCompanionSidePanelRegionSearchFeature), -@@ -759,7 +760,8 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat +@@ -798,7 +799,8 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -47,7 +47,7 @@ VARIATION_ENTRY(kIPHAutofillAiOptInFeature), VARIATION_ENTRY(kIPHAutofillCreditCardBenefitFeature), VARIATION_ENTRY(kIPHAutofillCardInfoRetrievalSuggestionFeature), -@@ -812,7 +814,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat +@@ -851,7 +853,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat VARIATION_ENTRY(kIPHScalableIphGamingFeature), #endif // BUILDFLAG(IS_CHROMEOS) diff --git a/www/iridium/files/patch-components_live__caption_caption__util.cc b/www/iridium/files/patch-components_live__caption_caption__util.cc index 749cfdef6977..efe52d36b440 100644 --- a/www/iridium/files/patch-components_live__caption_caption__util.cc +++ b/www/iridium/files/patch-components_live__caption_caption__util.cc @@ -1,6 +1,6 @@ ---- components/live_caption/caption_util.cc.orig 2025-05-07 06:48:23 UTC +--- components/live_caption/caption_util.cc.orig 2025-06-19 07:37:57 UTC +++ components/live_caption/caption_util.cc -@@ -136,7 +136,7 @@ bool IsLiveCaptionFeatureSupported() { +@@ -141,7 +141,7 @@ bool IsHeadlessCaptionFeatureSupported() { std::string GetCaptionSettingsUrl() { #if BUILDFLAG(IS_CHROMEOS) return "chrome://os-settings/audioAndCaptions"; diff --git a/www/iridium/files/patch-components_media__router_common_media__source.cc b/www/iridium/files/patch-components_media__router_common_media__source.cc index d2e833dae2e3..d164c77dea9d 100644 --- a/www/iridium/files/patch-components_media__router_common_media__source.cc +++ b/www/iridium/files/patch-components_media__router_common_media__source.cc @@ -1,6 +1,6 @@ ---- components/media_router/common/media_source.cc.orig 2025-05-07 06:48:23 UTC +--- components/media_router/common/media_source.cc.orig 2025-06-19 07:37:57 UTC +++ components/media_router/common/media_source.cc -@@ -62,7 +62,7 @@ bool IsSystemAudioCaptureSupported() { +@@ -58,7 +58,7 @@ bool IsSystemAudioCaptureSupported() { if (!media::IsSystemLoopbackCaptureSupported()) { return false; } diff --git a/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc b/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc index 7ff9b99777e3..76b3fecfd46b 100644 --- a/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc +++ b/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc @@ -1,4 +1,4 @@ ---- components/password_manager/core/browser/features/password_features.cc.orig 2025-05-07 06:48:23 UTC +--- components/password_manager/core/browser/features/password_features.cc.orig 2025-06-19 07:37:57 UTC +++ components/password_manager/core/browser/features/password_features.cc @@ -40,7 +40,7 @@ BASE_FEATURE(kClearUndecryptablePasswords, BASE_FEATURE(kClearUndecryptablePasswordsOnSync, @@ -9,7 +9,7 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -112,7 +112,7 @@ BASE_FEATURE(kReuseDetectionBasedOnPasswordHashes, +@@ -116,7 +116,7 @@ BASE_FEATURE(kReuseDetectionBasedOnPasswordHashes, "ReuseDetectionBasedOnPasswordHashes", base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h b/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h index 4c08ef1f4076..f543dc0a0ed6 100644 --- a/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h +++ b/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h @@ -1,6 +1,6 @@ ---- components/password_manager/core/browser/features/password_features.h.orig 2025-05-07 06:48:23 UTC +--- components/password_manager/core/browser/features/password_features.h.orig 2025-06-19 07:37:57 UTC +++ components/password_manager/core/browser/features/password_features.h -@@ -108,7 +108,7 @@ BASE_DECLARE_FEATURE(kPasswordManualFallbackAvailable) +@@ -114,7 +114,7 @@ BASE_DECLARE_FEATURE(kPostponeOnLoginSuccessful); // Detects password reuse based on hashed password values. BASE_DECLARE_FEATURE(kReuseDetectionBasedOnPasswordHashes); diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__form__filling.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__form__filling.cc new file mode 100644 index 000000000000..a58cb0084142 --- /dev/null +++ b/www/iridium/files/patch-components_password__manager_core_browser_password__form__filling.cc @@ -0,0 +1,11 @@ +--- components/password_manager/core/browser/password_form_filling.cc.orig 2025-06-19 07:37:57 UTC ++++ components/password_manager/core/browser/password_form_filling.cc +@@ -165,7 +165,7 @@ LikelyFormFilling SendFillInformationToRenderer( + #endif + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + if (!should_show_popup_without_passwords) { + client->MaybeShowSavePasswordPrimingPromo(observed_form.url); + } diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc index babcbe1c4aa7..bb4c6770d481 100644 --- a/www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc +++ b/www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc @@ -1,6 +1,6 @@ ---- components/password_manager/core/browser/password_manager.cc.orig 2025-05-07 06:48:23 UTC +--- components/password_manager/core/browser/password_manager.cc.orig 2025-06-19 07:37:57 UTC +++ components/password_manager/core/browser/password_manager.cc -@@ -511,7 +511,7 @@ void PasswordManager::RegisterProfilePrefs( +@@ -509,7 +509,7 @@ void PasswordManager::RegisterProfilePrefs( prefs::kAutofillableCredentialsAccountStoreLoginDatabase, false); #endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS) registry->RegisterBooleanPref(prefs::kPasswordSharingEnabled, true); @@ -9,7 +9,7 @@ registry->RegisterIntegerPref(prefs::kRelaunchChromeBubbleDismissedCounter, 0); #endif -@@ -524,7 +524,7 @@ void PasswordManager::RegisterProfilePrefs( +@@ -522,7 +522,7 @@ void PasswordManager::RegisterProfilePrefs( #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc index b9335252f11f..41bb46802b9d 100644 --- a/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc +++ b/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc @@ -1,4 +1,4 @@ ---- components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2025-05-07 06:48:23 UTC +--- components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2025-06-19 07:37:57 UTC +++ components/password_manager/core/browser/password_manual_fallback_flow.cc @@ -46,7 +46,7 @@ std::u16string GetUsernameFromLabel(const std::u16stri } @@ -9,7 +9,7 @@ // Returns the password form corresponding to the `payload` data. In most // cases there is only one such form stored, but having more than one or no // forms is also possible. If there is more than one form, showing any of them -@@ -295,7 +295,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion( +@@ -297,7 +297,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion( } case autofill::SuggestionType::kViewPasswordDetails: { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -18,7 +18,7 @@ std::optional<password_manager::PasswordForm> credentials = GetCorrespondingPasswordForm( suggestion.GetPayload<Suggestion::PasswordSuggestionDetails>(), -@@ -425,7 +425,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass +@@ -427,7 +427,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass const Suggestion::PasswordSuggestionDetails& payload, base::OnceClosure on_allowed) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc index 441f22f991d3..7bfd92212be1 100644 --- a/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc +++ b/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc @@ -1,6 +1,6 @@ ---- components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2025-05-07 06:48:23 UTC +--- components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2025-06-19 07:37:57 UTC +++ components/password_manager/core/browser/password_store/login_database_unittest.cc -@@ -2257,7 +2257,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCurrent, +@@ -2303,7 +2303,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCurrent, testing::Bool())); #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \ diff --git a/www/iridium/files/patch-components_password__manager_core_browser_stub__password__manager__client.cc b/www/iridium/files/patch-components_password__manager_core_browser_stub__password__manager__client.cc index f18124906558..9264bf357b95 100644 --- a/www/iridium/files/patch-components_password__manager_core_browser_stub__password__manager__client.cc +++ b/www/iridium/files/patch-components_password__manager_core_browser_stub__password__manager__client.cc @@ -1,4 +1,4 @@ ---- components/password_manager/core/browser/stub_password_manager_client.cc.orig 2025-05-07 06:48:23 UTC +--- components/password_manager/core/browser/stub_password_manager_client.cc.orig 2025-06-19 07:37:57 UTC +++ components/password_manager/core/browser/stub_password_manager_client.cc @@ -206,7 +206,7 @@ version_info::Channel StubPasswordManagerClient::GetCh } @@ -8,4 +8,4 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) void StubPasswordManagerClient::OpenPasswordDetailsBubble( const password_manager::PasswordForm& form) {} - #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || + void StubPasswordManagerClient::MaybeShowSavePasswordPrimingPromo( diff --git a/www/iridium/files/patch-components_password__manager_core_browser_stub__password__manager__client.h b/www/iridium/files/patch-components_password__manager_core_browser_stub__password__manager__client.h index 20b5a4653125..4d6cd994e691 100644 --- a/www/iridium/files/patch-components_password__manager_core_browser_stub__password__manager__client.h +++ b/www/iridium/files/patch-components_password__manager_core_browser_stub__password__manager__client.h @@ -1,4 +1,4 @@ ---- components/password_manager/core/browser/stub_password_manager_client.h.orig 2025-05-07 06:48:23 UTC +--- components/password_manager/core/browser/stub_password_manager_client.h.orig 2025-06-19 07:37:57 UTC +++ components/password_manager/core/browser/stub_password_manager_client.h @@ -77,7 +77,7 @@ class StubPasswordManagerClient : public PasswordManag MockPasswordFeatureManager* GetPasswordFeatureManager(); @@ -8,4 +8,4 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) void OpenPasswordDetailsBubble( const password_manager::PasswordForm& form) override; - #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || + void MaybeShowSavePasswordPrimingPromo(const GURL& current_url) override; diff --git a/www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h b/www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h index 0c8e8dadfab9..3573e94514a6 100644 --- a/www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h +++ b/www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h @@ -1,4 +1,4 @@ ---- components/password_manager/core/common/password_manager_pref_names.h.orig 2025-05-07 06:48:23 UTC +--- components/password_manager/core/common/password_manager_pref_names.h.orig 2025-06-19 07:37:57 UTC +++ components/password_manager/core/common/password_manager_pref_names.h @@ -59,7 +59,7 @@ inline constexpr char kCredentialProviderEnabledOnStar #endif @@ -9,7 +9,7 @@ // Boolean pref controlled by the DeletingUndecryptablePasswordsEnabled policy. // If set to false it blocks deleting undecryptable passwords, otherwise the // deletion can happen. -@@ -356,7 +356,7 @@ inline constexpr char kAutofillableCredentialsAccountS +@@ -350,7 +350,7 @@ inline constexpr char kAutofillableCredentialsAccountS inline constexpr char kPasswordSharingEnabled[] = "password_manager.password_sharing_enabled"; diff --git a/www/iridium/files/patch-components_policy_core_common_policy__utils.cc b/www/iridium/files/patch-components_policy_core_common_policy__utils.cc deleted file mode 100644 index 65226b94eef9..000000000000 --- a/www/iridium/files/patch-components_policy_core_common_policy__utils.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- components/policy/core/common/policy_utils.cc.orig 2025-05-07 06:48:23 UTC -+++ components/policy/core/common/policy_utils.cc -@@ -22,7 +22,7 @@ bool IsPolicyTestingEnabled(PrefService* pref_service, - return true; - } - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) - if (channel == version_info::Channel::DEV) { - return true; - } diff --git a/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__service.cc b/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__service.cc index 57a0ad0b806d..18224b50c69d 100644 --- a/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__service.cc +++ b/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__service.cc @@ -1,6 +1,6 @@ ---- components/regional_capabilities/regional_capabilities_service.cc.orig 2025-05-07 06:48:23 UTC +--- components/regional_capabilities/regional_capabilities_service.cc.orig 2025-06-19 07:37:57 UTC +++ components/regional_capabilities/regional_capabilities_service.cc -@@ -216,7 +216,7 @@ std::optional<CountryId> RegionalCapabilitiesService:: +@@ -235,7 +235,7 @@ std::optional<CountryId> RegionalCapabilitiesService:: return persisted_country_id; } diff --git a/www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc b/www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc index acd34b44e3ce..10ba821a6a37 100644 --- a/www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc +++ b/www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc @@ -1,6 +1,6 @@ ---- components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2025-05-07 06:48:23 UTC +--- components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2025-06-19 07:37:57 UTC +++ components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc -@@ -111,7 +111,7 @@ RTLookupRequest::OSType GetRTLookupRequestOSType() { +@@ -113,7 +113,7 @@ RTLookupRequest::OSType GetRTLookupRequestOSType() { return RTLookupRequest::OS_TYPE_CHROME_OS; #elif BUILDFLAG(IS_IOS) return RTLookupRequest::OS_TYPE_IOS; diff --git a/www/iridium/files/patch-components_search__engines_template__url__service.cc b/www/iridium/files/patch-components_search__engines_template__url__service.cc index cba59fad874a..6a441c005f00 100644 --- a/www/iridium/files/patch-components_search__engines_template__url__service.cc +++ b/www/iridium/files/patch-components_search__engines_template__url__service.cc @@ -1,6 +1,6 @@ ---- components/search_engines/template_url_service.cc.orig 2025-05-07 06:48:23 UTC +--- components/search_engines/template_url_service.cc.orig 2025-06-19 07:37:57 UTC +++ components/search_engines/template_url_service.cc -@@ -3435,7 +3435,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider( +@@ -3557,7 +3557,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider( std::unique_ptr<EnterpriseSearchManager> TemplateURLService::GetEnterpriseSearchManager(PrefService* prefs) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-components_signin_public_base_signin__switches.cc b/www/iridium/files/patch-components_signin_public_base_signin__switches.cc index 96dd3fc0917d..0e12d9064d12 100644 --- a/www/iridium/files/patch-components_signin_public_base_signin__switches.cc +++ b/www/iridium/files/patch-components_signin_public_base_signin__switches.cc @@ -1,6 +1,6 @@ ---- components/signin/public/base/signin_switches.cc.orig 2025-05-07 06:48:23 UTC +--- components/signin/public/base/signin_switches.cc.orig 2025-06-19 07:37:57 UTC +++ components/signin/public/base/signin_switches.cc -@@ -55,7 +55,7 @@ BASE_FEATURE(kUseHostedDomainForManagementCheckOnSigni +@@ -62,7 +62,7 @@ BASE_FEATURE(kUseHostedDomainForManagementCheckOnSigni base::FEATURE_DISABLED_BY_DEFAULT); #endif diff --git a/www/iridium/files/patch-components_signin_public_base_signin__switches.h b/www/iridium/files/patch-components_signin_public_base_signin__switches.h index c1c99e6d4215..ff6a3d5828b6 100644 --- a/www/iridium/files/patch-components_signin_public_base_signin__switches.h +++ b/www/iridium/files/patch-components_signin_public_base_signin__switches.h @@ -1,6 +1,6 @@ ---- components/signin/public/base/signin_switches.h.orig 2025-05-07 06:48:23 UTC +--- components/signin/public/base/signin_switches.h.orig 2025-06-19 07:37:57 UTC +++ components/signin/public/base/signin_switches.h -@@ -52,7 +52,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES) +@@ -55,7 +55,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES) BASE_DECLARE_FEATURE(kUseHostedDomainForManagementCheckOnSignin); #endif diff --git a/www/iridium/files/patch-components_supervised__user_core_common_features.cc b/www/iridium/files/patch-components_supervised__user_core_common_features.cc index cd90df5573f7..8b24e0bd608d 100644 --- a/www/iridium/files/patch-components_supervised__user_core_common_features.cc +++ b/www/iridium/files/patch-components_supervised__user_core_common_features.cc @@ -1,6 +1,6 @@ ---- components/supervised_user/core/common/features.cc.orig 2025-05-07 06:48:23 UTC +--- components/supervised_user/core/common/features.cc.orig 2025-06-19 07:37:57 UTC +++ components/supervised_user/core/common/features.cc -@@ -36,7 +36,7 @@ BASE_FEATURE(kAllowSubframeLocalWebApprovals, +@@ -37,7 +37,7 @@ BASE_FEATURE(kAllowSubframeLocalWebApprovals, #endif #if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ const int kLocalWebApprovalBottomSheetLoadTimeoutDefaultValueMs = 5000; const base::FeatureParam<int> kLocalWebApprovalBottomSheetLoadTimeoutMs{ -@@ -45,7 +45,7 @@ const base::FeatureParam<int> kLocalWebApprovalBottomS +@@ -46,7 +46,7 @@ const base::FeatureParam<int> kLocalWebApprovalBottomS #endif // BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_WIN) @@ -17,35 +17,17 @@ +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) BASE_FEATURE(kEnableLocalWebApprovalErrorDialog, "EnableLocalWebApprovalErrorDialog", - base::FEATURE_DISABLED_BY_DEFAULT); -@@ -97,7 +97,7 @@ BASE_FEATURE(kUpdatedSupervisedUserExtensionApprovalSt - "UpdatedSupervisedUserExtensionApprovalStrings", - base::FEATURE_ENABLED_BY_DEFAULT); - --#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - BASE_FEATURE(kEnableExtensionsPermissionsForSupervisedUsersOnDesktop, - "EnableExtensionsPermissionsForSupervisedUsersOnDesktop", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -112,7 +112,7 @@ bool IsSupervisedUserSkipParentApprovalToInstallExtens - #if BUILDFLAG(IS_CHROMEOS) - return base::FeatureList::IsEnabled( - kEnableSupervisedUserSkipParentApprovalToInstallExtensions); --#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -+#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - bool skipParentApprovalEnabled = base::FeatureList::IsEnabled( - kEnableSupervisedUserSkipParentApprovalToInstallExtensions); - bool permissionExtensionsForSupervisedUsersEnabled = -@@ -129,7 +129,7 @@ bool IsSupervisedUserSkipParentApprovalToInstallExtens +@@ -89,7 +89,7 @@ bool IsLocalWebApprovalsEnabledForSubframes() { + return base::FeatureList::IsEnabled(kAllowSubframeLocalWebApprovals); } - #endif // BUILDFLAG(ENABLE_EXTENSIONS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) BASE_FEATURE(kCustomProfileStringsForSupervisedUsers, "CustomProfileStringsForSupervisedUsers", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -141,13 +141,13 @@ BASE_FEATURE(kShowKiteForSupervisedUsers, +@@ -101,13 +101,13 @@ BASE_FEATURE(kShowKiteForSupervisedUsers, BASE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers, "ForceSafeSearchForUnauthenticatedSupervisedUsers", @@ -61,7 +43,7 @@ BASE_FEATURE(kEnableSupervisedUserVersionSignOutDialog, "EnableSupervisedUserVersionSignOutDialog", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -169,7 +169,7 @@ BASE_FEATURE(kExemptYouTubeInfrastructureFromBlocking, +@@ -119,7 +119,7 @@ BASE_FEATURE(kEnableSupervisedUserVersionSignOutDialog // platform #defines. BASE_FEATURE(kUncredentialedFilteringFallbackForSupervisedUsers, "UncredentialedFilteringFallbackForSupervisedUsers", diff --git a/www/iridium/files/patch-components_supervised__user_core_common_features.h b/www/iridium/files/patch-components_supervised__user_core_common_features.h index b04efb72faaf..d5a58ec072b1 100644 --- a/www/iridium/files/patch-components_supervised__user_core_common_features.h +++ b/www/iridium/files/patch-components_supervised__user_core_common_features.h @@ -1,6 +1,6 @@ ---- components/supervised_user/core/common/features.h.orig 2025-05-07 06:48:23 UTC +--- components/supervised_user/core/common/features.h.orig 2025-06-19 07:37:57 UTC +++ components/supervised_user/core/common/features.h -@@ -19,12 +19,12 @@ BASE_DECLARE_FEATURE(kLocalWebApprovals); +@@ -20,12 +20,12 @@ BASE_DECLARE_FEATURE(kLocalWebApprovals); BASE_DECLARE_FEATURE(kAllowSubframeLocalWebApprovals); #if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -15,25 +15,16 @@ // Whether we show an error screen in case of failure of a local web approval. BASE_DECLARE_FEATURE(kEnableLocalWebApprovalErrorDialog); #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -@@ -44,7 +44,7 @@ BASE_DECLARE_FEATURE( - // Applies new informative strings during the parental extension approval flow. - BASE_DECLARE_FEATURE(kUpdatedSupervisedUserExtensionApprovalStrings); - --#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - BASE_DECLARE_FEATURE(kEnableExtensionsPermissionsForSupervisedUsersOnDesktop); - #endif - -@@ -62,7 +62,7 @@ BASE_DECLARE_FEATURE(kExposedParentalControlNeededForE - bool IsSupervisedUserSkipParentApprovalToInstallExtensionsEnabled(); - #endif // BUILDFLAG(ENABLE_EXTENSIONS) +@@ -37,7 +37,7 @@ BASE_DECLARE_FEATURE(kLocalWebApprovalsWidgetSupportsU + // Whether supervised users see an updated URL filter interstitial. + BASE_DECLARE_FEATURE(kSupervisedUserBlockInterstitialV3); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Enable different web sign in interception behaviour for supervised users: // // 1. Supervised user signs in to existing signed out Profile: show modal -@@ -80,7 +80,7 @@ BASE_DECLARE_FEATURE(kShowKiteForSupervisedUsers); +@@ -55,7 +55,7 @@ BASE_DECLARE_FEATURE(kShowKiteForSupervisedUsers); // unauthenticated (e.g. signed out of the content area) account. BASE_DECLARE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers); @@ -41,4 +32,4 @@ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Uses supervised user strings on the signout dialog. BASE_DECLARE_FEATURE(kEnableSupervisedUserVersionSignOutDialog); - + #endif diff --git a/www/iridium/files/patch-components_supervised__user_core_common_pref__names.h b/www/iridium/files/patch-components_supervised__user_core_common_pref__names.h index 14f6c3a0d379..465766c01bce 100644 --- a/www/iridium/files/patch-components_supervised__user_core_common_pref__names.h +++ b/www/iridium/files/patch-components_supervised__user_core_common_pref__names.h @@ -1,9 +1,9 @@ ---- components/supervised_user/core/common/pref_names.h.orig 2025-05-07 06:48:23 UTC +--- components/supervised_user/core/common/pref_names.h.orig 2025-06-19 07:37:57 UTC +++ components/supervised_user/core/common/pref_names.h @@ -129,7 +129,7 @@ inline constexpr char kDefaultSupervisedUserFilteringB "profile.managed.default_filtering_behavior"; - #if BUILDFLAG(ENABLE_EXTENSIONS) + #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // An integer pref that stores the current state of the local extension diff --git a/www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc b/www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc index 2d2faf1ea29c..fb96288168d8 100644 --- a/www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc +++ b/www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc @@ -1,6 +1,6 @@ ---- components/sync_preferences/common_syncable_prefs_database.cc.orig 2025-05-07 06:48:23 UTC +--- components/sync_preferences/common_syncable_prefs_database.cc.orig 2025-06-19 07:37:57 UTC +++ components/sync_preferences/common_syncable_prefs_database.cc -@@ -334,7 +334,7 @@ constexpr auto kCommonSyncablePrefsAllowlist = +@@ -339,7 +339,7 @@ constexpr auto kCommonSyncablePrefsAllowlist = PrefSensitivity::kNone, MergeBehavior::kNone}}, #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-components_variations_net_variations__command__line.cc b/www/iridium/files/patch-components_variations_net_variations__command__line.cc new file mode 100644 index 000000000000..9e6beda262dc --- /dev/null +++ b/www/iridium/files/patch-components_variations_net_variations__command__line.cc @@ -0,0 +1,11 @@ +--- components/variations/net/variations_command_line.cc.orig 2025-06-19 07:37:57 UTC ++++ components/variations/net/variations_command_line.cc +@@ -50,7 +50,7 @@ void ExitWithMessage(const std::string& message) { + namespace variations { + + #if !BUILDFLAG(IS_CHROMEOS) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + BASE_FEATURE(kFeedbackIncludeVariations, + "FeedbackIncludeVariations", + base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/iridium/files/patch-components_visited__url__ranking_public_url__visit__util.cc b/www/iridium/files/patch-components_visited__url__ranking_public_url__visit__util.cc index 7dc907f0275e..0deadd4498b5 100644 --- a/www/iridium/files/patch-components_visited__url__ranking_public_url__visit__util.cc +++ b/www/iridium/files/patch-components_visited__url__ranking_public_url__visit__util.cc @@ -1,6 +1,6 @@ ---- components/visited_url_ranking/public/url_visit_util.cc.orig 2025-05-07 06:48:23 UTC +--- components/visited_url_ranking/public/url_visit_util.cc.orig 2025-06-19 07:37:57 UTC +++ components/visited_url_ranking/public/url_visit_util.cc -@@ -67,7 +67,7 @@ PlatformType GetPlatformInput() { +@@ -68,7 +68,7 @@ PlatformType GetPlatformInput() { return PlatformType::kWindows; #elif BUILDFLAG(IS_MAC) return PlatformType::kMac; diff --git a/www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc b/www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc index e5aa94e068ba..482176452561 100644 --- a/www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc +++ b/www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc @@ -1,6 +1,6 @@ ---- components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2025-05-07 06:48:23 UTC +--- components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2025-06-19 07:37:57 UTC +++ components/viz/service/display_embedder/skia_output_surface_impl.cc -@@ -1510,7 +1510,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor +@@ -1500,7 +1500,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor ->GetVulkanPhysicalDevice(), VK_IMAGE_TILING_OPTIMAL, vk_format, si_format, yuv_color_space, ycbcr_info); diff --git a/www/iridium/files/patch-components_viz_service_display_skia__renderer.cc b/www/iridium/files/patch-components_viz_service_display_skia__renderer.cc index 0b59e93c923c..bfdec9048ef0 100644 --- a/www/iridium/files/patch-components_viz_service_display_skia__renderer.cc +++ b/www/iridium/files/patch-components_viz_service_display_skia__renderer.cc @@ -1,6 +1,6 @@ ---- components/viz/service/display/skia_renderer.cc.orig 2025-05-07 06:48:23 UTC +--- components/viz/service/display/skia_renderer.cc.orig 2025-06-19 07:37:57 UTC +++ components/viz/service/display/skia_renderer.cc -@@ -1391,7 +1391,7 @@ void SkiaRenderer::ClearFramebuffer() { +@@ -1384,7 +1384,7 @@ void SkiaRenderer::ClearFramebuffer() { if (current_frame()->current_render_pass->has_transparent_background) { ClearCanvas(SkColors::kTransparent); } else { diff --git a/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc b/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc index aac7bee8c4e8..e12c35f6f757 100644 --- a/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc +++ b/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc @@ -1,6 +1,6 @@ ---- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2025-05-07 06:48:23 UTC +--- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2025-06-19 07:37:57 UTC +++ components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc -@@ -126,7 +126,7 @@ RootCompositorFrameSinkImpl::Create( +@@ -141,7 +141,7 @@ RootCompositorFrameSinkImpl::Create( output_surface->SetNeedsSwapSizeNotifications( params->send_swap_size_notifications); @@ -9,7 +9,7 @@ // For X11, we need notify client about swap completion after resizing, so the // client can use it for synchronize with X11 WM. output_surface->SetNeedsSwapSizeNotifications(true); -@@ -884,7 +884,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw +@@ -934,7 +934,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw if (display_client_ && enable_swap_completion_callback_) { display_client_->DidCompleteSwapWithSize(pixel_size); } diff --git a/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h b/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h index d2fc6415f8ad..947f15db59ae 100644 --- a/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h +++ b/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h @@ -1,6 +1,6 @@ ---- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2025-05-07 06:48:23 UTC +--- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2025-06-19 07:37:57 UTC +++ components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h -@@ -229,7 +229,7 @@ class VIZ_SERVICE_EXPORT RootCompositorFrameSinkImpl +@@ -234,7 +234,7 @@ class VIZ_SERVICE_EXPORT RootCompositorFrameSinkImpl base::TimeDelta preferred_frame_interval_ = FrameRateDecider::UnspecifiedFrameInterval(); diff --git a/www/iridium/files/patch-content_app_content__main__runner__impl.cc b/www/iridium/files/patch-content_app_content__main__runner__impl.cc index dd60fd276fa9..bc90c4a5a51f 100644 --- a/www/iridium/files/patch-content_app_content__main__runner__impl.cc +++ b/www/iridium/files/patch-content_app_content__main__runner__impl.cc @@ -1,6 +1,6 @@ ---- content/app/content_main_runner_impl.cc.orig 2025-05-07 06:48:23 UTC +--- content/app/content_main_runner_impl.cc.orig 2025-06-19 07:37:57 UTC +++ content/app/content_main_runner_impl.cc -@@ -146,18 +146,20 @@ +@@ -148,18 +148,20 @@ #include "content/browser/posix_file_descriptor_info_impl.h" #include "content/public/common/content_descriptors.h" @@ -23,7 +23,7 @@ #include "third_party/boringssl/src/include/openssl/crypto.h" #include "third_party/webrtc_overrides/init_webrtc.h" // nogncheck -@@ -186,6 +188,10 @@ +@@ -188,6 +190,10 @@ #include "media/base/media_switches.h" #endif @@ -34,7 +34,7 @@ #if BUILDFLAG(IS_ANDROID) #include "base/system/sys_info.h" #include "content/browser/android/battery_metrics.h" -@@ -384,7 +390,7 @@ void InitializeZygoteSandboxForBrowserProcess( +@@ -386,7 +392,7 @@ void InitializeZygoteSandboxForBrowserProcess( } #endif // BUILDFLAG(USE_ZYGOTE) @@ -43,7 +43,7 @@ #if BUILDFLAG(ENABLE_PPAPI) // Loads the (native) libraries but does not initialize them (i.e., does not -@@ -422,7 +428,10 @@ void PreloadLibraryCdms() { +@@ -424,7 +430,10 @@ void PreloadLibraryCdms() { void PreSandboxInit() { // Ensure the /dev/urandom is opened. @@ -54,7 +54,7 @@ // May use sysinfo(), sched_getaffinity(), and open various /sys/ and /proc/ // files. -@@ -434,9 +443,16 @@ void PreSandboxInit() { +@@ -436,9 +445,16 @@ void PreSandboxInit() { // https://boringssl.googlesource.com/boringssl/+/HEAD/SANDBOXING.md CRYPTO_pre_sandbox_init(); @@ -71,7 +71,7 @@ #if BUILDFLAG(ENABLE_PPAPI) // Ensure access to the Pepper plugins before the sandbox is turned on. -@@ -750,7 +766,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProcessTypeMain( +@@ -752,7 +768,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProcessTypeMain( unregister_thread_closure = base::HangWatcher::RegisterThread( base::HangWatcher::ThreadType::kMainThread); bool start_hang_watcher_now; @@ -80,7 +80,7 @@ // On Linux/ChromeOS, the HangWatcher can't start until after the sandbox is // initialized, because the sandbox can't be started with multiple threads. // TODO(mpdenton): start the HangWatcher after the sandbox is initialized. -@@ -863,11 +879,10 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam +@@ -865,11 +881,10 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam base::GlobalDescriptors::kBaseDescriptor); #endif // !BUILDFLAG(IS_ANDROID) @@ -94,13 +94,13 @@ #endif // !BUILDFLAG(IS_WIN) -@@ -1048,10 +1063,22 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam +@@ -1050,10 +1065,22 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam process_type == switches::kZygoteProcess) { PreSandboxInit(); } +#elif BUILDFLAG(IS_BSD) + PreSandboxInit(); - #elif BUILDFLAG(IS_IOS) + #elif BUILDFLAG(IS_IOS) && !BUILDFLAG(IS_IOS_TVOS) ChildProcessEnterSandbox(); #endif @@ -117,7 +117,7 @@ delegate_->SandboxInitialized(process_type); #if BUILDFLAG(USE_ZYGOTE) -@@ -1148,6 +1175,11 @@ NO_STACK_PROTECTOR int ContentMainRunnerImpl::Run() { +@@ -1150,6 +1177,11 @@ NO_STACK_PROTECTOR int ContentMainRunnerImpl::Run() { content_main_params_.reset(); RegisterMainThreadFactories(); diff --git a/www/iridium/files/patch-content_browser_BUILD.gn b/www/iridium/files/patch-content_browser_BUILD.gn index 7ba581093bd2..e8240806ac8c 100644 --- a/www/iridium/files/patch-content_browser_BUILD.gn +++ b/www/iridium/files/patch-content_browser_BUILD.gn @@ -1,6 +1,6 @@ ---- content/browser/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- content/browser/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ content/browser/BUILD.gn -@@ -2560,6 +2560,14 @@ source_set("browser") { +@@ -2571,6 +2571,14 @@ source_set("browser") { ] } @@ -15,7 +15,7 @@ if (is_linux || is_chromeos) { sources -= [ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ] -@@ -2605,6 +2613,15 @@ source_set("browser") { +@@ -2616,6 +2624,15 @@ source_set("browser") { if (allow_oop_video_decoder) { sources += [ "media/oop_video_decoder_factory.cc" ] deps += [ "//media/mojo/mojom" ] diff --git a/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc b/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc index f4fede709061..59c81db30def 100644 --- a/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc +++ b/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc @@ -1,6 +1,6 @@ ---- content/browser/accessibility/browser_accessibility_state_impl.cc.orig 2025-05-07 06:48:23 UTC +--- content/browser/accessibility/browser_accessibility_state_impl.cc.orig 2025-06-19 07:37:57 UTC +++ content/browser/accessibility/browser_accessibility_state_impl.cc -@@ -180,7 +180,7 @@ BrowserAccessibilityStateImpl* BrowserAccessibilitySta +@@ -181,7 +181,7 @@ BrowserAccessibilityStateImpl* BrowserAccessibilitySta // On Android, Mac, Windows and Linux there are platform-specific subclasses. #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_MAC) && \ diff --git a/www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc b/www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc index f1fa6a00f6ea..c8dc1d12bf44 100644 --- a/www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc +++ b/www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc @@ -1,6 +1,6 @@ ---- content/browser/browser_child_process_host_impl.cc.orig 2025-05-07 06:48:23 UTC +--- content/browser/browser_child_process_host_impl.cc.orig 2025-06-19 07:37:57 UTC +++ content/browser/browser_child_process_host_impl.cc -@@ -326,6 +326,8 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo +@@ -327,6 +327,8 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo switches::kLogBestEffortTasks, switches::kPerfettoDisableInterning, switches::kTraceToConsole, @@ -9,7 +9,7 @@ }; cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches); -@@ -690,7 +692,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched() +@@ -697,7 +699,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched() ->child_process()); #endif diff --git a/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc b/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc index 5c147ecbf3ea..47fb3bd24d21 100644 --- a/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc +++ b/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc @@ -1,6 +1,6 @@ ---- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2025-05-07 06:48:23 UTC +--- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2025-06-19 07:37:57 UTC +++ content/browser/gpu/gpu_data_manager_impl_private.cc -@@ -1692,7 +1692,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode( +@@ -1697,7 +1697,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode( UMA_HISTOGRAM_ENUMERATION("GPU.CompositingMode", compositing_mode); } diff --git a/www/iridium/files/patch-content_browser_gpu_gpu__process__host.cc b/www/iridium/files/patch-content_browser_gpu_gpu__process__host.cc index 01037d365c5d..7126ad5b02ca 100644 --- a/www/iridium/files/patch-content_browser_gpu_gpu__process__host.cc +++ b/www/iridium/files/patch-content_browser_gpu_gpu__process__host.cc @@ -1,4 +1,4 @@ ---- content/browser/gpu/gpu_process_host.cc.orig 2025-05-07 06:48:23 UTC +--- content/browser/gpu/gpu_process_host.cc.orig 2025-06-19 07:37:57 UTC +++ content/browser/gpu/gpu_process_host.cc @@ -275,6 +275,7 @@ static const char* const kSwitchNames[] = { switches::kDisableSkiaGraphite, @@ -8,7 +8,7 @@ switches::kProfilingAtStart, switches::kProfilingFile, switches::kProfilingFlush, -@@ -304,7 +305,7 @@ static const char* const kSwitchNames[] = { +@@ -303,7 +304,7 @@ static const char* const kSwitchNames[] = { switches::kEnableNativeGpuMemoryBuffers, switches::kRenderNodeOverride, #endif diff --git a/www/iridium/files/patch-content_browser_media_frameless__media__interface__proxy.h b/www/iridium/files/patch-content_browser_media_frameless__media__interface__proxy.h index 729ae77fb63f..5251c6068bbd 100644 --- a/www/iridium/files/patch-content_browser_media_frameless__media__interface__proxy.h +++ b/www/iridium/files/patch-content_browser_media_frameless__media__interface__proxy.h @@ -1,4 +1,4 @@ ---- content/browser/media/frameless_media_interface_proxy.h.orig 2025-05-07 06:48:23 UTC +--- content/browser/media/frameless_media_interface_proxy.h.orig 2025-06-19 07:37:57 UTC +++ content/browser/media/frameless_media_interface_proxy.h @@ -19,7 +19,7 @@ #include "mojo/public/cpp/bindings/receiver_set.h" @@ -9,7 +9,7 @@ #include "media/mojo/mojom/video_decoder.mojom.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -104,7 +104,7 @@ class FramelessMediaInterfaceProxy final +@@ -98,7 +98,7 @@ class FramelessMediaInterfaceProxy final // Connections to the renderer. mojo::ReceiverSet<media::mojom::InterfaceFactory> receivers_; diff --git a/www/iridium/files/patch-content_browser_network__service__instance__impl.cc b/www/iridium/files/patch-content_browser_network__service__instance__impl.cc index d615664b2df3..f07246c47d76 100644 --- a/www/iridium/files/patch-content_browser_network__service__instance__impl.cc +++ b/www/iridium/files/patch-content_browser_network__service__instance__impl.cc @@ -1,6 +1,6 @@ ---- content/browser/network_service_instance_impl.cc.orig 2025-05-07 06:48:23 UTC +--- content/browser/network_service_instance_impl.cc.orig 2025-06-19 07:37:57 UTC +++ content/browser/network_service_instance_impl.cc -@@ -83,7 +83,7 @@ +@@ -85,7 +85,7 @@ #include "content/browser/network/network_service_process_tracker_win.h" #endif @@ -9,7 +9,7 @@ #include "content/browser/system_dns_resolution/system_dns_resolver.h" #include "services/network/public/mojom/system_dns_resolution.mojom-forward.h" #endif -@@ -341,7 +341,7 @@ void CreateInProcessNetworkService( +@@ -343,7 +343,7 @@ void CreateInProcessNetworkService( std::move(receiver))); } @@ -18,7 +18,7 @@ // Runs a self-owned SystemDnsResolverMojoImpl. This is meant to run on a // high-priority thread pool. void RunSystemDnsResolverOnThreadPool( -@@ -410,7 +410,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS +@@ -411,7 +411,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS } #endif // BUILDFLAG(IS_POSIX) diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc index 4c35e5f480fb..b265d249adcb 100644 --- a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc +++ b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc @@ -1,6 +1,6 @@ ---- content/browser/renderer_host/render_process_host_impl.cc.orig 2025-05-07 06:48:23 UTC +--- content/browser/renderer_host/render_process_host_impl.cc.orig 2025-06-19 07:37:57 UTC +++ content/browser/renderer_host/render_process_host_impl.cc -@@ -224,7 +224,7 @@ +@@ -222,7 +222,7 @@ #include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h" #endif @@ -9,7 +9,7 @@ #include <sys/resource.h> #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck -@@ -1122,7 +1122,7 @@ static constexpr size_t kUnknownPlatformProcessLimit = +@@ -1120,7 +1120,7 @@ static constexpr size_t kUnknownPlatformProcessLimit = // to indicate failure and std::numeric_limits<size_t>::max() to indicate // unlimited. size_t GetPlatformProcessLimit() { @@ -18,7 +18,7 @@ struct rlimit limit; if (getrlimit(RLIMIT_NPROC, &limit) != 0) return kUnknownPlatformProcessLimit; -@@ -1317,7 +1317,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost +@@ -1327,7 +1327,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost void RenderProcessHostImpl::IOThreadHostImpl::SetPid( base::ProcessId child_pid) { @@ -27,7 +27,7 @@ child_thread_type_switcher_.SetPid(child_pid); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) } -@@ -3410,7 +3410,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine( +@@ -3408,7 +3408,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine( base::TimeTicks::UnixEpoch().since_origin().InMicroseconds())); } @@ -36,7 +36,7 @@ // Append `kDisableVideoCaptureUseGpuMemoryBuffer` flag if there is no support // for NV12 GPU memory buffer. if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled() && -@@ -3465,6 +3465,8 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin +@@ -3463,6 +3463,8 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin switches::kDisableSpeechAPI, switches::kDisableThreadedCompositing, switches::kDisableTouchDragDrop, @@ -45,7 +45,7 @@ switches::kDisableV8IdleTasks, switches::kDisableVideoCaptureUseGpuMemoryBuffer, switches::kDisableWebGLImageChromium, -@@ -5310,7 +5312,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr +@@ -5313,7 +5315,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr // - Win: https://crbug.com/707022 . uint64_t total_size = 0; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h index 39f178115cd4..0380cf57dbb0 100644 --- a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h +++ b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h @@ -1,6 +1,6 @@ ---- content/browser/renderer_host/render_process_host_impl.h.orig 2025-05-07 06:48:23 UTC +--- content/browser/renderer_host/render_process_host_impl.h.orig 2025-06-19 07:37:57 UTC +++ content/browser/renderer_host/render_process_host_impl.h -@@ -102,7 +102,7 @@ +@@ -101,7 +101,7 @@ #include "media/fuchsia_media_codec_provider_impl.h" #endif @@ -9,7 +9,7 @@ #include "content/browser/child_thread_type_switcher_linux.h" #include "media/mojo/mojom/video_encode_accelerator.mojom.h" #endif -@@ -986,7 +986,7 @@ class CONTENT_EXPORT RenderProcessHostImpl +@@ -985,7 +985,7 @@ class CONTENT_EXPORT RenderProcessHostImpl std::unique_ptr<service_manager::BinderRegistry> binders_; mojo::Receiver<mojom::ChildProcessHost> receiver_{this}; @@ -18,7 +18,7 @@ mojo::Remote<media::mojom::VideoEncodeAcceleratorProviderFactory> video_encode_accelerator_factory_remote_; ChildThreadTypeSwitcher child_thread_type_switcher_; -@@ -1235,7 +1235,7 @@ class CONTENT_EXPORT RenderProcessHostImpl +@@ -1230,7 +1230,7 @@ class CONTENT_EXPORT RenderProcessHostImpl // if the request isn't handled on the IO thread. void OnBindHostReceiver(mojo::GenericPendingReceiver receiver); diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc index 152bd0896c77..45355c6d4989 100644 --- a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc +++ b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc @@ -1,7 +1,7 @@ ---- content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc.orig 2025-05-07 06:48:23 UTC +--- content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc.orig 2025-06-19 07:37:57 UTC +++ content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc -@@ -52,7 +52,7 @@ - #include "third_party/blink/public/mojom/webdatabase/web_database.mojom.h" +@@ -50,7 +50,7 @@ + #include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -9,7 +9,7 @@ #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck #include "content/browser/font_service.h" // nogncheck #include "content/browser/media/video_encode_accelerator_provider_launcher.h" -@@ -343,7 +343,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost +@@ -332,7 +332,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost } #endif diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc b/www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc index 6e392fc83a4f..3b694f9e402d 100644 --- a/www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc +++ b/www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc @@ -1,9 +1,9 @@ ---- content/browser/renderer_host/render_view_host_impl.cc.orig 2025-05-07 06:48:23 UTC +--- content/browser/renderer_host/render_view_host_impl.cc.orig 2025-06-19 07:37:57 UTC +++ content/browser/renderer_host/render_view_host_impl.cc -@@ -275,7 +275,7 @@ void RenderViewHostImpl::GetPlatformSpecificPrefs( - display::win::ScreenWin::GetSystemMetricsInDIP(SM_CYVSCROLL); +@@ -273,7 +273,7 @@ void RenderViewHostImpl::GetPlatformSpecificPrefs( + display::win::GetScreenWin()->GetSystemMetricsInDIP(SM_CYVSCROLL); prefs->arrow_bitmap_width_horizontal_scroll_bar_in_dips = - display::win::ScreenWin::GetSystemMetricsInDIP(SM_CXHSCROLL); + display::win::GetScreenWin()->GetSystemMetricsInDIP(SM_CXHSCROLL); -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); diff --git a/www/iridium/files/patch-content_common_features.cc b/www/iridium/files/patch-content_common_features.cc index 0011eb0a7886..5fcb2020201f 100644 --- a/www/iridium/files/patch-content_common_features.cc +++ b/www/iridium/files/patch-content_common_features.cc @@ -1,6 +1,6 @@ ---- content/common/features.cc.orig 2025-05-07 06:48:23 UTC +--- content/common/features.cc.orig 2025-06-19 07:37:57 UTC +++ content/common/features.cc -@@ -124,7 +124,7 @@ BASE_FEATURE(kEmbeddingRequiresOptIn, +@@ -163,7 +163,7 @@ BASE_FEATURE(kEmbeddingRequiresOptIn, base::FEATURE_DISABLED_BY_DEFAULT); // Enables error reporting for JS errors inside DevTools frontend host diff --git a/www/iridium/files/patch-content_common_features.h b/www/iridium/files/patch-content_common_features.h index 8b5485db3296..c9c8d2012487 100644 --- a/www/iridium/files/patch-content_common_features.h +++ b/www/iridium/files/patch-content_common_features.h @@ -1,6 +1,6 @@ ---- content/common/features.h.orig 2025-05-07 06:48:23 UTC +--- content/common/features.h.orig 2025-06-19 07:37:57 UTC +++ content/common/features.h -@@ -27,7 +27,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginEn +@@ -59,7 +59,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginEn CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginTracking); CONTENT_EXPORT BASE_DECLARE_FEATURE(kCriticalClientHint); CONTENT_EXPORT BASE_DECLARE_FEATURE(kDocumentPolicyNegotiation); diff --git a/www/iridium/files/patch-content_gpu_gpu__main.cc b/www/iridium/files/patch-content_gpu_gpu__main.cc index 61a4d6598759..992e460a8b0e 100644 --- a/www/iridium/files/patch-content_gpu_gpu__main.cc +++ b/www/iridium/files/patch-content_gpu_gpu__main.cc @@ -1,4 +1,4 @@ ---- content/gpu/gpu_main.cc.orig 2025-05-07 06:48:23 UTC +--- content/gpu/gpu_main.cc.orig 2025-06-19 07:37:57 UTC +++ content/gpu/gpu_main.cc @@ -95,10 +95,14 @@ #include "sandbox/win/src/sandbox.h" @@ -16,7 +16,7 @@ #include "sandbox/policy/sandbox_type.h" #endif -@@ -117,7 +121,7 @@ namespace content { +@@ -116,7 +120,7 @@ namespace content { namespace { @@ -25,7 +25,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread*, const gpu::GPUInfo*, const gpu::GpuPreferences&); -@@ -177,7 +181,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel +@@ -176,7 +180,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel const gpu::GPUInfo* gpu_info, const gpu::GpuPreferences& gpu_prefs) override { GPU_STARTUP_TRACE_EVENT("gpu_main::EnsureSandboxInitialized"); @@ -34,7 +34,7 @@ return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs); #elif BUILDFLAG(IS_WIN) return StartSandboxWindows(sandbox_info_); -@@ -303,7 +307,7 @@ int GpuMain(MainFunctionParams parameters) { +@@ -289,7 +293,7 @@ int GpuMain(MainFunctionParams parameters) { std::make_unique<base::SingleThreadTaskExecutor>( gpu_preferences.message_pump_type); } @@ -43,7 +43,7 @@ #error "Unsupported Linux platform." #elif BUILDFLAG(IS_MAC) // Cross-process CoreAnimation requires a CFRunLoop to function at all, and -@@ -329,7 +333,8 @@ int GpuMain(MainFunctionParams parameters) { +@@ -315,7 +319,8 @@ int GpuMain(MainFunctionParams parameters) { base::PlatformThread::SetName("CrGpuMain"); mojo::InterfaceEndpointClient::SetThreadNameSuffixForMetrics("GpuMain"); @@ -53,7 +53,7 @@ // Thread type delegate of the process should be registered before // thread type change below for the main thread and for thread pool in // ChildProcess constructor. -@@ -462,7 +467,7 @@ int GpuMain(MainFunctionParams parameters) { +@@ -448,7 +453,7 @@ int GpuMain(MainFunctionParams parameters) { namespace { @@ -62,7 +62,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread, const gpu::GPUInfo* gpu_info, const gpu::GpuPreferences& gpu_prefs) { -@@ -502,7 +507,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo +@@ -488,7 +493,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo sandbox_options.accelerated_video_encode_enabled = !gpu_prefs.disable_accelerated_video_encode; diff --git a/www/iridium/files/patch-content_public_browser_content__browser__client.cc b/www/iridium/files/patch-content_public_browser_content__browser__client.cc index 7d9fd4c82627..9d567763294b 100644 --- a/www/iridium/files/patch-content_public_browser_content__browser__client.cc +++ b/www/iridium/files/patch-content_public_browser_content__browser__client.cc @@ -1,6 +1,6 @@ ---- content/public/browser/content_browser_client.cc.orig 2025-05-07 06:48:23 UTC +--- content/public/browser/content_browser_client.cc.orig 2025-06-19 07:37:57 UTC +++ content/public/browser/content_browser_client.cc -@@ -1395,7 +1395,7 @@ bool ContentBrowserClient::ShouldRunOutOfProcessSystem +@@ -1394,7 +1394,7 @@ bool ContentBrowserClient::ShouldRunOutOfProcessSystem // that can be adequately sandboxed. // Currently Android's network service will not run out of process or sandboxed, // so OutOfProcessSystemDnsResolution is not currently enabled on Android. diff --git a/www/iridium/files/patch-content_public_common_content__features.cc b/www/iridium/files/patch-content_public_common_content__features.cc index b9159d257193..80d753c6135d 100644 --- a/www/iridium/files/patch-content_public_common_content__features.cc +++ b/www/iridium/files/patch-content_public_common_content__features.cc @@ -1,6 +1,6 @@ ---- content/public/common/content_features.cc.orig 2025-05-07 06:48:23 UTC +--- content/public/common/content_features.cc.orig 2025-06-19 07:37:57 UTC +++ content/public/common/content_features.cc -@@ -75,7 +75,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup, +@@ -80,7 +80,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup, // Runs the audio service in a separate process. BASE_FEATURE(kAudioServiceOutOfProcess, "AudioServiceOutOfProcess", @@ -9,7 +9,7 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -1271,9 +1271,9 @@ BASE_FEATURE(kWebAssemblyTiering, +@@ -1275,9 +1275,9 @@ BASE_FEATURE(kWebAssemblyTiering, BASE_FEATURE(kWebAssemblyTrapHandler, "WebAssemblyTrapHandler", #if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ @@ -21,7 +21,7 @@ defined(ARCH_CPU_ARM64)) base::FEATURE_ENABLED_BY_DEFAULT #else -@@ -1330,7 +1330,11 @@ BASE_FEATURE(kWebUIJSErrorReportingExtended, +@@ -1334,7 +1334,11 @@ BASE_FEATURE(kWebUIJSErrorReportingExtended, // Controls whether the WebUSB API is enabled: // https://wicg.github.io/webusb diff --git a/www/iridium/files/patch-content_public_common_content__switches.cc b/www/iridium/files/patch-content_public_common_content__switches.cc index d8109434f832..9dffcaeaf98b 100644 --- a/www/iridium/files/patch-content_public_common_content__switches.cc +++ b/www/iridium/files/patch-content_public_common_content__switches.cc @@ -1,6 +1,6 @@ ---- content/public/common/content_switches.cc.orig 2025-05-07 06:48:23 UTC +--- content/public/common/content_switches.cc.orig 2025-06-19 07:37:57 UTC +++ content/public/common/content_switches.cc -@@ -339,6 +339,10 @@ const char kEnableIsolatedWebAppsInRenderer[] = +@@ -345,6 +345,10 @@ const char kEnableIsolatedWebAppsInRenderer[] = // builds. const char kEnableLogging[] = "enable-logging"; @@ -11,7 +11,7 @@ // Enables the type, downlinkMax attributes of the NetInfo API. Also, enables // triggering of change attribute of the NetInfo API when there is a change in // the connection type. -@@ -946,7 +950,7 @@ const char kPreventResizingContentsForTesting[] = +@@ -952,7 +956,7 @@ const char kPreventResizingContentsForTesting[] = "prevent-resizing-contents-for-testing"; #endif diff --git a/www/iridium/files/patch-content_public_common_content__switches.h b/www/iridium/files/patch-content_public_common_content__switches.h index 1eff413bf882..42bdc925d768 100644 --- a/www/iridium/files/patch-content_public_common_content__switches.h +++ b/www/iridium/files/patch-content_public_common_content__switches.h @@ -1,6 +1,6 @@ ---- content/public/common/content_switches.h.orig 2025-05-07 06:48:23 UTC +--- content/public/common/content_switches.h.orig 2025-06-19 07:37:57 UTC +++ content/public/common/content_switches.h -@@ -107,6 +107,8 @@ CONTENT_EXPORT extern const char kEnableGpuMemoryBuffe +@@ -108,6 +108,8 @@ CONTENT_EXPORT extern const char kEnableGpuMemoryBuffe CONTENT_EXPORT extern const char kEnableIsolatedWebAppsInRenderer[]; CONTENT_EXPORT extern const char kEnableLCDText[]; CONTENT_EXPORT extern const char kEnableLogging[]; @@ -9,7 +9,7 @@ CONTENT_EXPORT extern const char kEnableNetworkInformationDownlinkMax[]; CONTENT_EXPORT extern const char kEnableCanvas2DLayers[]; CONTENT_EXPORT extern const char kEnablePluginPlaceholderTesting[]; -@@ -258,7 +260,7 @@ CONTENT_EXPORT extern const char kRendererWaitForJavaD +@@ -259,7 +261,7 @@ CONTENT_EXPORT extern const char kRendererWaitForJavaD CONTENT_EXPORT extern const char kPreventResizingContentsForTesting[]; #endif diff --git a/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h b/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h index 3f452e2b3a6e..6de550afa66c 100644 --- a/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h +++ b/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h @@ -1,6 +1,6 @@ ---- content/renderer/renderer_blink_platform_impl.h.orig 2025-05-07 06:48:23 UTC +--- content/renderer/renderer_blink_platform_impl.h.orig 2025-06-19 07:37:57 UTC +++ content/renderer/renderer_blink_platform_impl.h -@@ -267,7 +267,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi +@@ -266,7 +266,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi const gpu::GPUInfo& gpu_info) const; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ diff --git a/www/iridium/files/patch-content_shell_BUILD.gn b/www/iridium/files/patch-content_shell_BUILD.gn index 872cfd0d36f7..9bdb18543fb7 100644 --- a/www/iridium/files/patch-content_shell_BUILD.gn +++ b/www/iridium/files/patch-content_shell_BUILD.gn @@ -1,6 +1,6 @@ ---- content/shell/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- content/shell/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ content/shell/BUILD.gn -@@ -1099,7 +1099,7 @@ group("content_shell_crash_test") { +@@ -1111,7 +1111,7 @@ group("content_shell_crash_test") { if (is_win) { data_deps += [ "//build/win:copy_cdb_to_output" ] } diff --git a/www/iridium/files/patch-extensions_browser_api_management_management__api.cc b/www/iridium/files/patch-extensions_browser_api_management_management__api.cc index 82dd79c2df4e..96dffb3ba10a 100644 --- a/www/iridium/files/patch-extensions_browser_api_management_management__api.cc +++ b/www/iridium/files/patch-extensions_browser_api_management_management__api.cc @@ -1,11 +1,11 @@ ---- extensions/browser/api/management/management_api.cc.orig 2025-05-07 06:48:23 UTC +--- extensions/browser/api/management/management_api.cc.orig 2025-06-19 07:37:57 UTC +++ extensions/browser/api/management/management_api.cc -@@ -286,7 +286,7 @@ bool PlatformSupportsApprovalFlowForExtensions() { - #if BUILDFLAG(IS_CHROMEOS) - // ChromeOS devices have this feature already shipped. +@@ -284,7 +284,7 @@ void AddExtensionInfo(const Extension* source_extensio + + bool PlatformSupportsApprovalFlowForExtensions() { + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) return true; --#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -+#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - return base::FeatureList::IsEnabled( - supervised_user::kEnableExtensionsPermissionsForSupervisedUsersOnDesktop); #else + return false; diff --git a/www/iridium/files/patch-extensions_shell_browser_shell__extensions__api__client.cc b/www/iridium/files/patch-extensions_shell_browser_shell__extensions__api__client.cc index 332975708314..5f32ee023741 100644 --- a/www/iridium/files/patch-extensions_shell_browser_shell__extensions__api__client.cc +++ b/www/iridium/files/patch-extensions_shell_browser_shell__extensions__api__client.cc @@ -1,15 +1,15 @@ ---- extensions/shell/browser/shell_extensions_api_client.cc.orig 2025-05-07 06:48:23 UTC +--- extensions/shell/browser/shell_extensions_api_client.cc.orig 2025-06-19 07:37:57 UTC +++ extensions/shell/browser/shell_extensions_api_client.cc @@ -18,7 +18,7 @@ + #include "extensions/shell/browser/shell_extension_web_contents_observer.h" #include "extensions/shell/browser/shell_virtual_keyboard_delegate.h" - #include "extensions/shell/browser/shell_web_view_guest_delegate.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "extensions/shell/browser/api/file_system/shell_file_system_delegate.h" #endif -@@ -56,7 +56,7 @@ ShellExtensionsAPIClient::CreateDisplayInfoProvider() +@@ -76,7 +76,7 @@ ShellExtensionsAPIClient::CreateDisplayInfoProvider() return std::make_unique<ShellDisplayInfoProvider>(); } diff --git a/www/iridium/files/patch-extensions_shell_browser_shell__extensions__api__client.h b/www/iridium/files/patch-extensions_shell_browser_shell__extensions__api__client.h index 19ba593693a1..fe52887737f0 100644 --- a/www/iridium/files/patch-extensions_shell_browser_shell__extensions__api__client.h +++ b/www/iridium/files/patch-extensions_shell_browser_shell__extensions__api__client.h @@ -1,6 +1,6 @@ ---- extensions/shell/browser/shell_extensions_api_client.h.orig 2025-05-07 06:48:23 UTC +--- extensions/shell/browser/shell_extensions_api_client.h.orig 2025-06-19 07:37:57 UTC +++ extensions/shell/browser/shell_extensions_api_client.h -@@ -36,14 +36,14 @@ class ShellExtensionsAPIClient : public ExtensionsAPIC +@@ -42,14 +42,14 @@ class ShellExtensionsAPIClient : public ExtensionsAPIC content::BrowserContext* browser_context) const override; std::unique_ptr<DisplayInfoProvider> CreateDisplayInfoProvider() const override; diff --git a/www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc b/www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc index 5585733a38c0..29fc3c15040b 100644 --- a/www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc +++ b/www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc @@ -1,6 +1,6 @@ ---- gpu/command_buffer/service/dawn_context_provider.cc.orig 2025-05-07 06:48:23 UTC +--- gpu/command_buffer/service/dawn_context_provider.cc.orig 2025-06-19 07:37:57 UTC +++ gpu/command_buffer/service/dawn_context_provider.cc -@@ -377,7 +377,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke +@@ -383,7 +383,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke return base::FeatureList::IsEnabled(features::kSkiaGraphiteDawnUseD3D12) ? wgpu::BackendType::D3D12 : wgpu::BackendType::D3D11; diff --git a/www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc b/www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc index a6b27c5c3309..56a0aa1be009 100644 --- a/www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc +++ b/www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc @@ -1,6 +1,6 @@ ---- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2025-05-07 06:48:23 UTC +--- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2025-06-19 07:37:57 UTC +++ gpu/command_buffer/service/gles2_cmd_decoder.cc -@@ -2862,7 +2862,7 @@ GLES2Decoder* GLES2Decoder::Create( +@@ -2863,7 +2863,7 @@ GLES2Decoder* GLES2Decoder::Create( } // Allow linux to run fuzzers. diff --git a/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc b/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc index 6e59ac23555d..df364a00fc4b 100644 --- a/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc +++ b/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc @@ -1,4 +1,4 @@ ---- gpu/command_buffer/service/shared_context_state.cc.orig 2025-05-07 06:48:23 UTC +--- gpu/command_buffer/service/shared_context_state.cc.orig 2025-06-19 07:37:57 UTC +++ gpu/command_buffer/service/shared_context_state.cc @@ -64,7 +64,7 @@ #include "gpu/vulkan/vulkan_implementation.h" @@ -9,7 +9,7 @@ #include "gpu/command_buffer/service/external_semaphore_pool.h" #endif -@@ -322,7 +322,7 @@ SharedContextState::SharedContextState( +@@ -348,7 +348,7 @@ SharedContextState::SharedContextState( if (gr_context_type_ == GrContextType::kVulkan) { if (vk_context_provider_) { #if BUILDFLAG(ENABLE_VULKAN) && \ @@ -18,7 +18,7 @@ external_semaphore_pool_ = std::make_unique<ExternalSemaphorePool>(this); #endif use_virtualized_gl_contexts_ = false; -@@ -359,7 +359,7 @@ SharedContextState::~SharedContextState() { +@@ -385,7 +385,7 @@ SharedContextState::~SharedContextState() { } #if BUILDFLAG(ENABLE_VULKAN) && \ diff --git a/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h b/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h index 432e497464a9..5cc30dc7181c 100644 --- a/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h +++ b/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h @@ -1,6 +1,6 @@ ---- gpu/command_buffer/service/shared_context_state.h.orig 2025-05-07 06:48:23 UTC +--- gpu/command_buffer/service/shared_context_state.h.orig 2025-06-19 07:37:57 UTC +++ gpu/command_buffer/service/shared_context_state.h -@@ -236,7 +236,7 @@ class GPU_GLES2_EXPORT SharedContextState +@@ -238,7 +238,7 @@ class GPU_GLES2_EXPORT SharedContextState return &memory_type_tracker_; } #if BUILDFLAG(ENABLE_VULKAN) && \ @@ -9,7 +9,7 @@ ExternalSemaphorePool* external_semaphore_pool() { return external_semaphore_pool_.get(); } -@@ -449,7 +449,7 @@ class GPU_GLES2_EXPORT SharedContextState +@@ -455,7 +455,7 @@ class GPU_GLES2_EXPORT SharedContextState bool disable_check_reset_status_throttling_for_test_ = false; #if BUILDFLAG(ENABLE_VULKAN) && \ diff --git a/www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc b/www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc index f5e8af979e5d..a2a737a8868f 100644 --- a/www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc +++ b/www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc @@ -1,6 +1,6 @@ ---- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2025-05-07 06:48:23 UTC +--- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2025-06-19 07:37:57 UTC +++ gpu/command_buffer/service/webgpu_decoder_impl.cc -@@ -1754,7 +1754,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte +@@ -1787,7 +1787,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte backend_types = {wgpu::BackendType::D3D12}; #elif BUILDFLAG(IS_MAC) backend_types = {wgpu::BackendType::Metal}; @@ -9,7 +9,7 @@ if (shared_context_state_->GrContextIsVulkan() || shared_context_state_->IsGraphiteDawnVulkan()) { backend_types = {wgpu::BackendType::Vulkan}; -@@ -1996,7 +1996,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn( +@@ -2029,7 +2029,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn( } #if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_APPLE) && \ diff --git a/www/iridium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc b/www/iridium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc index c4082f255b1c..f887ce22d831 100644 --- a/www/iridium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc +++ b/www/iridium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc @@ -1,6 +1,6 @@ ---- gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc.orig 2025-05-07 06:48:23 UTC +--- gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc.orig 2025-06-19 07:37:57 UTC +++ gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc -@@ -32,7 +32,7 @@ +@@ -33,7 +33,7 @@ #include "ui/gfx/half_float.h" #include "ui/gl/test/gl_test_support.h" @@ -9,7 +9,7 @@ #include "gpu/ipc/common/gpu_memory_buffer_impl_native_pixmap.h" #include "ui/gfx/linux/client_native_pixmap_factory_dmabuf.h" #endif -@@ -75,7 +75,7 @@ class GpuMemoryBufferTest : public testing::TestWithPa +@@ -76,7 +76,7 @@ class GpuMemoryBufferTest : public testing::TestWithPa GLManager gl_; }; diff --git a/www/iridium/files/patch-gpu_config_gpu__info__collector.cc b/www/iridium/files/patch-gpu_config_gpu__info__collector.cc index 066a0bdfabd9..344b460e1da3 100644 --- a/www/iridium/files/patch-gpu_config_gpu__info__collector.cc +++ b/www/iridium/files/patch-gpu_config_gpu__info__collector.cc @@ -1,6 +1,6 @@ ---- gpu/config/gpu_info_collector.cc.orig 2025-05-07 06:48:23 UTC +--- gpu/config/gpu_info_collector.cc.orig 2025-06-19 07:37:57 UTC +++ gpu/config/gpu_info_collector.cc -@@ -349,7 +349,7 @@ void ReportWebGPUAdapterMetrics(dawn::native::Instance +@@ -364,7 +364,7 @@ void ReportWebGPUAdapterMetrics(dawn::native::Instance void ReportWebGPUSupportMetrics(dawn::native::Instance* instance) { static BASE_FEATURE(kCollectWebGPUSupportMetrics, "CollectWebGPUSupportMetrics", diff --git a/www/iridium/files/patch-gpu_ipc_service_gpu__init.cc b/www/iridium/files/patch-gpu_ipc_service_gpu__init.cc index 905d8cd520e8..0f507946896f 100644 --- a/www/iridium/files/patch-gpu_ipc_service_gpu__init.cc +++ b/www/iridium/files/patch-gpu_ipc_service_gpu__init.cc @@ -1,4 +1,4 @@ ---- gpu/ipc/service/gpu_init.cc.orig 2025-05-07 06:48:23 UTC +--- gpu/ipc/service/gpu_init.cc.orig 2025-06-19 07:37:57 UTC +++ gpu/ipc/service/gpu_init.cc @@ -153,7 +153,7 @@ void InitializePlatformOverlaySettings(GPUInfo* gpu_in @@ -36,7 +36,7 @@ // The ContentSandboxHelper is currently the only one implementation of // GpuSandboxHelper and it has no dependency. Except on Linux where // VaapiWrapper checks the GL implementation to determine which display -@@ -586,7 +586,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -582,7 +582,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL command_line, gpu_feature_info_, gpu_preferences_.disable_software_rasterizer, false); if (gl_use_swiftshader_) { @@ -45,7 +45,7 @@ VLOG(1) << "Quit GPU process launch to fallback to SwiftShader cleanly " << "on Linux"; return false; -@@ -754,7 +754,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -750,7 +750,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL ->GetSupportedFormatsForGLNativePixmapImport(); #endif // BUILDFLAG(IS_OZONE) @@ -54,7 +54,7 @@ // Driver may create a compatibility profile context when collect graphics // information on Linux platform. Try to collect graphics information // based on core profile context after disabling platform extensions. -@@ -806,7 +806,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -802,7 +802,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL } } } @@ -63,7 +63,7 @@ (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE)) if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) { // https://rr-project.org/ is a Linux-only record-and-replay debugger that -@@ -1008,7 +1008,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c +@@ -1004,7 +1004,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c } bool gl_disabled = gl::GetGLImplementation() == gl::kGLImplementationDisabled; @@ -72,7 +72,7 @@ (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE)) if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) { // https://rr-project.org/ is a Linux-only record-and-replay debugger that -@@ -1063,7 +1063,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c +@@ -1059,7 +1059,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c } } diff --git a/www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.cc b/www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.cc index 3037dac7ff57..f257f866445c 100644 --- a/www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.cc +++ b/www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.cc @@ -1,6 +1,6 @@ ---- gpu/vulkan/vulkan_device_queue.cc.orig 2025-05-07 06:48:23 UTC +--- gpu/vulkan/vulkan_device_queue.cc.orig 2025-06-19 07:37:57 UTC +++ gpu/vulkan/vulkan_device_queue.cc -@@ -156,7 +156,7 @@ bool VulkanDeviceQueue::Initialize( +@@ -145,7 +145,7 @@ bool VulkanDeviceQueue::Initialize( // In dual-CPU cases, we cannot detect the active GPU correctly on Linux, // so don't select GPU device based on the |gpu_info|. @@ -9,7 +9,7 @@ // If gpu_info is provided, the device should match it. if (gpu_info && (device_properties.vendorID != gpu_info->gpu.vendor_id || device_properties.deviceID != gpu_info->gpu.device_id)) { -@@ -303,7 +303,7 @@ bool VulkanDeviceQueue::Initialize( +@@ -292,7 +292,7 @@ bool VulkanDeviceQueue::Initialize( // Android, Fuchsia, Linux, and CrOS (VaapiVideoDecoder) need YCbCr sampler // support. #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc b/www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc index 1a1cf168e966..1016da1d1289 100644 --- a/www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc +++ b/www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc @@ -1,6 +1,6 @@ ---- headless/lib/headless_content_main_delegate.cc.orig 2025-05-07 06:48:23 UTC +--- headless/lib/headless_content_main_delegate.cc.orig 2025-06-19 07:37:57 UTC +++ headless/lib/headless_content_main_delegate.cc -@@ -407,7 +407,7 @@ void HeadlessContentMainDelegate::InitCrashReporter( +@@ -406,7 +406,7 @@ void HeadlessContentMainDelegate::InitCrashReporter( if (process_type != ::switches::kZygoteProcess) { g_headless_crash_client.Pointer()->set_crash_dumps_dir( command_line.GetSwitchValuePath(switches::kCrashDumpsDir)); diff --git a/www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc b/www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc index a9c7c313ad1b..7503c484e31e 100644 --- a/www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc +++ b/www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc @@ -1,4 +1,4 @@ ---- media/audio/alsa/audio_manager_alsa.cc.orig 2025-05-07 06:48:23 UTC +--- media/audio/alsa/audio_manager_alsa.cc.orig 2025-06-19 07:37:57 UTC +++ media/audio/alsa/audio_manager_alsa.cc @@ -106,7 +106,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType int card = -1; @@ -7,7 +7,7 @@ +#if !BUILDFLAG(IS_BSD) while (!wrapper_->CardNext(&card) && card >= 0) { +#endif - void** hints = NULL; + void** hints = nullptr; int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints); if (!error) { @@ -118,7 +120,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType @@ -20,7 +20,7 @@ } void AudioManagerAlsa::GetAlsaDevicesInfo(AudioManagerAlsa::StreamType type, -@@ -201,7 +205,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable( +@@ -202,7 +206,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable( // goes through software conversion if needed (e.g. incompatible // sample rate). // TODO(joi): Should we prefer "hw" instead? @@ -32,7 +32,7 @@ return strncmp(kDeviceTypeDesired, device_name, std::size(kDeviceTypeDesired) - 1) == 0; } -@@ -253,7 +261,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( +@@ -254,7 +262,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( // Loop through the sound cards. // Don't use snd_device_name_hint(-1,..) since there is an access violation // inside this ALSA API with libasound.so.2.0.0. @@ -41,8 +41,8 @@ +#endif int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints); if (!error) { - for (void** hint_iter = hints; *hint_iter != NULL; hint_iter++) { -@@ -277,7 +287,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( + for (void** hint_iter = hints; *hint_iter != nullptr; hint_iter++) { +@@ -279,7 +289,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( DLOG(WARNING) << "HasAnyAudioDevice: unable to get device hints: " << wrapper_->StrError(error); } diff --git a/www/iridium/files/patch-media_base_media__switches.cc b/www/iridium/files/patch-media_base_media__switches.cc index 229c6d0f0a28..76ddc64f2c98 100644 --- a/www/iridium/files/patch-media_base_media__switches.cc +++ b/www/iridium/files/patch-media_base_media__switches.cc @@ -1,4 +1,4 @@ ---- media/base/media_switches.cc.orig 2025-05-07 06:48:23 UTC +--- media/base/media_switches.cc.orig 2025-06-19 07:37:57 UTC +++ media/base/media_switches.cc @@ -19,7 +19,7 @@ #include "ui/gl/gl_features.h" @@ -9,7 +9,7 @@ #include "base/cpu.h" #endif -@@ -358,8 +358,8 @@ BASE_FEATURE(kUseSCContentSharingPicker, +@@ -366,8 +366,8 @@ BASE_FEATURE(kUseSCContentSharingPicker, "UseSCContentSharingPicker", base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_MAC) @@ -20,7 +20,7 @@ // Enables system audio mirroring using pulseaudio. BASE_FEATURE(kPulseaudioLoopbackForCast, "PulseaudioLoopbackForCast", -@@ -369,6 +369,28 @@ BASE_FEATURE(kPulseaudioLoopbackForCast, +@@ -377,6 +377,28 @@ BASE_FEATURE(kPulseaudioLoopbackForCast, BASE_FEATURE(kPulseaudioLoopbackForScreenShare, "PulseaudioLoopbackForScreenShare", base::FEATURE_DISABLED_BY_DEFAULT); @@ -49,7 +49,7 @@ #endif // BUILDFLAG(IS_LINUX) // When enabled, MediaCapabilities will check with GPU Video Accelerator -@@ -636,7 +658,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInPicture, +@@ -658,7 +680,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInPicture, // Show toolbar button that opens dialog for controlling media sessions. BASE_FEATURE(kGlobalMediaControls, "GlobalMediaControls", @@ -58,7 +58,7 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -659,7 +681,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdatedUI, +@@ -681,7 +703,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdatedUI, // If enabled, users can request Media Remoting without fullscreen-in-tab. BASE_FEATURE(kMediaRemotingWithoutFullscreen, "MediaRemotingWithoutFullscreen", @@ -67,7 +67,7 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -671,7 +693,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen, +@@ -693,7 +715,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen, BASE_FEATURE(kGlobalMediaControlsPictureInPicture, "GlobalMediaControlsPictureInPicture", #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -76,7 +76,7 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -700,7 +722,7 @@ BASE_FEATURE(kUnifiedAutoplay, +@@ -722,7 +744,7 @@ BASE_FEATURE(kUnifiedAutoplay, "UnifiedAutoplay", base::FEATURE_ENABLED_BY_DEFAULT); @@ -85,7 +85,7 @@ // Enable vaapi/v4l2 video decoding on linux. This is already enabled by default // on chromeos, but needs an experiment on linux. BASE_FEATURE(kAcceleratedVideoDecodeLinux, -@@ -800,7 +822,7 @@ BASE_FEATURE(kVSyncMjpegDecoding, +@@ -795,7 +817,7 @@ BASE_FEATURE(kVSyncMjpegDecoding, "VSyncMjpegDecoding", base::FEATURE_DISABLED_BY_DEFAULT); #endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) @@ -94,7 +94,7 @@ // Enable H264 temporal layer encoding with V4L2 HW encoder on ChromeOS. BASE_FEATURE(kV4L2H264TemporalLayerHWEncoding, "V4L2H264TemporalLayerHWEncoding", -@@ -1361,7 +1383,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecoding, +@@ -1340,7 +1362,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecoding, ); #endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER) @@ -103,7 +103,7 @@ // Spawn utility processes to perform hardware encode acceleration instead of // using the GPU process. BASE_FEATURE(kUseOutOfProcessVideoEncoding, -@@ -1443,7 +1465,7 @@ BASE_FEATURE(kRecordWebAudioEngagement, +@@ -1422,7 +1444,7 @@ BASE_FEATURE(kRecordWebAudioEngagement, "RecordWebAudioEngagement", base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/iridium/files/patch-media_base_media__switches.h b/www/iridium/files/patch-media_base_media__switches.h index f8279fe482c1..2e050c49d9b5 100644 --- a/www/iridium/files/patch-media_base_media__switches.h +++ b/www/iridium/files/patch-media_base_media__switches.h @@ -1,6 +1,6 @@ ---- media/base/media_switches.h.orig 2025-05-07 06:48:23 UTC +--- media/base/media_switches.h.orig 2025-06-19 07:37:57 UTC +++ media/base/media_switches.h -@@ -329,13 +329,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaRecorderHEVCSu +@@ -334,13 +334,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaRecorderHEVCSu MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlaybackSpeedButton); MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMediaEngagementData); MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMetadataSuspend); @@ -28,7 +28,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kReduceHardwareVideoDecoderBuffers); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) MEDIA_EXPORT BASE_DECLARE_FEATURE(kResumeBackgroundVideo); -@@ -349,7 +361,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kSuspendMutedAudio); +@@ -354,7 +366,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kSuspendMutedAudio); MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay); MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseAndroidOverlayForSecureOnly); MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseFakeDeviceForMediaStream); @@ -37,7 +37,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinux); MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinuxGL); MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoEncodeLinux); -@@ -371,7 +383,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiAV1TemporalLay +@@ -370,7 +382,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiAV1TemporalLay MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVp9SModeHWEncoding); MEDIA_EXPORT BASE_DECLARE_FEATURE(kVSyncMjpegDecoding); #endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) @@ -46,7 +46,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2H264TemporalLayerHWEncoding); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) MEDIA_EXPORT BASE_DECLARE_FEATURE(kVideoBlitColorAccuracy); -@@ -497,7 +509,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kBackgroundListening +@@ -490,7 +502,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kBackgroundListening MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOutOfProcessVideoDecoding); #endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER) diff --git a/www/iridium/files/patch-media_base_video__frame.cc b/www/iridium/files/patch-media_base_video__frame.cc index cd5221fa47aa..acbeaab045b5 100644 --- a/www/iridium/files/patch-media_base_video__frame.cc +++ b/www/iridium/files/patch-media_base_video__frame.cc @@ -1,4 +1,4 @@ ---- media/base/video_frame.cc.orig 2025-05-07 06:48:23 UTC +--- media/base/video_frame.cc.orig 2025-06-19 07:37:57 UTC +++ media/base/video_frame.cc @@ -92,7 +92,7 @@ std::string VideoFrame::StorageTypeToString( return "OWNED_MEMORY"; @@ -27,7 +27,7 @@ bool is_native_buffer = gpu_memory_buffer ? (gpu_memory_buffer->GetType() != gfx::SHARED_MEMORY_BUFFER) -@@ -938,7 +938,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapExternalGpuM +@@ -890,7 +890,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapExternalGpuM return frame; } @@ -36,7 +36,7 @@ // static scoped_refptr<VideoFrame> VideoFrame::WrapExternalDmabufs( const VideoFrameLayout& layout, -@@ -1625,7 +1625,7 @@ scoped_refptr<gpu::ClientSharedImage> VideoFrame::shar +@@ -1577,7 +1577,7 @@ scoped_refptr<gpu::ClientSharedImage> VideoFrame::shar return wrapped_frame_ ? wrapped_frame_->shared_image() : shared_image_; } diff --git a/www/iridium/files/patch-media_base_video__frame.h b/www/iridium/files/patch-media_base_video__frame.h index ef808dda9221..f9ca2019e9d4 100644 --- a/www/iridium/files/patch-media_base_video__frame.h +++ b/www/iridium/files/patch-media_base_video__frame.h @@ -1,4 +1,4 @@ ---- media/base/video_frame.h.orig 2025-05-07 06:48:23 UTC +--- media/base/video_frame.h.orig 2025-06-19 07:37:57 UTC +++ media/base/video_frame.h @@ -42,7 +42,7 @@ #include "ui/gfx/geometry/size.h" @@ -18,7 +18,7 @@ STORAGE_DMABUFS = 5, // Each plane is stored into a DmaBuf. #endif STORAGE_GPU_MEMORY_BUFFER = 6, -@@ -435,7 +435,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -420,7 +420,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte ReleaseMailboxAndGpuMemoryBufferCB mailbox_holder_and_gmb_release_cb, base::TimeDelta timestamp); @@ -27,7 +27,7 @@ // Wraps provided dmabufs // (https://www.kernel.org/doc/html/latest/driver-api/dma-buf.html) with a // VideoFrame. The frame will take ownership of |dmabuf_fds|, and will -@@ -748,7 +748,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -733,7 +733,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte // wait for the included sync point. scoped_refptr<gpu::ClientSharedImage> shared_image() const; @@ -36,7 +36,7 @@ // The number of DmaBufs will be equal or less than the number of planes of // the frame. If there are less, this means that the last FD contains the // remaining planes. Should be > 0 for STORAGE_DMABUFS. -@@ -988,7 +988,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -973,7 +973,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte // GpuMemoryBuffers. Clients will set this flag while creating a VideoFrame. bool is_mappable_si_enabled_ = false; diff --git a/www/iridium/files/patch-media_capture_video_fake__video__capture__device__factory.cc b/www/iridium/files/patch-media_capture_video_fake__video__capture__device__factory.cc index 58c84606f7f1..07bb8317488d 100644 --- a/www/iridium/files/patch-media_capture_video_fake__video__capture__device__factory.cc +++ b/www/iridium/files/patch-media_capture_video_fake__video__capture__device__factory.cc @@ -1,6 +1,6 @@ ---- media/capture/video/fake_video_capture_device_factory.cc.orig 2025-05-07 06:48:23 UTC +--- media/capture/video/fake_video_capture_device_factory.cc.orig 2025-06-19 07:37:57 UTC +++ media/capture/video/fake_video_capture_device_factory.cc -@@ -231,7 +231,7 @@ void FakeVideoCaptureDeviceFactory::GetDevicesInfo( +@@ -228,7 +228,7 @@ void FakeVideoCaptureDeviceFactory::GetDevicesInfo( int entry_index = 0; for (const auto& entry : devices_config_) { VideoCaptureApi api = diff --git a/www/iridium/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc b/www/iridium/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc index 1f3eb4c3e9fa..806e9ebccd8f 100644 --- a/www/iridium/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc +++ b/www/iridium/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc @@ -1,6 +1,6 @@ ---- media/gpu/chromeos/video_decoder_pipeline.cc.orig 2025-05-07 06:48:23 UTC +--- media/gpu/chromeos/video_decoder_pipeline.cc.orig 2025-06-19 07:37:57 UTC +++ media/gpu/chromeos/video_decoder_pipeline.cc -@@ -1122,7 +1122,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( +@@ -1128,7 +1128,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( } #endif @@ -9,7 +9,7 @@ // Linux should always use a custom allocator (to allocate buffers using // libva) and a PlatformVideoFramePool. CHECK(allocator.has_value()); -@@ -1131,7 +1131,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( +@@ -1137,7 +1137,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( // VideoFrame::StorageType of VideoFrame::STORAGE_DMABUFS. main_frame_pool_->AsPlatformVideoFramePool()->SetCustomFrameAllocator( *allocator, VideoFrame::STORAGE_DMABUFS); @@ -18,7 +18,7 @@ // Linux w/ V4L2 should not use a custom allocator // Only tested with video_decode_accelerator_tests // TODO(wenst@) Test with full Chromium Browser -@@ -1305,7 +1305,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( +@@ -1311,7 +1311,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( << " VideoFrames"; auxiliary_frame_pool_->set_parent_task_runner(decoder_task_runner_); diff --git a/www/iridium/files/patch-media_gpu_test_raw__video.cc b/www/iridium/files/patch-media_gpu_test_raw__video.cc index 2f57c3e05c30..564e05b3b75c 100644 --- a/www/iridium/files/patch-media_gpu_test_raw__video.cc +++ b/www/iridium/files/patch-media_gpu_test_raw__video.cc @@ -1,6 +1,6 @@ ---- media/gpu/test/raw_video.cc.orig 2025-05-07 06:48:23 UTC +--- media/gpu/test/raw_video.cc.orig 2025-06-19 07:37:57 UTC +++ media/gpu/test/raw_video.cc -@@ -61,7 +61,7 @@ std::unique_ptr<base::MemoryMappedFile> CreateMemoryMa +@@ -63,7 +63,7 @@ std::unique_ptr<base::MemoryMappedFile> CreateMemoryMa base::File::FLAG_READ | base::File::FLAG_WRITE // On Windows FLAG_CREATE_ALWAYS will require FLAG_WRITE, and FLAG_APPEND // must not be specified. diff --git a/www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc b/www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc index 358949b8dc8c..f0ce45f9e6fa 100644 --- a/www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc +++ b/www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc @@ -1,6 +1,6 @@ ---- media/gpu/vaapi/vaapi_wrapper.cc.orig 2025-05-07 06:48:23 UTC +--- media/gpu/vaapi/vaapi_wrapper.cc.orig 2025-06-19 07:37:57 UTC +++ media/gpu/vaapi/vaapi_wrapper.cc -@@ -81,7 +81,7 @@ +@@ -82,7 +82,7 @@ using media_gpu_vaapi::kModuleVa_prot; #endif diff --git a/www/iridium/files/patch-media_mojo_mojom_BUILD.gn b/www/iridium/files/patch-media_mojo_mojom_BUILD.gn index 15f83cd6ada4..5bc3752e2de5 100644 --- a/www/iridium/files/patch-media_mojo_mojom_BUILD.gn +++ b/www/iridium/files/patch-media_mojo_mojom_BUILD.gn @@ -1,6 +1,6 @@ ---- media/mojo/mojom/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- media/mojo/mojom/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ media/mojo/mojom/BUILD.gn -@@ -959,7 +959,7 @@ source_set("test_support") { +@@ -971,7 +971,7 @@ source_set("test_support") { sources = [] deps = [] diff --git a/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.cc b/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.cc index fb4cde5597af..a92b99978a36 100644 --- a/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.cc +++ b/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.cc @@ -1,6 +1,6 @@ ---- media/video/fake_gpu_memory_buffer.cc.orig 2025-05-07 06:48:23 UTC +--- media/video/fake_gpu_memory_buffer.cc.orig 2025-06-19 07:37:57 UTC +++ media/video/fake_gpu_memory_buffer.cc -@@ -14,7 +14,7 @@ +@@ -15,7 +15,7 @@ #include "media/base/format_utils.h" #include "media/base/video_frame.h" @@ -9,7 +9,7 @@ #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> -@@ -29,7 +29,7 @@ namespace media { +@@ -30,7 +30,7 @@ namespace media { namespace { @@ -18,7 +18,7 @@ base::ScopedFD GetDummyFD() { base::ScopedFD fd(open("/dev/zero", O_RDWR)); DCHECK(fd.is_valid()); -@@ -73,7 +73,7 @@ static base::AtomicSequenceNumber buffer_id_generator; +@@ -74,7 +74,7 @@ static base::AtomicSequenceNumber buffer_id_generator; } // namespace diff --git a/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.h b/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.h index abf2d866d36c..5a81dbb0d111 100644 --- a/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.h +++ b/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.h @@ -1,6 +1,6 @@ ---- media/video/fake_gpu_memory_buffer.h.orig 2025-05-07 06:48:23 UTC +--- media/video/fake_gpu_memory_buffer.h.orig 2025-06-19 07:37:57 UTC +++ media/video/fake_gpu_memory_buffer.h -@@ -13,7 +13,7 @@ +@@ -12,7 +12,7 @@ namespace media { diff --git a/www/iridium/files/patch-media_webrtc_audio__processor.cc b/www/iridium/files/patch-media_webrtc_audio__processor.cc index 4c7c1d119c95..1924ab0ca9f1 100644 --- a/www/iridium/files/patch-media_webrtc_audio__processor.cc +++ b/www/iridium/files/patch-media_webrtc_audio__processor.cc @@ -1,6 +1,6 @@ ---- media/webrtc/audio_processor.cc.orig 2025-05-07 06:48:23 UTC +--- media/webrtc/audio_processor.cc.orig 2025-06-19 07:37:57 UTC +++ media/webrtc/audio_processor.cc -@@ -509,7 +509,7 @@ std::optional<double> AudioProcessor::ProcessData( +@@ -512,7 +512,7 @@ std::optional<double> AudioProcessor::ProcessData( // controller. #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) DCHECK_LE(volume, 1.0); diff --git a/www/iridium/files/patch-media_webrtc_helpers.cc b/www/iridium/files/patch-media_webrtc_helpers.cc index ba157564cc6c..534204b61942 100644 --- a/www/iridium/files/patch-media_webrtc_helpers.cc +++ b/www/iridium/files/patch-media_webrtc_helpers.cc @@ -1,6 +1,6 @@ ---- media/webrtc/helpers.cc.orig 2025-05-07 06:48:23 UTC +--- media/webrtc/helpers.cc.orig 2025-06-19 07:37:57 UTC +++ media/webrtc/helpers.cc -@@ -43,14 +43,14 @@ void ConfigAutomaticGainControl(const AudioProcessingS +@@ -46,14 +46,14 @@ void ConfigAutomaticGainControl(const AudioProcessingS return; } diff --git a/www/iridium/files/patch-net_BUILD.gn b/www/iridium/files/patch-net_BUILD.gn index b748a4e7df63..cd6138a37fae 100644 --- a/www/iridium/files/patch-net_BUILD.gn +++ b/www/iridium/files/patch-net_BUILD.gn @@ -1,6 +1,6 @@ ---- net/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- net/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ net/BUILD.gn -@@ -125,7 +125,7 @@ net_configs = [ +@@ -126,7 +126,7 @@ net_configs = [ "//build/config/compiler:wexit_time_destructors", ] @@ -9,7 +9,7 @@ net_configs += [ "//build/config/linux:libresolv" ] } -@@ -1320,6 +1320,19 @@ component("net") { +@@ -1334,6 +1334,19 @@ component("net") { ] } @@ -29,7 +29,7 @@ if (is_mac) { sources += [ "base/network_notification_thread_mac.cc", -@@ -1483,7 +1496,7 @@ component("net") { +@@ -1497,7 +1510,7 @@ component("net") { } # Use getifaddrs() on POSIX platforms, except Linux. @@ -38,7 +38,7 @@ sources += [ "base/network_interfaces_getifaddrs.cc", "base/network_interfaces_getifaddrs.h", -@@ -2182,7 +2195,7 @@ static_library("test_support") { +@@ -2207,7 +2220,7 @@ static_library("test_support") { ] } @@ -47,7 +47,7 @@ sources += [ "base/address_tracker_linux_test_util.cc", "base/address_tracker_linux_test_util.h", -@@ -3001,14 +3014,14 @@ target(_test_target_type, "net_unittests") { +@@ -3030,14 +3043,14 @@ target(_test_target_type, "net_unittests") { ] } @@ -64,7 +64,7 @@ sources += [ "base/address_tracker_linux_unittest.cc", "base/network_interfaces_linux_unittest.cc", -@@ -3104,6 +3117,10 @@ target(_test_target_type, "net_unittests") { +@@ -3135,6 +3148,10 @@ target(_test_target_type, "net_unittests") { ] } @@ -75,7 +75,7 @@ if (enable_websockets) { sources += [ "server/http_connection_unittest.cc", -@@ -3170,7 +3187,7 @@ target(_test_target_type, "net_unittests") { +@@ -3200,7 +3217,7 @@ target(_test_target_type, "net_unittests") { ] } @@ -84,7 +84,7 @@ sources += [ "tools/quic/quic_simple_server_test.cc" ] } -@@ -3309,7 +3326,7 @@ target(_test_target_type, "net_unittests") { +@@ -3339,7 +3356,7 @@ target(_test_target_type, "net_unittests") { } # Use getifaddrs() on POSIX platforms, except Linux. diff --git a/www/iridium/files/patch-net_base_features.cc b/www/iridium/files/patch-net_base_features.cc index f183e1fe0ae7..b8854d4cc995 100644 --- a/www/iridium/files/patch-net_base_features.cc +++ b/www/iridium/files/patch-net_base_features.cc @@ -1,6 +1,6 @@ ---- net/base/features.cc.orig 2025-05-07 06:48:23 UTC +--- net/base/features.cc.orig 2025-06-19 07:37:57 UTC +++ net/base/features.cc -@@ -26,7 +26,7 @@ BASE_FEATURE(kCapReferrerToOriginOnCrossOrigin, +@@ -27,7 +27,7 @@ BASE_FEATURE(kCapReferrerToOriginOnCrossOrigin, BASE_FEATURE(kAsyncDns, "AsyncDns", #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID) || \ @@ -9,16 +9,3 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -548,7 +548,12 @@ BASE_FEATURE(kSpdyHeadersToHttpResponseUseBuilder, - "SpdyHeadersToHttpResponseUseBuilder", - base::FEATURE_DISABLED_BY_DEFAULT); - -+#if BUILDFLAG(IS_OPENBSD) -+// No IP_RECVTOS support -+BASE_FEATURE(kReportEcn, "ReportEcn", base::FEATURE_DISABLED_BY_DEFAULT); -+#else - BASE_FEATURE(kReportEcn, "ReportEcn", base::FEATURE_ENABLED_BY_DEFAULT); -+#endif - - BASE_FEATURE(kUseNewAlpsCodepointHttp2, - "UseNewAlpsCodepointHttp2", diff --git a/www/iridium/files/patch-net_base_network__change__notifier.cc b/www/iridium/files/patch-net_base_network__change__notifier.cc index e8a559f53df6..ea558783fa7e 100644 --- a/www/iridium/files/patch-net_base_network__change__notifier.cc +++ b/www/iridium/files/patch-net_base_network__change__notifier.cc @@ -1,6 +1,6 @@ ---- net/base/network_change_notifier.cc.orig 2025-05-07 06:48:23 UTC +--- net/base/network_change_notifier.cc.orig 2025-06-19 07:37:57 UTC +++ net/base/network_change_notifier.cc -@@ -36,7 +36,7 @@ +@@ -38,7 +38,7 @@ #include "net/base/network_change_notifier_linux.h" #elif BUILDFLAG(IS_APPLE) #include "net/base/network_change_notifier_apple.h" @@ -9,7 +9,7 @@ #include "net/base/network_change_notifier_passive.h" #elif BUILDFLAG(IS_FUCHSIA) #include "net/base/network_change_notifier_fuchsia.h" -@@ -323,6 +323,9 @@ std::unique_ptr<NetworkChangeNotifier> NetworkChangeNo +@@ -325,6 +325,9 @@ std::unique_ptr<NetworkChangeNotifier> NetworkChangeNo #elif BUILDFLAG(IS_FUCHSIA) return std::make_unique<NetworkChangeNotifierFuchsia>( /*require_wlan=*/false); diff --git a/www/iridium/files/patch-net_base_network__change__notifier__passive.cc b/www/iridium/files/patch-net_base_network__change__notifier__passive.cc index 4d1bc307f5f3..3e45cb343b36 100644 --- a/www/iridium/files/patch-net_base_network__change__notifier__passive.cc +++ b/www/iridium/files/patch-net_base_network__change__notifier__passive.cc @@ -1,6 +1,6 @@ ---- net/base/network_change_notifier_passive.cc.orig 2025-05-07 06:48:23 UTC +--- net/base/network_change_notifier_passive.cc.orig 2025-06-19 07:37:57 UTC +++ net/base/network_change_notifier_passive.cc -@@ -106,7 +106,7 @@ NetworkChangeNotifierPassive::GetAddressMapOwnerIntern +@@ -107,7 +107,7 @@ NetworkChangeNotifierPassive::GetAddressMapOwnerIntern NetworkChangeNotifier::NetworkChangeCalculatorParams NetworkChangeNotifierPassive::NetworkChangeCalculatorParamsPassive() { NetworkChangeCalculatorParams params; diff --git a/www/iridium/files/patch-net_cert_cert__verify__proc.h b/www/iridium/files/patch-net_cert_cert__verify__proc.h deleted file mode 100644 index fd4ac1b6c7d8..000000000000 --- a/www/iridium/files/patch-net_cert_cert__verify__proc.h +++ /dev/null @@ -1,11 +0,0 @@ ---- net/cert/cert_verify_proc.h.orig 2025-05-07 06:48:23 UTC -+++ net/cert/cert_verify_proc.h -@@ -182,7 +182,7 @@ class NET_EXPORT CertVerifyProc - kMaxValue = kChainLengthOne - }; - --#if !(BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \ -+#if !(BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(CHROME_ROOT_STORE_ONLY)) - // Creates and returns a CertVerifyProc that uses the system verifier. - // |cert_net_fetcher| may not be used, depending on the implementation. diff --git a/www/iridium/files/patch-net_dns_host__resolver__proc.cc b/www/iridium/files/patch-net_dns_host__resolver__proc.cc index 40288c7d25ac..00bedc71283a 100644 --- a/www/iridium/files/patch-net_dns_host__resolver__proc.cc +++ b/www/iridium/files/patch-net_dns_host__resolver__proc.cc @@ -1,6 +1,6 @@ ---- net/dns/host_resolver_proc.cc.orig 2025-05-07 06:48:23 UTC +--- net/dns/host_resolver_proc.cc.orig 2025-06-19 07:37:57 UTC +++ net/dns/host_resolver_proc.cc -@@ -15,10 +15,6 @@ +@@ -16,10 +16,6 @@ #include "net/base/net_errors.h" #include "net/dns/host_resolver_system_task.h" diff --git a/www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc b/www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc index 761b6dccbe18..19d19eda7d94 100644 --- a/www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc +++ b/www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc @@ -1,4 +1,4 @@ ---- net/proxy_resolution/proxy_config_service_linux.cc.orig 2025-05-07 06:48:23 UTC +--- net/proxy_resolution/proxy_config_service_linux.cc.orig 2025-06-19 07:37:57 UTC +++ net/proxy_resolution/proxy_config_service_linux.cc @@ -11,7 +11,9 @@ @@ -10,7 +10,7 @@ #include <unistd.h> #include <map> -@@ -510,6 +512,7 @@ bool SettingGetterImplGSettings::CheckVersion( +@@ -502,6 +504,7 @@ bool SettingGetterImplGSettings::CheckVersion() { } #endif // defined(USE_GIO) @@ -18,7 +18,7 @@ // Converts |value| from a decimal string to an int. If there was a failure // parsing, returns |default_value|. int StringToIntOrDefault(std::string_view value, int default_value) { -@@ -1048,6 +1051,7 @@ class SettingGetterImplKDE : public ProxyConfigService +@@ -1039,6 +1042,7 @@ class SettingGetterImplKDE : public ProxyConfigService // events on. scoped_refptr<base::SequencedTaskRunner> file_task_runner_; }; @@ -26,7 +26,7 @@ } // namespace -@@ -1266,9 +1270,11 @@ ProxyConfigServiceLinux::Delegate::Delegate( +@@ -1258,9 +1262,11 @@ ProxyConfigServiceLinux::Delegate::Delegate( case base::nix::DESKTOP_ENVIRONMENT_KDE4: case base::nix::DESKTOP_ENVIRONMENT_KDE5: case base::nix::DESKTOP_ENVIRONMENT_KDE6: diff --git a/www/iridium/files/patch-net_socket_tcp__socket__posix.cc b/www/iridium/files/patch-net_socket_tcp__socket__posix.cc index 6917d3eb7e6e..451bcadb5c02 100644 --- a/www/iridium/files/patch-net_socket_tcp__socket__posix.cc +++ b/www/iridium/files/patch-net_socket_tcp__socket__posix.cc @@ -1,6 +1,6 @@ ---- net/socket/tcp_socket_posix.cc.orig 2025-05-07 06:48:23 UTC +--- net/socket/tcp_socket_posix.cc.orig 2025-06-19 07:37:57 UTC +++ net/socket/tcp_socket_posix.cc -@@ -98,6 +98,17 @@ bool SetTCPKeepAlive(int fd, bool enable, int delay) { +@@ -99,6 +99,17 @@ bool SetTCPKeepAlive(int fd, bool enable, int delay) { PLOG(ERROR) << "Failed to set TCP_KEEPALIVE on fd: " << fd; return false; } diff --git a/www/iridium/files/patch-net_socket_udp__socket__posix.cc b/www/iridium/files/patch-net_socket_udp__socket__posix.cc index 7ce43eb13129..a1cc71712faf 100644 --- a/www/iridium/files/patch-net_socket_udp__socket__posix.cc +++ b/www/iridium/files/patch-net_socket_udp__socket__posix.cc @@ -1,6 +1,6 @@ ---- net/socket/udp_socket_posix.cc.orig 2025-05-07 06:48:23 UTC +--- net/socket/udp_socket_posix.cc.orig 2025-06-19 07:37:57 UTC +++ net/socket/udp_socket_posix.cc -@@ -527,12 +527,17 @@ int UDPSocketPosix::SetRecvTos() { +@@ -530,12 +530,17 @@ int UDPSocketPosix::SetRecvTos() { #endif // BUILDFLAG(IS_APPLE) } @@ -19,7 +19,7 @@ if (confirm) { sendto_flags_ |= MSG_CONFIRM; } else { -@@ -553,7 +558,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) { +@@ -556,7 +561,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) { DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); int value = broadcast ? 1 : 0; int rv; @@ -28,7 +28,7 @@ // SO_REUSEPORT on OSX permits multiple processes to each receive // UDP multicast or broadcast datagrams destined for the bound // port. -@@ -891,7 +896,7 @@ int UDPSocketPosix::DoBind(const IPEndPoint& address) +@@ -894,7 +899,7 @@ int UDPSocketPosix::DoBind(const IPEndPoint& address) #if BUILDFLAG(IS_CHROMEOS) if (last_error == EINVAL) return ERR_ADDRESS_IN_USE; diff --git a/www/iridium/files/patch-net_socket_udp__socket__unittest.cc b/www/iridium/files/patch-net_socket_udp__socket__unittest.cc index 99e041cb3e12..504f892a4a8d 100644 --- a/www/iridium/files/patch-net_socket_udp__socket__unittest.cc +++ b/www/iridium/files/patch-net_socket_udp__socket__unittest.cc @@ -1,6 +1,6 @@ ---- net/socket/udp_socket_unittest.cc.orig 2025-05-07 06:48:23 UTC +--- net/socket/udp_socket_unittest.cc.orig 2025-06-19 07:37:57 UTC +++ net/socket/udp_socket_unittest.cc -@@ -371,7 +371,7 @@ TEST_F(UDPSocketTest, PartialRecv) { +@@ -392,7 +392,7 @@ TEST_F(UDPSocketTest, PartialRecv) { EXPECT_EQ(second_packet, received); } @@ -9,7 +9,7 @@ // - MacOS: requires root permissions on OSX 10.7+. // - Android: devices attached to testbots don't have default network, so // broadcasting to 255.255.255.255 returns error -109 (Address not reachable). -@@ -682,7 +682,7 @@ TEST_F(UDPSocketTest, ClientSetDoNotFragment) { +@@ -703,7 +703,7 @@ TEST_F(UDPSocketTest, ClientSetDoNotFragment) { EXPECT_THAT(rv, IsOk()); rv = client.SetDoNotFragment(); @@ -18,7 +18,7 @@ // TODO(crbug.com/42050633): IP_MTU_DISCOVER is not implemented on Fuchsia. EXPECT_THAT(rv, IsError(ERR_NOT_IMPLEMENTED)); #else -@@ -704,7 +704,7 @@ TEST_F(UDPSocketTest, ServerSetDoNotFragment) { +@@ -725,7 +725,7 @@ TEST_F(UDPSocketTest, ServerSetDoNotFragment) { EXPECT_THAT(rv, IsOk()); rv = server.SetDoNotFragment(); @@ -27,7 +27,7 @@ // TODO(crbug.com/42050633): IP_MTU_DISCOVER is not implemented on Fuchsia. EXPECT_THAT(rv, IsError(ERR_NOT_IMPLEMENTED)); #else -@@ -770,7 +770,7 @@ TEST_F(UDPSocketTest, JoinMulticastGroup) { +@@ -791,7 +791,7 @@ TEST_F(UDPSocketTest, JoinMulticastGroup) { // TODO(crbug.com/40620614): failing on device on iOS 12.2. // TODO(crbug.com/40189274): flaky on Mac 11. @@ -36,7 +36,7 @@ #define MAYBE_SharedMulticastAddress DISABLED_SharedMulticastAddress #else #define MAYBE_SharedMulticastAddress SharedMulticastAddress -@@ -824,7 +824,7 @@ TEST_F(UDPSocketTest, MAYBE_SharedMulticastAddress) { +@@ -845,7 +845,7 @@ TEST_F(UDPSocketTest, MAYBE_SharedMulticastAddress) { NetLogSource()); ASSERT_THAT(client_socket.Connect(send_address), IsOk()); diff --git a/www/iridium/files/patch-net_tools_cert__verify__tool_cert__verify__tool.cc b/www/iridium/files/patch-net_tools_cert__verify__tool_cert__verify__tool.cc index 3ed9cbd0aa77..eab2b10549fd 100644 --- a/www/iridium/files/patch-net_tools_cert__verify__tool_cert__verify__tool.cc +++ b/www/iridium/files/patch-net_tools_cert__verify__tool_cert__verify__tool.cc @@ -1,4 +1,4 @@ ---- net/tools/cert_verify_tool/cert_verify_tool.cc.orig 2025-05-07 06:48:23 UTC +--- net/tools/cert_verify_tool/cert_verify_tool.cc.orig 2025-06-19 07:37:57 UTC +++ net/tools/cert_verify_tool/cert_verify_tool.cc @@ -35,7 +35,7 @@ #include "third_party/boringssl/src/pki/trust_store.h" @@ -18,12 +18,3 @@ // On Linux, use a fixed ProxyConfigService, since the default one // depends on glib. // -@@ -582,7 +582,7 @@ int main(int argc, char** argv) { - std::string impls_str = command_line.GetSwitchValueASCII("impls"); - if (impls_str.empty()) { - // Default value. --#if !(BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \ -+#if !(BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(CHROME_ROOT_STORE_ONLY)) - impls_str = "platform,"; - #endif diff --git a/www/iridium/files/patch-net_url__request_url__request__context__builder.cc b/www/iridium/files/patch-net_url__request_url__request__context__builder.cc index ce8f97fd6a03..ea94465b3a73 100644 --- a/www/iridium/files/patch-net_url__request_url__request__context__builder.cc +++ b/www/iridium/files/patch-net_url__request_url__request__context__builder.cc @@ -1,6 +1,6 @@ ---- net/url_request/url_request_context_builder.cc.orig 2025-05-07 06:48:23 UTC +--- net/url_request/url_request_context_builder.cc.orig 2025-06-19 07:37:57 UTC +++ net/url_request/url_request_context_builder.cc -@@ -441,7 +441,7 @@ std::unique_ptr<URLRequestContext> URLRequestContextBu +@@ -444,7 +444,7 @@ std::unique_ptr<URLRequestContext> URLRequestContextBu } if (!proxy_resolution_service_) { diff --git a/www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc b/www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc index bebe760cbab0..1ba8c8b4e610 100644 --- a/www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc +++ b/www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc @@ -1,6 +1,6 @@ ---- pdf/pdfium/pdfium_engine.cc.orig 2025-05-07 06:48:23 UTC +--- pdf/pdfium/pdfium_engine.cc.orig 2025-06-19 07:37:57 UTC +++ pdf/pdfium/pdfium_engine.cc -@@ -111,7 +111,7 @@ +@@ -112,7 +112,7 @@ #include "ui/accessibility/ax_features.mojom-features.h" #endif @@ -9,7 +9,7 @@ #include "pdf/pdfium/pdfium_font_linux.h" #endif -@@ -567,7 +567,7 @@ void InitializeSDK(bool enable_v8, +@@ -568,7 +568,7 @@ void InitializeSDK(bool enable_v8, FPDF_InitLibraryWithConfig(&config); diff --git a/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc b/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc index 682601e14000..733a94d42d46 100644 --- a/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc +++ b/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc @@ -1,4 +1,4 @@ ---- printing/mojom/printing_context_mojom_traits.cc.orig 2025-05-07 06:48:23 UTC +--- printing/mojom/printing_context_mojom_traits.cc.orig 2025-06-19 07:37:57 UTC +++ printing/mojom/printing_context_mojom_traits.cc @@ -19,7 +19,7 @@ #include "base/numerics/safe_conversions.h" @@ -9,7 +9,7 @@ #include "mojo/public/mojom/base/values.mojom.h" #endif -@@ -161,7 +161,7 @@ bool StructTraits< +@@ -162,7 +162,7 @@ bool StructTraits< } out->set_pages_per_sheet(data.pages_per_sheet()); @@ -18,7 +18,7 @@ DCHECK(out->advanced_settings().empty()); if (!data.ReadAdvancedSettings(&out->advanced_settings())) return false; -@@ -238,7 +238,7 @@ bool StructTraits< +@@ -239,7 +239,7 @@ bool StructTraits< if (system_print_dialog_data.size() != dictionary_entries) { return false; } diff --git a/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc b/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc index bf59eca5dfa5..69d5c7173ea3 100644 --- a/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc +++ b/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc @@ -1,4 +1,4 @@ ---- printing/mojom/printing_context_mojom_traits_unittest.cc.orig 2025-05-07 06:48:23 UTC +--- printing/mojom/printing_context_mojom_traits_unittest.cc.orig 2025-06-19 07:37:57 UTC +++ printing/mojom/printing_context_mojom_traits_unittest.cc @@ -79,7 +79,7 @@ base::Value::Dict GenerateSampleSystemPrintDialogData( data.Set(kMacSystemPrintDialogDataDestinationLocation, "/foo/bar.pdf"); @@ -9,16 +9,16 @@ data.Set(kLinuxSystemPrintDialogDataPrinter, "printer-name"); data.Set(kLinuxSystemPrintDialogDataPrintSettings, "print-settings-foo"); data.Set(kLinuxSystemPrintDialogDataPageSetup, "page-setup-bar"); -@@ -114,7 +114,7 @@ const PageMargins kPrintSettingsCustomMarginsInPoints( - /*top=*/30, - /*bottom=*/35); +@@ -116,7 +116,7 @@ const PageMargins kPrintSettingsCustomMarginsInMicrons + /*top=*/10583, + /*bottom=*/12347); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) PrintSettings::AdvancedSettings GenerateSampleAdvancedSettings() { PrintSettings::AdvancedSettings advanced_settings; advanced_settings.emplace("advanced-setting-A", base::Value("setting-A")); -@@ -207,7 +207,7 @@ PrintSettings GenerateSamplePrintSettingsCommon() { +@@ -209,7 +209,7 @@ PrintSettings GenerateSamplePrintSettingsCommon() { settings.set_device_name(kPrintSettingsDeviceName); settings.set_requested_media(kPrintSettingsRequestedMedia); @@ -27,7 +27,7 @@ PrintSettings::AdvancedSettings& advanced_settings = settings.advanced_settings(); for (const auto& item : kPrintSettingsAdvancedSettings) -@@ -545,7 +545,7 @@ TEST(PrintingContextMojomTraitsTest, +@@ -547,7 +547,7 @@ TEST(PrintingContextMojomTraitsTest, EXPECT_EQ(output.pages_per_sheet(), kPrintSettingsPagesPerSheet1); @@ -36,8 +36,8 @@ EXPECT_EQ(output.advanced_settings(), kPrintSettingsAdvancedSettings); #endif -@@ -598,7 +598,7 @@ TEST(PrintingContextMojomTraitsTest, - kPrintSettingsCustomMarginsInPoints)); +@@ -600,7 +600,7 @@ TEST(PrintingContextMojomTraitsTest, + kPrintSettingsCustomMarginsInMicrons)); EXPECT_EQ(output.pages_per_sheet(), kPrintSettingsPagesPerSheet2); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -45,7 +45,7 @@ EXPECT_EQ(output.advanced_settings(), kPrintSettingsAdvancedSettings); #endif -@@ -637,7 +637,7 @@ TEST(PrintingContextMojomTraitsTest, +@@ -639,7 +639,7 @@ TEST(PrintingContextMojomTraitsTest, EXPECT_EQ(output.page_setup_device_units(), kInput.page_setup_device_units()); } @@ -54,7 +54,7 @@ TEST(PrintingContextMojomTraitsTest, TestSerializeAndDeserializePrintSettingsEmptyAdvancedSettings) { PrintSettings input = GenerateSamplePrintSettingsDefaultMargins(); -@@ -835,7 +835,7 @@ TEST( +@@ -837,7 +837,7 @@ TEST( } #endif // BUILDFLAG(IS_MAC) diff --git a/www/iridium/files/patch-printing_print__settings.cc b/www/iridium/files/patch-printing_print__settings.cc index ffbc66173394..268b7482e596 100644 --- a/www/iridium/files/patch-printing_print__settings.cc +++ b/www/iridium/files/patch-printing_print__settings.cc @@ -1,4 +1,4 @@ ---- printing/print_settings.cc.orig 2025-05-07 06:48:23 UTC +--- printing/print_settings.cc.orig 2025-06-19 07:37:57 UTC +++ printing/print_settings.cc @@ -319,7 +319,7 @@ PrintSettings& PrintSettings::operator=(const PrintSet #endif @@ -11,7 +11,7 @@ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -349,7 +349,7 @@ bool PrintSettings::operator==(const PrintSettings& ot #endif - is_modifiable_, requested_custom_margins_in_points_, + is_modifiable_, requested_custom_margins_in_microns_, pages_per_sheet_ -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) @@ -20,7 +20,7 @@ #endif @@ -373,7 +373,7 @@ bool PrintSettings::operator==(const PrintSettings& ot other.is_modifiable_, - other.requested_custom_margins_in_points_, + other.requested_custom_margins_in_microns_, other.pages_per_sheet_ -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) diff --git a/www/iridium/files/patch-printing_print__settings.h b/www/iridium/files/patch-printing_print__settings.h index f1f5e15d4b7d..a7c57e532e4a 100644 --- a/www/iridium/files/patch-printing_print__settings.h +++ b/www/iridium/files/patch-printing_print__settings.h @@ -1,4 +1,4 @@ ---- printing/print_settings.h.orig 2025-05-07 06:48:23 UTC +--- printing/print_settings.h.orig 2025-06-19 07:37:57 UTC +++ printing/print_settings.h @@ -25,7 +25,7 @@ #include "base/values.h" @@ -36,7 +36,7 @@ AdvancedSettings& advanced_settings() { return advanced_settings_; } const AdvancedSettings& advanced_settings() const { return advanced_settings_; -@@ -429,7 +429,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting +@@ -434,7 +434,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting // Number of pages per sheet. int pages_per_sheet_; diff --git a/www/iridium/files/patch-printing_print__settings__conversion.cc b/www/iridium/files/patch-printing_print__settings__conversion.cc index 0b4e7a47d8a3..386a3835cb9a 100644 --- a/www/iridium/files/patch-printing_print__settings__conversion.cc +++ b/www/iridium/files/patch-printing_print__settings__conversion.cc @@ -1,6 +1,6 @@ ---- printing/print_settings_conversion.cc.orig 2025-05-07 06:48:23 UTC +--- printing/print_settings_conversion.cc.orig 2025-06-19 07:37:57 UTC +++ printing/print_settings_conversion.cc -@@ -285,7 +285,7 @@ std::unique_ptr<PrintSettings> PrintSettingsFromJobSet +@@ -291,7 +291,7 @@ std::unique_ptr<PrintSettings> PrintSettingsFromJobSet settings->set_is_modifiable(is_modifiable.value()); } diff --git a/www/iridium/files/patch-printing_printing__context__linux.cc b/www/iridium/files/patch-printing_printing__context__linux.cc index 10590c43497e..9015973bbbae 100644 --- a/www/iridium/files/patch-printing_printing__context__linux.cc +++ b/www/iridium/files/patch-printing_printing__context__linux.cc @@ -1,4 +1,4 @@ ---- printing/printing_context_linux.cc.orig 2025-05-07 06:48:23 UTC +--- printing/printing_context_linux.cc.orig 2025-06-19 07:37:57 UTC +++ printing/printing_context_linux.cc @@ -23,7 +23,7 @@ #endif @@ -9,7 +9,7 @@ #include "ui/linux/linux_ui.h" #endif -@@ -66,7 +66,7 @@ mojom::ResultCode PrintingContextLinux::UseDefaultSett +@@ -69,7 +69,7 @@ mojom::ResultCode PrintingContextLinux::UseDefaultSett ResetSettings(); @@ -18,7 +18,7 @@ if (!ui::LinuxUi::instance()) return mojom::ResultCode::kSuccess; -@@ -82,7 +82,7 @@ mojom::ResultCode PrintingContextLinux::UseDefaultSett +@@ -85,7 +85,7 @@ mojom::ResultCode PrintingContextLinux::UseDefaultSett } gfx::Size PrintingContextLinux::GetPdfPaperSizeDeviceUnits() { @@ -27,7 +27,7 @@ if (ui::LinuxUi::instance()) return ui::LinuxUi::instance()->GetPdfPaperSize(this); #endif -@@ -95,7 +95,7 @@ mojom::ResultCode PrintingContextLinux::UpdatePrinterS +@@ -98,7 +98,7 @@ mojom::ResultCode PrintingContextLinux::UpdatePrinterS DCHECK(!printer_settings.show_system_dialog); DCHECK(!in_print_job_); diff --git a/www/iridium/files/patch-remoting_base_constants.h b/www/iridium/files/patch-remoting_base_constants.h new file mode 100644 index 000000000000..755bf706ac0e --- /dev/null +++ b/www/iridium/files/patch-remoting_base_constants.h @@ -0,0 +1,11 @@ +--- remoting/base/constants.h.orig 2025-06-19 07:37:57 UTC ++++ remoting/base/constants.h +@@ -27,7 +27,7 @@ const int kDefaultDpi = 96; + // The video frame rate. + constexpr int kTargetFrameRate = 30; + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + inline constexpr char kChromeRemoteDesktopSessionEnvVar[] = + "CHROME_REMOTE_DESKTOP_SESSION"; + #endif diff --git a/www/iridium/files/patch-remoting_host_base_switches.cc b/www/iridium/files/patch-remoting_host_base_switches.cc index a7b337bac377..6519b3cd630b 100644 --- a/www/iridium/files/patch-remoting_host_base_switches.cc +++ b/www/iridium/files/patch-remoting_host_base_switches.cc @@ -1,4 +1,4 @@ ---- remoting/host/base/switches.cc.orig 2025-05-07 06:48:23 UTC +--- remoting/host/base/switches.cc.orig 2025-06-19 07:37:57 UTC +++ remoting/host/base/switches.cc @@ -23,13 +23,13 @@ const char kProcessTypeEvaluateCapability[] = "evaluat const char kProcessTypeFileChooser[] = "file_chooser"; @@ -13,6 +13,6 @@ -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - const char kEnableUtempter[] = "enable-utempter"; + const char kEnableWtmpdb[] = "enable-wtmpdb"; #endif diff --git a/www/iridium/files/patch-remoting_host_base_switches.h b/www/iridium/files/patch-remoting_host_base_switches.h index 4205bba1835f..378e547502aa 100644 --- a/www/iridium/files/patch-remoting_host_base_switches.h +++ b/www/iridium/files/patch-remoting_host_base_switches.h @@ -1,4 +1,4 @@ ---- remoting/host/base/switches.h.orig 2025-05-07 06:48:23 UTC +--- remoting/host/base/switches.h.orig 2025-06-19 07:37:57 UTC +++ remoting/host/base/switches.h @@ -35,13 +35,13 @@ extern const char kProcessTypeRdpDesktopSession[]; extern const char kProcessTypeEvaluateCapability[]; @@ -13,6 +13,6 @@ -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Used to record client sessions to utmp/wtmp. - extern const char kEnableUtempter[]; + // Used to record client sessions to wtmpd. + extern const char kEnableWtmpdb[]; #endif diff --git a/www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc b/www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc index 3e8848fda974..188a7fa1612f 100644 --- a/www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc +++ b/www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc @@ -1,15 +1,6 @@ ---- remoting/host/chromoting_host_services_client.cc.orig 2025-05-07 06:48:23 UTC +--- remoting/host/chromoting_host_services_client.cc.orig 2025-06-19 07:37:57 UTC +++ remoting/host/chromoting_host_services_client.cc -@@ -59,7 +59,7 @@ mojo::PendingRemote<mojom::ChromotingHostServices> Con - - } // namespace - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - - // static - constexpr char -@@ -136,7 +136,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic +@@ -134,7 +134,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic if (session_services_remote_.is_bound()) { return true; } diff --git a/www/iridium/files/patch-remoting_host_mojo__caller__security__checker.cc b/www/iridium/files/patch-remoting_host_mojo__caller__security__checker.cc index cbf73bca9c0f..cf4d8958bd36 100644 --- a/www/iridium/files/patch-remoting_host_mojo__caller__security__checker.cc +++ b/www/iridium/files/patch-remoting_host_mojo__caller__security__checker.cc @@ -1,6 +1,6 @@ ---- remoting/host/mojo_caller_security_checker.cc.orig 2025-05-07 06:48:23 UTC +--- remoting/host/mojo_caller_security_checker.cc.orig 2025-06-19 07:37:57 UTC +++ remoting/host/mojo_caller_security_checker.cc -@@ -37,7 +37,7 @@ +@@ -32,7 +32,7 @@ namespace remoting { namespace { @@ -9,16 +9,16 @@ constexpr auto kAllowedCallerProgramNames = base::MakeFixedFlatSet<base::FilePath::StringViewType>({ "remote-open-url", -@@ -98,7 +98,7 @@ bool IsTrustedMojoEndpoint( - return true; - #endif - +@@ -60,7 +60,7 @@ bool IsTrustedMojoEndpoint( + const named_mojo_ipc_server::ConnectionInfo& caller) { + #if BUILDFLAG(IS_MAC) + return IsProcessTrusted(caller.audit_token, kAllowedIdentifiers); -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // TODO: yuweih - see if it's possible to move away from PID-based security // checks, which might be susceptible of PID reuse attacks. -@@ -122,7 +122,7 @@ bool IsTrustedMojoEndpoint( +@@ -84,7 +84,7 @@ bool IsTrustedMojoEndpoint( base::FilePath::StringType program_name = caller_process_image_path.BaseName().value(); if (!kAllowedCallerProgramNames.contains(program_name)) { diff --git a/www/iridium/files/patch-remoting_host_policy__watcher.cc b/www/iridium/files/patch-remoting_host_policy__watcher.cc index f1954999c538..6f7abd4ec5b6 100644 --- a/www/iridium/files/patch-remoting_host_policy__watcher.cc +++ b/www/iridium/files/patch-remoting_host_policy__watcher.cc @@ -1,8 +1,8 @@ ---- remoting/host/policy_watcher.cc.orig 2025-05-07 06:48:23 UTC +--- remoting/host/policy_watcher.cc.orig 2025-06-19 07:37:57 UTC +++ remoting/host/policy_watcher.cc -@@ -177,7 +177,7 @@ base::Value::Dict PolicyWatcher::GetDefaultPolicies() - true); +@@ -182,7 +182,7 @@ base::Value::Dict PolicyWatcher::GetDefaultPolicies() result.Set(key::kRemoteAccessHostAllowEnterpriseFileTransfer, false); + result.Set(key::kClassManagementEnabled, "disabled"); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) diff --git a/www/iridium/files/patch-remoting_host_remoting__me2me__host.cc b/www/iridium/files/patch-remoting_host_remoting__me2me__host.cc index f0d880ea1025..83dea3f23df1 100644 --- a/www/iridium/files/patch-remoting_host_remoting__me2me__host.cc +++ b/www/iridium/files/patch-remoting_host_remoting__me2me__host.cc @@ -1,6 +1,6 @@ ---- remoting/host/remoting_me2me_host.cc.orig 2025-05-07 06:48:23 UTC +--- remoting/host/remoting_me2me_host.cc.orig 2025-06-19 07:37:57 UTC +++ remoting/host/remoting_me2me_host.cc -@@ -138,7 +138,7 @@ +@@ -140,7 +140,7 @@ #include "remoting/host/mac/permission_utils.h" #endif // BUILDFLAG(IS_APPLE) @@ -9,7 +9,7 @@ #if defined(REMOTING_USE_X11) #include <gtk/gtk.h> -@@ -148,7 +148,7 @@ +@@ -150,7 +150,7 @@ #endif // defined(REMOTING_USE_X11) #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -18,16 +18,16 @@ #include "base/linux_util.h" #include "remoting/host/linux/audio_capturer_linux.h" #include "remoting/host/linux/certificate_watcher.h" -@@ -163,7 +163,7 @@ +@@ -165,7 +165,7 @@ #include "remoting/host/pairing_registry_delegate_win.h" #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "remoting/host/host_utmp_logger.h" + #include "remoting/host/host_wtmpdb_logger.h" #endif // BUILDFLAG(IS_LINUX) -@@ -196,7 +196,7 @@ const char kApplicationName[] = "chromoting"; +@@ -198,7 +198,7 @@ const char kApplicationName[] = "chromoting"; const char kStdinConfigPath[] = "-"; #endif // !defined(REMOTING_MULTI_PROCESS) @@ -36,7 +36,7 @@ // The command line switch used to pass name of the pipe to capture audio on // linux. const char kAudioPipeSwitchName[] = "audio-pipe-name"; -@@ -441,7 +441,7 @@ class HostProcess : public ConfigWatcher::Delegate, +@@ -447,7 +447,7 @@ class HostProcess : public ConfigWatcher::Delegate, std::unique_ptr<AgentProcessBrokerClient> agent_process_broker_client_; #endif @@ -45,16 +45,16 @@ // Watch for certificate changes and kill the host when changes occur std::unique_ptr<CertificateWatcher> cert_watcher_; #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -506,7 +506,7 @@ class HostProcess : public ConfigWatcher::Delegate, +@@ -512,7 +512,7 @@ class HostProcess : public ConfigWatcher::Delegate, std::unique_ptr<FtlEchoMessageListener> ftl_echo_message_listener_; std::unique_ptr<HostEventLogger> host_event_logger_; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - std::unique_ptr<HostUTMPLogger> host_utmp_logger_; + std::unique_ptr<HostWtmpdbLogger> host_wtmpdb_logger_; #endif std::unique_ptr<HostPowerSaveBlocker> power_save_blocker_; -@@ -825,7 +825,7 @@ void HostProcess::StartOnNetworkThread() { +@@ -839,7 +839,7 @@ void HostProcess::StartOnNetworkThread() { void HostProcess::ShutdownOnNetworkThread() { DCHECK(context_->network_task_runner()->BelongsToCurrentThread()); config_watcher_.reset(); @@ -63,7 +63,7 @@ cert_watcher_.reset(); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) } -@@ -902,7 +902,7 @@ void HostProcess::CreateAuthenticatorFactory() { +@@ -916,7 +916,7 @@ void HostProcess::CreateAuthenticatorFactory() { context_->create_client_cert_store_callback(), service_account_email_, oauth_refresh_token_)); @@ -72,7 +72,7 @@ if (!cert_watcher_) { cert_watcher_ = std::make_unique<CertificateWatcher>( base::BindRepeating(&HostProcess::ShutdownHost, -@@ -1044,7 +1044,7 @@ void HostProcess::StartOnUiThread() { +@@ -1058,7 +1058,7 @@ void HostProcess::StartOnUiThread() { base::BindRepeating(&HostProcess::OnPolicyUpdate, base::Unretained(this)), base::BindRepeating(&HostProcess::OnPolicyError, base::Unretained(this))); @@ -81,7 +81,7 @@ // If an audio pipe is specific on the command-line then initialize // AudioCapturerLinux to capture from it. base::FilePath audio_pipe_name = -@@ -1123,7 +1123,7 @@ void HostProcess::ShutdownOnUiThread() { +@@ -1137,7 +1137,7 @@ void HostProcess::ShutdownOnUiThread() { // It is now safe for the HostProcess to be deleted. self_ = nullptr; @@ -90,7 +90,7 @@ // Cause the global AudioPipeReader to be freed, otherwise the audio // thread will remain in-use and prevent the process from exiting. // TODO(wez): DesktopEnvironmentFactory should own the pipe reader. -@@ -1131,7 +1131,7 @@ void HostProcess::ShutdownOnUiThread() { +@@ -1145,7 +1145,7 @@ void HostProcess::ShutdownOnUiThread() { AudioCapturerLinux::InitializePipeReader(nullptr, base::FilePath()); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -99,34 +99,25 @@ context_->input_task_runner()->PostTask( FROM_HERE, base::BindOnce([]() { delete ui::X11EventSource::GetInstance(); })); -@@ -1873,7 +1873,7 @@ void HostProcess::StartHost() { - corp_host_status_logger_->StartObserving(*session_manager); - } - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - desktop_environment_options_.set_enable_remote_webauthn(true); - #endif - #if BUILDFLAG(IS_WIN) -@@ -1900,7 +1900,7 @@ void HostProcess::StartHost() { +@@ -1928,7 +1928,7 @@ void HostProcess::StartHost() { host_->AddExtension(std::make_unique<TestEchoExtension>()); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); - if (cmd_line->HasSwitch(kEnableUtempter)) { - host_utmp_logger_ = -@@ -1936,7 +1936,7 @@ void HostProcess::StartHost() { + if (cmd_line->HasSwitch(kEnableWtmpdb)) { + host_wtmpdb_logger_ = +@@ -1964,7 +1964,7 @@ void HostProcess::StartHost() { // addresses. host_->Start(*host_owner_emails_.begin()); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // For Windows, ChromotingHostServices connections are handled by the daemon - // process, then the message pipe is forwarded to the network process. + // For Windows and Mac, ChromotingHostServices connections are handled by + // another process, then the message pipe is forwarded to the network process. host_->StartChromotingHostServices(); -@@ -2081,7 +2081,7 @@ int HostProcessMain() { +@@ -2109,7 +2109,7 @@ int HostProcessMain() { HOST_LOG << "Starting host process: version " << STRINGIZE(VERSION); const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); @@ -135,7 +126,7 @@ #if defined(REMOTING_USE_X11) // Initialize Xlib for multi-threaded use, allowing non-Chromium code to // use X11 safely (such as the WebRTC capturer, GTK ...) -@@ -2144,7 +2144,7 @@ int HostProcessMain() { +@@ -2172,7 +2172,7 @@ int HostProcessMain() { std::unique_ptr<net::NetworkChangeNotifier> network_change_notifier( net::NetworkChangeNotifier::CreateIfNeeded()); diff --git a/www/iridium/files/patch-remoting_host_webauthn_desktop__session__type__util.cc b/www/iridium/files/patch-remoting_host_webauthn_desktop__session__type__util.cc new file mode 100644 index 000000000000..c230d4f8f2eb --- /dev/null +++ b/www/iridium/files/patch-remoting_host_webauthn_desktop__session__type__util.cc @@ -0,0 +1,20 @@ +--- remoting/host/webauthn/desktop_session_type_util.cc.orig 2025-06-19 07:37:57 UTC ++++ remoting/host/webauthn/desktop_session_type_util.cc +@@ -11,7 +11,7 @@ + namespace remoting { + namespace { + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + DesktopSessionType GetDesktopSessionTypeInternal( + std::unique_ptr<base::Environment> environment) { + // Currently on Linux, a desktop session is either remote-only or local-only. +@@ -29,7 +29,7 @@ DesktopSessionType GetDesktopSessionTypeInternal( + } // namespace + + DesktopSessionType GetDesktopSessionType() { +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + static const DesktopSessionType desktop_session_type = + GetDesktopSessionTypeInternal(base::Environment::Create()); + return desktop_session_type; diff --git a/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__caller__security__utils.cc b/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__caller__security__utils.cc index 227dc422cb3b..3a339bcf6bb5 100644 --- a/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__caller__security__utils.cc +++ b/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__caller__security__utils.cc @@ -1,6 +1,6 @@ ---- remoting/host/webauthn/remote_webauthn_caller_security_utils.cc.orig 2025-05-07 06:48:23 UTC +--- remoting/host/webauthn/remote_webauthn_caller_security_utils.cc.orig 2025-06-19 07:37:57 UTC +++ remoting/host/webauthn/remote_webauthn_caller_security_utils.cc -@@ -10,7 +10,7 @@ +@@ -14,7 +14,7 @@ #include "base/strings/utf_string_conversions.h" #include "build/build_config.h" @@ -8,8 +8,8 @@ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "base/containers/fixed_flat_set.h" #include "base/files/file_path.h" - #include "base/process/process_handle.h" -@@ -38,7 +38,7 @@ namespace { + #include "remoting/host/base/process_util.h" +@@ -48,7 +48,7 @@ namespace { // No static variables needed for debug builds. @@ -18,7 +18,7 @@ constexpr auto kAllowedCallerPrograms = base::MakeFixedFlatSet<base::FilePath::StringViewType>({ -@@ -83,7 +83,7 @@ bool IsLaunchedByTrustedProcess() { +@@ -99,7 +99,7 @@ bool IsLaunchedByTrustedProcess() { #if !defined(NDEBUG) // Just return true on debug builds for the convenience of development. return true; diff --git a/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc b/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc index 6fec4557ce39..b84c093ad929 100644 --- a/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc +++ b/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc @@ -1,6 +1,6 @@ ---- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2025-05-07 06:48:23 UTC +--- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2025-06-19 07:37:57 UTC +++ remoting/host/webauthn/remote_webauthn_extension_notifier.cc -@@ -30,7 +30,7 @@ +@@ -31,7 +31,7 @@ #include "base/task/thread_pool.h" #include "build/build_config.h" @@ -9,7 +9,7 @@ #include "base/environment.h" #include "base/nix/xdg_util.h" #include "base/strings/string_util.h" -@@ -75,14 +75,14 @@ static constexpr char kExtensionWakeupFileContent[] = +@@ -76,14 +76,14 @@ static constexpr char kExtensionWakeupFileContent[] = // Caller should check if the directory exists before writing files to it. A // directory only exists if the corresponding Chrome version is installed. std::vector<base::FilePath> GetRemoteStateChangeDirPaths() { diff --git a/www/iridium/files/patch-services_audio_audio__sandbox__hook__linux.cc b/www/iridium/files/patch-services_audio_audio__sandbox__hook__linux.cc index d8a53e16c43c..2afa95de116d 100644 --- a/www/iridium/files/patch-services_audio_audio__sandbox__hook__linux.cc +++ b/www/iridium/files/patch-services_audio_audio__sandbox__hook__linux.cc @@ -1,6 +1,6 @@ ---- services/audio/audio_sandbox_hook_linux.cc.orig 2025-05-07 06:48:23 UTC +--- services/audio/audio_sandbox_hook_linux.cc.orig 2025-06-19 07:37:57 UTC +++ services/audio/audio_sandbox_hook_linux.cc -@@ -143,6 +143,7 @@ void AddPulseAudioFilePermissions( +@@ -147,6 +147,7 @@ void AddPulseAudioFilePermissions( } #endif @@ -8,7 +8,7 @@ std::vector<BrokerFilePermission> GetAudioFilePermissions() { std::vector<BrokerFilePermission> permissions{ BrokerFilePermission::ReadOnly("/dev/urandom"), -@@ -171,10 +172,12 @@ void LoadAudioLibraries() { +@@ -175,10 +176,12 @@ void LoadAudioLibraries() { } } } @@ -21,7 +21,7 @@ LoadAudioLibraries(); auto* instance = sandbox::policy::SandboxLinux::GetInstance(); instance->StartBrokerProcess(MakeBrokerCommandSet({ -@@ -192,6 +195,7 @@ bool AudioPreSandboxHook(sandbox::policy::SandboxLinux +@@ -196,6 +199,7 @@ bool AudioPreSandboxHook(sandbox::policy::SandboxLinux // TODO(crbug.com/40579955) enable namespace sandbox. Currently, if // enabled, connect() on pulse native socket fails with ENOENT (called from // pa_context_connect). diff --git a/www/iridium/files/patch-services_device_BUILD.gn b/www/iridium/files/patch-services_device_BUILD.gn index be05421eae95..1d047d892a48 100644 --- a/www/iridium/files/patch-services_device_BUILD.gn +++ b/www/iridium/files/patch-services_device_BUILD.gn @@ -1,6 +1,6 @@ ---- services/device/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- services/device/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ services/device/BUILD.gn -@@ -13,7 +13,7 @@ if (is_android) { +@@ -17,7 +17,7 @@ if (is_ios) { } is_serial_enabled_platform = diff --git a/www/iridium/files/patch-services_device_public_cpp_device__features.cc b/www/iridium/files/patch-services_device_public_cpp_device__features.cc index 6e24d8dab855..62ea055db353 100644 --- a/www/iridium/files/patch-services_device_public_cpp_device__features.cc +++ b/www/iridium/files/patch-services_device_public_cpp_device__features.cc @@ -1,6 +1,6 @@ ---- services/device/public/cpp/device_features.cc.orig 2025-05-07 06:48:23 UTC +--- services/device/public/cpp/device_features.cc.orig 2025-06-19 07:37:57 UTC +++ services/device/public/cpp/device_features.cc -@@ -135,7 +135,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() { +@@ -140,7 +140,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() { // Controls whether Chrome will try to automatically detach kernel drivers when // a USB interface is busy. diff --git a/www/iridium/files/patch-services_device_public_mojom_BUILD.gn b/www/iridium/files/patch-services_device_public_mojom_BUILD.gn index 268ba7bf145b..cc7416e8fe65 100644 --- a/www/iridium/files/patch-services_device_public_mojom_BUILD.gn +++ b/www/iridium/files/patch-services_device_public_mojom_BUILD.gn @@ -1,6 +1,6 @@ ---- services/device/public/mojom/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- services/device/public/mojom/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ services/device/public/mojom/BUILD.gn -@@ -96,7 +96,7 @@ mojom("device_service") { +@@ -98,7 +98,7 @@ mojom("device_service") { enable_js_fuzzing = false enabled_features = [] diff --git a/www/iridium/files/patch-services_network_BUILD.gn b/www/iridium/files/patch-services_network_BUILD.gn index ce4055c4f766..6023626f18d1 100644 --- a/www/iridium/files/patch-services_network_BUILD.gn +++ b/www/iridium/files/patch-services_network_BUILD.gn @@ -1,6 +1,6 @@ ---- services/network/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- services/network/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ services/network/BUILD.gn -@@ -400,7 +400,6 @@ if (is_linux || is_chromeos) { +@@ -413,7 +413,6 @@ if (is_linux || is_chromeos) { ] deps = [ "//base:base", diff --git a/www/iridium/files/patch-services_network_network__context.cc b/www/iridium/files/patch-services_network_network__context.cc index 98960645ba48..efa58ac6241c 100644 --- a/www/iridium/files/patch-services_network_network__context.cc +++ b/www/iridium/files/patch-services_network_network__context.cc @@ -1,6 +1,6 @@ ---- services/network/network_context.cc.orig 2025-05-07 06:48:23 UTC +--- services/network/network_context.cc.orig 2025-06-19 07:37:57 UTC +++ services/network/network_context.cc -@@ -607,7 +607,7 @@ NetworkContext::NetworkContextHttpAuthPreferences:: +@@ -612,7 +612,7 @@ NetworkContext::NetworkContextHttpAuthPreferences:: NetworkContext::NetworkContextHttpAuthPreferences:: ~NetworkContextHttpAuthPreferences() = default; @@ -9,7 +9,7 @@ bool NetworkContext::NetworkContextHttpAuthPreferences::AllowGssapiLibraryLoad() const { if (network_service_) { -@@ -2557,7 +2557,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged( +@@ -2543,7 +2543,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged( http_auth_dynamic_network_service_params->android_negotiate_account_type); #endif // BUILDFLAG(IS_ANDROID) diff --git a/www/iridium/files/patch-services_network_network__context.h b/www/iridium/files/patch-services_network_network__context.h index 23b7fe21aec4..83a7b4c72025 100644 --- a/www/iridium/files/patch-services_network_network__context.h +++ b/www/iridium/files/patch-services_network_network__context.h @@ -1,6 +1,6 @@ ---- services/network/network_context.h.orig 2025-05-07 06:48:23 UTC +--- services/network/network_context.h.orig 2025-06-19 07:37:57 UTC +++ services/network/network_context.h -@@ -715,7 +715,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext +@@ -723,7 +723,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext public: explicit NetworkContextHttpAuthPreferences(NetworkService* network_service); ~NetworkContextHttpAuthPreferences() override; diff --git a/www/iridium/files/patch-services_network_network__service.cc b/www/iridium/files/patch-services_network_network__service.cc index e4f05509069d..298ee57ecf1d 100644 --- a/www/iridium/files/patch-services_network_network__service.cc +++ b/www/iridium/files/patch-services_network_network__service.cc @@ -1,4 +1,4 @@ ---- services/network/network_service.cc.orig 2025-05-07 06:48:23 UTC +--- services/network/network_service.cc.orig 2025-06-19 07:37:57 UTC +++ services/network/network_service.cc @@ -103,11 +103,11 @@ #include "third_party/boringssl/src/include/openssl/cpu.h" @@ -14,7 +14,7 @@ #include "services/network/network_change_notifier_passive_factory.h" #endif -@@ -1016,7 +1016,7 @@ void NetworkService::SetExplicitlyAllowedPorts( +@@ -1043,7 +1043,7 @@ void NetworkService::SetExplicitlyAllowedPorts( net::SetExplicitlyAllowedPorts(ports); } @@ -23,7 +23,7 @@ void NetworkService::SetGssapiLibraryLoadObserver( mojo::PendingRemote<mojom::GssapiLibraryLoadObserver> gssapi_library_load_observer) { -@@ -1116,7 +1116,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo +@@ -1143,7 +1143,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo ); } diff --git a/www/iridium/files/patch-services_network_network__service.h b/www/iridium/files/patch-services_network_network__service.h index 983a7a0d33fa..5f77d8c7a232 100644 --- a/www/iridium/files/patch-services_network_network__service.h +++ b/www/iridium/files/patch-services_network_network__service.h @@ -1,6 +1,6 @@ ---- services/network/network_service.h.orig 2025-05-07 06:48:23 UTC +--- services/network/network_service.h.orig 2025-06-19 07:37:57 UTC +++ services/network/network_service.h -@@ -250,7 +250,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -251,7 +251,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService const std::vector<ContentSettingPatternSource>& settings) override; void SetExplicitlyAllowedPorts(const std::vector<uint16_t>& ports) override; @@ -9,7 +9,7 @@ void SetGssapiLibraryLoadObserver( mojo::PendingRemote<mojom::GssapiLibraryLoadObserver> gssapi_library_load_observer) override; -@@ -291,7 +291,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -292,7 +292,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService std::unique_ptr<net::HttpAuthHandlerFactory> CreateHttpAuthHandlerFactory( NetworkContext* network_context); @@ -18,7 +18,7 @@ // This is called just before a GSSAPI library may be loaded. void OnBeforeGssapiLibraryLoad(); #endif // BUILDFLAG(IS_LINUX) -@@ -547,7 +547,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -550,7 +550,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService // leaking stale listeners between tests. std::unique_ptr<net::NetworkChangeNotifier> mock_network_change_notifier_; diff --git a/www/iridium/files/patch-services_network_public_cpp_BUILD.gn b/www/iridium/files/patch-services_network_public_cpp_BUILD.gn index 0386c6b7c175..a58da7cbe459 100644 --- a/www/iridium/files/patch-services_network_public_cpp_BUILD.gn +++ b/www/iridium/files/patch-services_network_public_cpp_BUILD.gn @@ -1,6 +1,6 @@ ---- services/network/public/cpp/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- services/network/public/cpp/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ services/network/public/cpp/BUILD.gn -@@ -621,7 +621,7 @@ component("cpp_base") { +@@ -639,7 +639,7 @@ component("cpp_base") { sources += [ "transferable_directory_fuchsia.cc" ] } diff --git a/www/iridium/files/patch-services_network_public_cpp_features.cc b/www/iridium/files/patch-services_network_public_cpp_features.cc index 6a5d0fd08215..b043b2849c39 100644 --- a/www/iridium/files/patch-services_network_public_cpp_features.cc +++ b/www/iridium/files/patch-services_network_public_cpp_features.cc @@ -1,4 +1,4 @@ ---- services/network/public/cpp/features.cc.orig 2025-05-07 06:48:23 UTC +--- services/network/public/cpp/features.cc.orig 2025-06-19 07:37:57 UTC +++ services/network/public/cpp/features.cc @@ -125,7 +125,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIsolationKey, BASE_FEATURE(kDnsOverHttpsUpgrade, @@ -9,3 +9,12 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT +@@ -377,7 +377,7 @@ BASE_FEATURE(kAvoidResourceRequestCopies, + BASE_FEATURE(kDocumentIsolationPolicy, + "DocumentIsolationPolicy", + #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \ +- BUILDFLAG(IS_LINUX) ++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + base::FEATURE_ENABLED_BY_DEFAULT + #else + base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/iridium/files/patch-services_network_public_mojom_BUILD.gn b/www/iridium/files/patch-services_network_public_mojom_BUILD.gn index f1aef0de829c..c0ebcb26d31b 100644 --- a/www/iridium/files/patch-services_network_public_mojom_BUILD.gn +++ b/www/iridium/files/patch-services_network_public_mojom_BUILD.gn @@ -1,6 +1,6 @@ ---- services/network/public/mojom/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- services/network/public/mojom/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ services/network/public/mojom/BUILD.gn -@@ -674,11 +674,11 @@ mojom("url_loader_base") { +@@ -675,11 +675,11 @@ mojom("url_loader_base") { } enabled_features = [] @@ -14,7 +14,7 @@ # TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does # not include lacros. enabled_features += [ "use_network_interface_change_listener" ] -@@ -1765,7 +1765,7 @@ mojom("mojom") { +@@ -1795,7 +1795,7 @@ mojom("mojom") { } } diff --git a/www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc b/www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc index 405685d6170f..91b8098a4ab2 100644 --- a/www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc +++ b/www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc @@ -1,4 +1,4 @@ ---- services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2025-05-07 06:48:23 UTC +--- services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2025-06-19 07:37:57 UTC +++ services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc @@ -54,7 +54,7 @@ uint32_t CalculatePrivateFootprintKb(const mojom::RawO uint32_t shared_resident_kb) { @@ -25,8 +25,8 @@ -#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD) request->pending_responses.insert({client_info.pid, ResponseType::kOSDump}); - client->RequestOSMemoryDump(request->memory_map_option(), - {base::kNullProcessId}, + client->RequestOSMemoryDump( + request->memory_map_option(), request->memory_dump_flags(), @@ -237,7 +237,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch( // In some cases, OS stats can only be dumped from a privileged process to @@ -36,7 +36,7 @@ std::vector<base::ProcessId> pids; mojom::ClientProcess* browser_client = nullptr; base::ProcessId browser_client_pid = base::kNullProcessId; -@@ -283,7 +283,7 @@ void QueuedRequestDispatcher::SetUpAndDispatchVmRegion +@@ -284,7 +284,7 @@ void QueuedRequestDispatcher::SetUpAndDispatchVmRegion const OsCallback& os_callback) { // On Linux, OS stats can only be dumped from a privileged process to // get around to sandboxing/selinux restrictions (see crbug.com/461788). @@ -45,7 +45,7 @@ mojom::ClientProcess* browser_client = nullptr; base::ProcessId browser_client_pid = 0; for (const auto& client_info : clients) { -@@ -333,7 +333,7 @@ QueuedRequestDispatcher::FinalizeVmRegionRequest( +@@ -334,7 +334,7 @@ QueuedRequestDispatcher::FinalizeVmRegionRequest( // each client process provides 1 OS dump, % the case where the client is // disconnected mid dump. OSMemDumpMap& extra_os_dumps = response.second.os_dumps; @@ -54,7 +54,7 @@ for (auto& kv : extra_os_dumps) { auto pid = kv.first == base::kNullProcessId ? original_pid : kv.first; DCHECK(results.find(pid) == results.end()); -@@ -394,7 +394,7 @@ void QueuedRequestDispatcher::Finalize(QueuedRequest* +@@ -395,7 +395,7 @@ void QueuedRequestDispatcher::Finalize(QueuedRequest* // crash). In the latter case (OS_LINUX) we expect the full map to come // from the browser process response. OSMemDumpMap& extra_os_dumps = response.second.os_dumps; diff --git a/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h b/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h index a78c6c3a2000..261c87d2d3f3 100644 --- a/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h +++ b/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h @@ -1,6 +1,6 @@ ---- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h.orig 2025-05-07 06:48:23 UTC +--- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h.orig 2025-06-19 07:37:57 UTC +++ services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h -@@ -57,7 +57,7 @@ class COMPONENT_EXPORT( +@@ -65,7 +65,7 @@ class COMPONENT_EXPORT( static std::vector<mojom::VmRegionPtr> GetProcessMemoryMaps( base::ProcessHandle); @@ -9,7 +9,7 @@ static void SetProcSmapsForTesting(FILE*); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || // BUILDFLAG(IS_ANDROID) -@@ -79,7 +79,7 @@ class COMPONENT_EXPORT( +@@ -87,7 +87,7 @@ class COMPONENT_EXPORT( GetMemoryInfo(base::ProcessHandle handle); #endif // !BUILDFLAG(IS_APPLE) diff --git a/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc b/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc index cfcd3b80cbcc..b52d5815eec0 100644 --- a/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc +++ b/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc @@ -1,6 +1,6 @@ ---- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc.orig 2025-05-07 06:48:23 UTC +--- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc.orig 2025-06-19 07:37:57 UTC +++ services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc -@@ -0,0 +1,58 @@ +@@ -0,0 +1,59 @@ +// Copyright 2022 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. @@ -26,6 +26,7 @@ + +// static +bool OSMetrics::FillOSMemoryDump(base::ProcessId pid, ++ const MemDumpFlagSet& flags, + mojom::RawOSMemDump* dump) { + base::Process process = pid == base::kNullProcessId + ? base::Process::Current() diff --git a/www/iridium/files/patch-services_tracing_public_cpp_system__metrics__sampler.cc b/www/iridium/files/patch-services_tracing_public_cpp_system__metrics__sampler.cc index 9753652e9f20..119fd3390f0b 100644 --- a/www/iridium/files/patch-services_tracing_public_cpp_system__metrics__sampler.cc +++ b/www/iridium/files/patch-services_tracing_public_cpp_system__metrics__sampler.cc @@ -1,6 +1,6 @@ ---- services/tracing/public/cpp/system_metrics_sampler.cc.orig 2025-05-07 06:48:23 UTC +--- services/tracing/public/cpp/system_metrics_sampler.cc.orig 2025-06-19 07:37:57 UTC +++ services/tracing/public/cpp/system_metrics_sampler.cc -@@ -176,8 +176,8 @@ void SystemMetricsSampler::ProcessSampler::SampleProce +@@ -166,8 +166,8 @@ void SystemMetricsSampler::ProcessSampler::SampleProce TRACE_COUNTER(TRACE_DISABLED_BY_DEFAULT("system_metrics"), "PhysicalMemoryFootprint", memory_info->physical_footprint_bytes); diff --git a/www/iridium/files/patch-services_viz_public_mojom_BUILD.gn b/www/iridium/files/patch-services_viz_public_mojom_BUILD.gn index ac66473f3848..899c1b715fc4 100644 --- a/www/iridium/files/patch-services_viz_public_mojom_BUILD.gn +++ b/www/iridium/files/patch-services_viz_public_mojom_BUILD.gn @@ -1,6 +1,6 @@ ---- services/viz/public/mojom/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- services/viz/public/mojom/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ services/viz/public/mojom/BUILD.gn -@@ -56,7 +56,7 @@ mojom("mojom") { +@@ -57,7 +57,7 @@ mojom("mojom") { # Used in thread.mojom enabled_features = [] diff --git a/www/iridium/files/patch-third__party_angle_BUILD.gn b/www/iridium/files/patch-third__party_angle_BUILD.gn index 79e36589339f..cbae474ac58e 100644 --- a/www/iridium/files/patch-third__party_angle_BUILD.gn +++ b/www/iridium/files/patch-third__party_angle_BUILD.gn @@ -1,6 +1,6 @@ ---- third_party/angle/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- third_party/angle/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ third_party/angle/BUILD.gn -@@ -355,7 +355,6 @@ config("extra_warnings") { +@@ -360,7 +360,6 @@ config("extra_warnings") { "-Wtautological-type-limit-compare", "-Wundefined-reinterpret-cast", "-Wunneeded-internal-declaration", @@ -8,7 +8,7 @@ "-Wsuggest-destructor-override", "-Wsuggest-override", -@@ -532,7 +531,7 @@ template("angle_common_lib") { +@@ -537,7 +536,7 @@ template("angle_common_lib") { all_dependent_configs = [ ":angle_disable_pool_alloc" ] } @@ -17,7 +17,7 @@ libs = [ "dl" ] } -@@ -687,6 +686,9 @@ angle_static_library("angle_gpu_info_util") { +@@ -692,6 +691,9 @@ angle_static_library("angle_gpu_info_util") { "Xi", "Xext", ] diff --git a/www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp b/www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp index 7f960429c205..82382b10caa5 100644 --- a/www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp +++ b/www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp @@ -1,4 +1,4 @@ ---- third_party/angle/src/libANGLE/Display.cpp.orig 2025-05-07 06:48:23 UTC +--- third_party/angle/src/libANGLE/Display.cpp.orig 2025-06-19 07:37:57 UTC +++ third_party/angle/src/libANGLE/Display.cpp @@ -58,7 +58,7 @@ # include "libANGLE/renderer/gl/wgl/DisplayWGL.h" @@ -36,7 +36,7 @@ # if defined(ANGLE_USE_GBM) if (platformType == EGL_PLATFORM_GBM_KHR && rx::IsVulkanGbmDisplayAvailable()) { -@@ -2133,7 +2133,7 @@ static ClientExtensions GenerateClientExtensions() +@@ -2136,7 +2136,7 @@ static ClientExtensions GenerateClientExtensions() extensions.platformWaylandEXT = true; #endif @@ -45,7 +45,7 @@ extensions.platformSurfacelessMESA = true; #endif -@@ -2180,7 +2180,7 @@ static ClientExtensions GenerateClientExtensions() +@@ -2183,7 +2183,7 @@ static ClientExtensions GenerateClientExtensions() extensions.x11Visual = true; #endif diff --git a/www/iridium/files/patch-third__party_blink_renderer_build_scripts_gperf.py b/www/iridium/files/patch-third__party_blink_renderer_build_scripts_gperf.py deleted file mode 100644 index 6b1cbb0782c8..000000000000 --- a/www/iridium/files/patch-third__party_blink_renderer_build_scripts_gperf.py +++ /dev/null @@ -1,20 +0,0 @@ ---- third_party/blink/renderer/build/scripts/gperf.py.orig 2025-05-07 06:48:23 UTC -+++ third_party/blink/renderer/build/scripts/gperf.py -@@ -35,10 +35,13 @@ def generate_gperf(gperf_path, gperf_input, gperf_args - # https://savannah.gnu.org/bugs/index.php?53028 - gperf_output = re.sub(r'\bregister ', '', gperf_output) - # -Wimplicit-fallthrough needs an explicit fallthrough statement, -- # so replace gperf's /*FALLTHROUGH*/ comment with the statement. -- # https://savannah.gnu.org/bugs/index.php?53029 -- gperf_output = gperf_output.replace('/*FALLTHROUGH*/', -- ' [[fallthrough]];') -+ # so replace gperf 3.1's /*FALLTHROUGH*/ comment with the statement. -+ # https://savannah.gnu.org/bugs/index.php?53029 (fixed in 3.2) -+ if re.search( -+ r'/\* C\+\+ code produced by gperf version 3\.[01](\.\d+)? \*/', -+ gperf_output): -+ gperf_output = gperf_output.replace('/*FALLTHROUGH*/', -+ ' [[fallthrough]];') - # -Wpointer-to-int-cast warns about casting pointers to smaller ints - # Replace {(int)(long)&(foo), bar} with - # {static_cast<int>(reinterpret_cast<uintptr_t>(&(foo)), bar} diff --git a/www/iridium/files/patch-third__party_blink_renderer_controller_blink__initializer.cc b/www/iridium/files/patch-third__party_blink_renderer_controller_blink__initializer.cc index 5ac570805e4c..634e3f03d8f4 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_controller_blink__initializer.cc +++ b/www/iridium/files/patch-third__party_blink_renderer_controller_blink__initializer.cc @@ -1,4 +1,4 @@ ---- third_party/blink/renderer/controller/blink_initializer.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/controller/blink_initializer.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/controller/blink_initializer.cc @@ -82,12 +82,12 @@ #include "third_party/blink/renderer/controller/private_memory_footprint_provider.h" @@ -15,7 +15,7 @@ #include "third_party/blink/renderer/controller/highest_pmf_reporter.h" #include "third_party/blink/renderer/controller/user_level_memory_pressure_signal_generator.h" #endif -@@ -256,7 +256,7 @@ void BlinkInitializer::RegisterInterfaces(mojo::Binder +@@ -255,7 +255,7 @@ void BlinkInitializer::RegisterInterfaces(mojo::Binder main_thread_task_runner); #endif @@ -24,7 +24,7 @@ binders.Add<mojom::blink::MemoryUsageMonitorLinux>( ConvertToBaseRepeatingCallback( CrossThreadBindRepeating(&MemoryUsageMonitorPosix::Bind)), -@@ -304,7 +304,7 @@ void BlinkInitializer::RegisterMemoryWatchers(Platform +@@ -303,7 +303,7 @@ void BlinkInitializer::RegisterMemoryWatchers(Platform MemorySaverController::Initialize(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/iridium/files/patch-third__party_blink_renderer_controller_memory__usage__monitor__posix.cc b/www/iridium/files/patch-third__party_blink_renderer_controller_memory__usage__monitor__posix.cc index 9c3fc1cf7bec..de9619525f48 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_controller_memory__usage__monitor__posix.cc +++ b/www/iridium/files/patch-third__party_blink_renderer_controller_memory__usage__monitor__posix.cc @@ -1,6 +1,6 @@ ---- third_party/blink/renderer/controller/memory_usage_monitor_posix.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/controller/memory_usage_monitor_posix.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/controller/memory_usage_monitor_posix.cc -@@ -133,15 +133,17 @@ void MemoryUsageMonitorPosix::ResetFileDescriptors() { +@@ -132,15 +132,17 @@ void MemoryUsageMonitorPosix::ResetFileDescriptors() { void MemoryUsageMonitorPosix::SetProcFiles(base::File statm_file, base::File status_file) { diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc index a2b10d8350df..800ef3482b3b 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc +++ b/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc @@ -1,6 +1,6 @@ ---- third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc -@@ -304,7 +304,7 @@ TEST_F(WebRtcAudioRendererTest, DISABLED_VerifySinkPar +@@ -383,7 +383,7 @@ TEST_F(WebRtcAudioRendererTest, DISABLED_VerifySinkPar SetupRenderer(kDefaultOutputDeviceId); renderer_proxy_->Start(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \ diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc index dd79661ee3dd..7e879bc9edc2 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc +++ b/www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc @@ -1,8 +1,8 @@ ---- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc -@@ -6338,7 +6338,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid - constexpr bool kAllowZeroCopyImages = true; - #endif +@@ -6334,7 +6334,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid + // unmultiply has been requested or we need to never premultiply for Image + // creation from a VideoFrame. -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc index 992fca53677a..e970d9e7bb89 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc +++ b/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc @@ -1,6 +1,6 @@ ---- third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc -@@ -207,7 +207,7 @@ bool GPUCanvasContext::PaintRenderingResultsToCanvas( +@@ -218,7 +218,7 @@ bool GPUCanvasContext::PaintRenderingResultsToCanvas( scoped_refptr<WebGPUMailboxTexture> front_buffer_texture; if (source_buffer == kFrontBuffer) { diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc index bc38ba320110..46cd1a07e8a2 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc +++ b/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc @@ -1,6 +1,6 @@ ---- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/modules/webgpu/gpu_queue.cc -@@ -812,7 +812,7 @@ bool GPUQueue::CopyFromCanvasSourceImage( +@@ -814,7 +814,7 @@ bool GPUQueue::CopyFromCanvasSourceImage( // on linux platform. // TODO(crbug.com/1424119): using a webgpu mailbox texture on the OpenGLES // backend is failing for unknown reasons. diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn b/www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn index 2830285e1fcb..7a341fd79aec 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn +++ b/www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn @@ -1,6 +1,6 @@ ---- third_party/blink/renderer/platform/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/platform/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/platform/BUILD.gn -@@ -2046,7 +2046,7 @@ static_library("test_support") { +@@ -2060,7 +2060,7 @@ static_library("test_support") { ] # fuzzed_data_provider may not work with a custom toolchain. diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc index f49cc1c13e7e..fe89bf058aec 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc +++ b/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_begin__frame__provider.cc @@ -1,6 +1,6 @@ ---- third_party/blink/renderer/platform/graphics/begin_frame_provider.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/platform/graphics/begin_frame_provider.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/platform/graphics/begin_frame_provider.cc -@@ -71,8 +71,12 @@ void BeginFrameProvider::CreateCompositorFrameSinkIfNe +@@ -70,8 +70,12 @@ void BeginFrameProvider::CreateCompositorFrameSinkIfNe // Once we are using RAF, this thread is driving user interactive display // updates. Update priority accordingly. diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc index afd81c112b98..9a2567fcaccd 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc +++ b/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc @@ -1,6 +1,6 @@ ---- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/platform/graphics/video_frame_submitter.cc -@@ -421,7 +421,7 @@ void VideoFrameSubmitter::OnBeginFrame( +@@ -407,7 +407,7 @@ void VideoFrameSubmitter::OnBeginFrame( auto& details = timing_details.find(frame_token)->value; auto& feedback = details.presentation_feedback; diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 b/www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 index 08dd9c45781c..34f64b8ea0e5 100644 --- a/www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 +++ b/www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 @@ -1,6 +1,6 @@ ---- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-05-15 16:06:59 UTC +--- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-06-19 07:37:57 UTC +++ third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -434,7 +434,7 @@ +@@ -484,7 +484,7 @@ name: "AppTitle", status: "experimental", origin_trial_feature_name: "AppTitle", @@ -9,7 +9,7 @@ base_feature: "WebAppEnableAppTitle", }, { -@@ -1698,7 +1698,7 @@ +@@ -1777,7 +1777,7 @@ name: "DocumentIsolationPolicy", status: "experimental", origin_trial_feature_name: "DocumentIsolationPolicy", @@ -18,7 +18,7 @@ base_feature: "none", }, { -@@ -1943,7 +1943,7 @@ +@@ -2017,7 +2017,7 @@ base_feature: "none", public: true, origin_trial_feature_name: "FedCmMultipleIdentityProviders", @@ -27,7 +27,7 @@ origin_trial_allows_third_party: true, }, { -@@ -3331,7 +3331,7 @@ +@@ -3434,7 +3434,7 @@ // Tracking bug for the implementation: https://crbug.com/1462930 name: "PermissionElement", origin_trial_feature_name: "PermissionElement", @@ -36,7 +36,7 @@ status: "experimental", public: true, base_feature_status: "enabled", -@@ -3475,7 +3475,7 @@ +@@ -3592,7 +3592,7 @@ { name: "PrivateNetworkAccessPermissionPrompt", origin_trial_feature_name: "PrivateNetworkAccessPermissionPrompt", @@ -45,7 +45,7 @@ status: "stable", public: true, base_feature: "none", -@@ -4635,7 +4635,7 @@ +@@ -4811,7 +4811,7 @@ name: "UnrestrictedSharedArrayBuffer", base_feature: "none", origin_trial_feature_name: "UnrestrictedSharedArrayBuffer", @@ -54,7 +54,7 @@ }, // Enables using policy-controlled feature "usb-unrestricted" to allow // isolated context to access protected USB interface classes and to -@@ -4810,7 +4810,7 @@ +@@ -4997,7 +4997,7 @@ { name: "WebAppScopeExtensions", origin_trial_feature_name: "WebAppScopeExtensions", @@ -63,7 +63,7 @@ status: "experimental", base_feature: "none", }, -@@ -5085,7 +5085,7 @@ +@@ -5265,7 +5265,7 @@ { name: "WebIdentityDigitalCredentials", origin_trial_feature_name: "WebIdentityDigitalCredentials", diff --git a/www/iridium/files/patch-third__party_crashpad_crashpad_build_crashpad__buildconfig.gni b/www/iridium/files/patch-third__party_crashpad_crashpad_build_crashpad__buildconfig.gni index 0a7c9054430d..8141ea90c57b 100644 --- a/www/iridium/files/patch-third__party_crashpad_crashpad_build_crashpad__buildconfig.gni +++ b/www/iridium/files/patch-third__party_crashpad_crashpad_build_crashpad__buildconfig.gni @@ -1,7 +1,7 @@ ---- third_party/crashpad/crashpad/build/crashpad_buildconfig.gni.orig 2025-05-07 06:48:23 UTC +--- third_party/crashpad/crashpad/build/crashpad_buildconfig.gni.orig 2025-06-19 07:37:57 UTC +++ third_party/crashpad/crashpad/build/crashpad_buildconfig.gni -@@ -61,7 +61,7 @@ if (crashpad_is_in_chromium) { - crashpad_is_ios = is_ios +@@ -67,7 +67,7 @@ if (crashpad_is_in_chromium) { + crashpad_is_tvos = is_ios && target_platform == "tvos" crashpad_is_apple = is_apple crashpad_is_win = is_win - crashpad_is_linux = is_linux || is_chromeos diff --git a/www/iridium/files/patch-third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp b/www/iridium/files/patch-third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp index c222f9bc848b..8a152b08525e 100644 --- a/www/iridium/files/patch-third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp +++ b/www/iridium/files/patch-third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp @@ -1,6 +1,6 @@ ---- third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp.orig 2025-05-07 06:48:23 UTC +--- third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp.orig 2025-06-19 07:37:57 UTC +++ third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp -@@ -57,7 +57,7 @@ constexpr char kSwiftshaderLibName[] = "libvk_swiftsha +@@ -56,7 +56,7 @@ constexpr char kSwiftshaderLibName[] = "libvk_swiftsha #endif #if DAWN_PLATFORM_IS(LINUX) diff --git a/www/iridium/files/patch-third__party_ffmpeg_BUILD.gn b/www/iridium/files/patch-third__party_ffmpeg_BUILD.gn index c263f6906845..1aadc64c6f61 100644 --- a/www/iridium/files/patch-third__party_ffmpeg_BUILD.gn +++ b/www/iridium/files/patch-third__party_ffmpeg_BUILD.gn @@ -1,6 +1,6 @@ ---- third_party/ffmpeg/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- third_party/ffmpeg/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ third_party/ffmpeg/BUILD.gn -@@ -350,7 +350,6 @@ target(link_target_type, "ffmpeg_internal") { +@@ -355,7 +355,6 @@ target(link_target_type, "ffmpeg_internal") { libs += [ "m", "z", diff --git a/www/iridium/files/patch-third__party_ffmpeg_configure b/www/iridium/files/patch-third__party_ffmpeg_configure index 985d760a20cb..b8bf69c9a362 100644 --- a/www/iridium/files/patch-third__party_ffmpeg_configure +++ b/www/iridium/files/patch-third__party_ffmpeg_configure @@ -1,6 +1,6 @@ ---- third_party/ffmpeg/configure.orig 2025-05-07 06:48:23 UTC +--- third_party/ffmpeg/configure.orig 2025-06-19 07:37:57 UTC +++ third_party/ffmpeg/configure -@@ -6855,8 +6855,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en +@@ -6873,8 +6873,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en if enabled pthread_np_h; then hdrs="$hdrs pthread_np.h" fi diff --git a/www/iridium/files/patch-third__party_nasm_config_config-linux.h b/www/iridium/files/patch-third__party_nasm_config_config-linux.h index a6966c45638c..21613bf5edc3 100644 --- a/www/iridium/files/patch-third__party_nasm_config_config-linux.h +++ b/www/iridium/files/patch-third__party_nasm_config_config-linux.h @@ -1,27 +1,18 @@ ---- third_party/nasm/config/config-linux.h.orig 2025-05-07 06:48:23 UTC +--- third_party/nasm/config/config-linux.h.orig 2025-06-19 07:37:57 UTC +++ third_party/nasm/config/config-linux.h -@@ -160,7 +160,7 @@ - - /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you - don't. */ --#define HAVE_DECL_STRLCPY 0 -+#define HAVE_DECL_STRLCPY 1 - - /* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you - don't. */ -@@ -183,7 +183,7 @@ +@@ -209,7 +209,7 @@ #define HAVE_DECL_STRSEP 1 /* Define to 1 if you have the <endian.h> header file. */ -#define HAVE_ENDIAN_H 1 +/* #undef HAVE_ENDIAN_H */ - /* Define to 1 if you have the `faccessat' function. */ + /* Define to 1 if you have the 'faccessat' function. */ #define HAVE_FACCESSAT 1 -@@ -327,16 +327,16 @@ +@@ -351,13 +351,13 @@ #define HAVE_ISASCII 1 - /* Define to 1 if you have the `iscntrl' function. */ + /* Define to 1 if you have the 'iscntrl' function. */ -/* #undef HAVE_ISCNTRL */ +#define HAVE_ISCNTRL 1 @@ -29,16 +20,13 @@ -/* #undef HAVE_MACHINE_ENDIAN_H */ +#define HAVE_MACHINE_ENDIAN_H 1 - /* Define to 1 if you have the <memory.h> header file. */ - #define HAVE_MEMORY_H 1 - - /* Define to 1 if you have the `mempcpy' function. */ + /* Define to 1 if you have the 'mempcpy' function. */ -#define HAVE_MEMPCPY 1 +/* #undef HAVE_MEMPCPY */ - /* Define to 1 if you have a working `mmap' system call. */ - #define HAVE_MMAP 1 -@@ -357,7 +357,7 @@ + /* Define to 1 if you have the 'mempset' function. */ + /* #undef HAVE_MEMPSET */ +@@ -384,7 +384,7 @@ #define HAVE_STDARG_H 1 /* Define to 1 if stdbool.h conforms to C99. */ @@ -47,16 +35,16 @@ /* Define to 1 if your compiler supports C99 extern inline */ #define HAVE_STDC_INLINE 1 -@@ -384,7 +384,7 @@ +@@ -414,7 +414,7 @@ #define HAVE_STRING_H 1 - /* Define to 1 if you have the `strlcpy' function. */ --/* #undef HAVE_STRLCPY */ + /* Define to 1 if you have the 'strlcpy' function. */ +-/* #undef HAVE_STRLCPY */ // Shouldn\'t work with -std=c11, but configure still detects it. +#define HAVE_STRLCPY 1 - /* Define to 1 if you have the `strncasecmp' function. */ + /* Define to 1 if you have the 'strncasecmp' function. */ #define HAVE_STRNCASECMP 1 -@@ -411,7 +411,7 @@ +@@ -441,7 +441,7 @@ #define HAVE_SYSCONF 1 /* Define to 1 if you have the <sys/endian.h> header file. */ @@ -65,7 +53,7 @@ /* Define to 1 if you have the <sys/mman.h> header file. */ #define HAVE_SYS_MMAN_H 1 -@@ -486,13 +486,13 @@ +@@ -522,13 +522,13 @@ /* #undef HAVE__STATI64 */ /* Define to 1 if you have the `__bswap_16' intrinsic function. */ @@ -82,21 +70,3 @@ /* Define to 1 if you have the `__builtin_bswap16' intrinsic function. */ #define HAVE___BUILTIN_BSWAP16 1 -@@ -620,7 +620,7 @@ - /* Define to the equivalent of the C99 'restrict' keyword, or to - nothing if this is not supported. Do not define if restrict is - supported directly. */ --#define restrict __restrict -+#define restrict __restrict__ - /* Work around a bug in Sun C++: it does not support _Restrict or - __restrict__, even though the corresponding Sun C compiler ends up with - "#define restrict _Restrict" or "#define restrict __restrict__" in the -@@ -637,7 +637,7 @@ - /* Define if your snprintf function is not named snprintf. */ - /* #undef snprintf */ - --/* Define if your typeof operator is not named typeof. */ -+/* Define if your typeof operator is not named `typeof'. */ - #define typeof __typeof - - /* Define to the type of an unsigned integer type wide enough to hold a diff --git a/www/iridium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp b/www/iridium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp new file mode 100644 index 000000000000..d8a9247d548c --- /dev/null +++ b/www/iridium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp @@ -0,0 +1,13 @@ +--- third_party/pdfium/core/fxcodec/png/png_decoder.cpp.orig 2025-06-19 07:37:57 UTC ++++ third_party/pdfium/core/fxcodec/png/png_decoder.cpp +@@ -52,8 +52,8 @@ void _png_load_bmp_attribute(png_structp png_ptr, + CFX_DIBAttribute* pAttribute) { + if (pAttribute) { + #if defined(PNG_pHYs_SUPPORTED) +- pAttribute->xdpi_ = png_get_x_pixels_per_meter(png_ptr, info_ptr); +- pAttribute->ydpi_ = png_get_y_pixels_per_meter(png_ptr, info_ptr); ++ pAttribute->x_dpi_ = png_get_x_pixels_per_meter(png_ptr, info_ptr); ++ pAttribute->y_dpi_ = png_get_y_pixels_per_meter(png_ptr, info_ptr); + png_uint_32 res_x, res_y; + int unit_type; + png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type); diff --git a/www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp b/www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp index 05113567305d..001426b797ce 100644 --- a/www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp +++ b/www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp @@ -1,4 +1,4 @@ ---- third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp.orig 2025-05-07 06:48:23 UTC +--- third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp.orig 2025-06-19 07:37:57 UTC +++ third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp @@ -20,7 +20,7 @@ #include "core/fxge/fx_font.h" @@ -9,7 +9,7 @@ #error "Included on the wrong platform" #endif -@@ -173,9 +173,8 @@ class CLinuxPlatform : public CFX_GEModule::PlatformIf +@@ -180,9 +180,8 @@ class CLinuxPlatform : public CFX_GEModule::PlatformIf std::unique_ptr<SystemFontInfoIface> CreateDefaultSystemFontInfo() override { auto pInfo = std::make_unique<CFX_LinuxFontInfo>(); if (!pInfo->ParseFontCfg(CFX_GEModule::Get()->GetUserFontPaths())) { diff --git a/www/iridium/files/patch-third__party_pdfium_fxjs_fx__date__helpers.cpp b/www/iridium/files/patch-third__party_pdfium_fxjs_fx__date__helpers.cpp index 0c0845c1309a..6378017d1e6a 100644 --- a/www/iridium/files/patch-third__party_pdfium_fxjs_fx__date__helpers.cpp +++ b/www/iridium/files/patch-third__party_pdfium_fxjs_fx__date__helpers.cpp @@ -1,7 +1,7 @@ ---- third_party/pdfium/fxjs/fx_date_helpers.cpp.orig 2025-05-07 06:48:23 UTC +--- third_party/pdfium/fxjs/fx_date_helpers.cpp.orig 2025-06-19 07:37:57 UTC +++ third_party/pdfium/fxjs/fx_date_helpers.cpp -@@ -39,6 +39,11 @@ double GetLocalTZA() { - return 0; +@@ -41,6 +41,11 @@ double GetLocalTZA() { + } time_t t = 0; FXSYS_time(&t); +#ifdef __FreeBSD__ @@ -12,7 +12,7 @@ FXSYS_localtime(&t); #if BUILDFLAG(IS_WIN) // In gcc 'timezone' is a global variable declared in time.h. In VC++, that -@@ -47,6 +52,7 @@ double GetLocalTZA() { +@@ -49,6 +54,7 @@ double GetLocalTZA() { _get_timezone(&timezone); #endif return (double)(-(timezone * 1000)); diff --git a/www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc b/www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc index 770c779cc3e8..1fef84f49aef 100644 --- a/www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc +++ b/www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc @@ -1,9 +1,9 @@ ---- third_party/perfetto/src/base/string_utils.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/perfetto/src/base/string_utils.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/perfetto/src/base/string_utils.cc @@ -39,7 +39,8 @@ namespace base { // Locale-independant as possible version of strtod. double StrToD(const char* nptr, char** endptr) { - #if PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ + #if PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ + (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ diff --git a/www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc b/www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc index 59baafcd57d4..e553a2ea6470 100644 --- a/www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc +++ b/www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc @@ -1,6 +1,6 @@ ---- third_party/perfetto/src/base/test/vm_test_utils.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/perfetto/src/base/test/vm_test_utils.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/perfetto/src/base/test/vm_test_utils.cc -@@ -91,7 +91,7 @@ bool IsMapped(void* start, size_t size) { +@@ -93,7 +93,7 @@ bool IsMapped(void* start, size_t size) { // Fuchsia doesn't yet support paging (b/119503290). ignore_result(page_size); return true; diff --git a/www/iridium/files/patch-third__party_perfetto_src_base_unix__socket.cc b/www/iridium/files/patch-third__party_perfetto_src_base_unix__socket.cc index 69f7e946de53..3b65ce5bcb0f 100644 --- a/www/iridium/files/patch-third__party_perfetto_src_base_unix__socket.cc +++ b/www/iridium/files/patch-third__party_perfetto_src_base_unix__socket.cc @@ -1,4 +1,4 @@ ---- third_party/perfetto/src/base/unix_socket.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/perfetto/src/base/unix_socket.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/perfetto/src/base/unix_socket.cc @@ -45,7 +45,7 @@ #include <unistd.h> @@ -9,7 +9,7 @@ #include <sys/ucred.h> #endif -@@ -977,9 +977,13 @@ void UnixSocket::ReadPeerCredentialsPosix() { +@@ -1031,9 +1031,13 @@ void UnixSocket::ReadPeerCredentialsPosix() { int res = getpeereid(fd, &peer_uid_, nullptr); PERFETTO_CHECK(res == 0); // There is no pid when obtaining peer credentials for QNX diff --git a/www/iridium/files/patch-third__party_perfetto_src_tracing_ipc_memfd.cc b/www/iridium/files/patch-third__party_perfetto_src_tracing_ipc_memfd.cc index daa277cc8056..3eb9341a9890 100644 --- a/www/iridium/files/patch-third__party_perfetto_src_tracing_ipc_memfd.cc +++ b/www/iridium/files/patch-third__party_perfetto_src_tracing_ipc_memfd.cc @@ -1,10 +1,10 @@ ---- third_party/perfetto/src/tracing/ipc/memfd.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/perfetto/src/tracing/ipc/memfd.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/perfetto/src/tracing/ipc/memfd.cc @@ -20,7 +20,8 @@ #define PERFETTO_MEMFD_ENABLED() \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ -- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) +- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) + (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) diff --git a/www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h b/www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h index 9e2f340492e5..9dc9933859a7 100644 --- a/www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h +++ b/www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h @@ -1,4 +1,4 @@ ---- third_party/speech-dispatcher/libspeechd_version.h.orig 2025-05-07 06:48:23 UTC +--- third_party/speech-dispatcher/libspeechd_version.h.orig 2025-06-19 07:37:57 UTC +++ third_party/speech-dispatcher/libspeechd_version.h @@ -0,0 +1,29 @@ +/* @@ -19,7 +19,7 @@ + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + * -+ * $Id: patch-third_party_speech-dispatcher_libspeechd_version_h,v 1.11 2025/05/06 18:54:42 robert Exp $ ++ * $Id: patch-third_party_speech-dispatcher_libspeechd_version_h,v 1.12 2025/06/10 11:54:02 robert Exp $ + */ + +#ifndef _LIBSPEECHD_VERSION_H diff --git a/www/iridium/files/patch-third__party_tflite_features.gni b/www/iridium/files/patch-third__party_tflite_features.gni index 6eb2ac9d599f..6f34786d4a5c 100644 --- a/www/iridium/files/patch-third__party_tflite_features.gni +++ b/www/iridium/files/patch-third__party_tflite_features.gni @@ -1,13 +1,11 @@ ---- third_party/tflite/features.gni.orig 2025-05-07 06:48:23 UTC +--- third_party/tflite/features.gni.orig 2025-06-19 07:37:57 UTC +++ third_party/tflite/features.gni -@@ -9,8 +9,8 @@ declare_args() { - # This enables building TFLite with XNNPACK. Currently only available for - # Linux, macOS and Windows arm64/x64/x86 targets and ChromeOS non-ARM targets. - build_tflite_with_xnnpack = -- (is_win || is_mac || is_linux || (is_chromeos && overlay_include_cbx)) && -- (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86") -+ ((is_win || is_mac || is_linux || (is_chromeos && overlay_include_cbx)) && -+ (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86")) && !is_bsd +@@ -8,7 +8,7 @@ import("//services/on_device_model/on_device_model.gni + + declare_args() { + # This enables building TFLite with XNNPACK. +- build_tflite_with_xnnpack = current_cpu != "arm" && !is_fuchsia ++ build_tflite_with_xnnpack = current_cpu != "arm" && !is_fuchsia && !is_bsd # Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp. build_tflite_with_ruy = true diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc new file mode 100644 index 000000000000..447b7ed2af8f --- /dev/null +++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc @@ -0,0 +1,10 @@ +--- third_party/webrtc/rtc_base/net_helpers.cc.orig 2025-06-19 07:37:57 UTC ++++ third_party/webrtc/rtc_base/net_helpers.cc +@@ -21,6 +21,7 @@ + #endif + #if defined(WEBRTC_POSIX) && !defined(__native_client__) + #include <arpa/inet.h> ++#include <sys/socket.h> + #endif // defined(WEBRTC_POSIX) && !defined(__native_client__) + + namespace webrtc { diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_net__test__helpers.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_net__test__helpers.cc deleted file mode 100644 index 1fd3bcc4e4fb..000000000000 --- a/www/iridium/files/patch-third__party_webrtc_rtc__base_net__test__helpers.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- third_party/webrtc/rtc_base/net_test_helpers.cc.orig 2025-05-07 06:48:23 UTC -+++ third_party/webrtc/rtc_base/net_test_helpers.cc -@@ -21,6 +21,7 @@ - #endif - #if defined(WEBRTC_POSIX) && !defined(__native_client__) - #include <arpa/inet.h> -+#include <sys/socket.h> - #if defined(WEBRTC_ANDROID) - #include "rtc_base/ifaddrs_android.h" - #else diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc index a31a1c4c4f96..b625a2535c02 100644 --- a/www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc +++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc @@ -1,6 +1,6 @@ ---- third_party/webrtc/rtc_base/network.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/webrtc/rtc_base/network.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/webrtc/rtc_base/network.cc -@@ -314,7 +314,12 @@ webrtc::AdapterType GetAdapterTypeFromName(absl::strin +@@ -316,7 +316,12 @@ AdapterType GetAdapterTypeFromName(absl::string_view n } #endif diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc index 804914e3e3f2..8078c4e7f344 100644 --- a/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc +++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc @@ -1,15 +1,15 @@ ---- third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/webrtc/rtc_base/physical_socket_server.cc -@@ -55,7 +55,7 @@ +@@ -65,7 +65,7 @@ + #include "rtc_base/synchronization/mutex.h" #include "rtc_base/time_utils.h" - #include "system_wrappers/include/field_trial.h" -#if defined(WEBRTC_LINUX) +#if defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD) #include <linux/sockios.h> #endif -@@ -75,7 +75,7 @@ typedef void* SockOptArg; +@@ -85,7 +85,7 @@ typedef void* SockOptArg; #endif // WEBRTC_POSIX @@ -18,7 +18,7 @@ int64_t GetSocketRecvTimestamp(int socket) { struct timeval tv_ioctl; -@@ -331,7 +331,7 @@ int PhysicalSocket::GetOption(Option opt, int* value) +@@ -341,7 +341,7 @@ int PhysicalSocket::GetOption(Option opt, int* value) return -1; } if (opt == OPT_DONTFRAGMENT) { @@ -27,7 +27,7 @@ *value = (*value != IP_PMTUDISC_DONT) ? 1 : 0; #endif } else if (opt == OPT_DSCP) { -@@ -360,7 +360,7 @@ int PhysicalSocket::SetOption(Option opt, int value) { +@@ -370,7 +370,7 @@ int PhysicalSocket::SetOption(Option opt, int value) { if (TranslateOption(opt, &slevel, &sopt) == -1) return -1; if (opt == OPT_DONTFRAGMENT) { @@ -36,7 +36,7 @@ value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT; #endif } else if (opt == OPT_DSCP) { -@@ -391,7 +391,7 @@ int PhysicalSocket::SetOption(Option opt, int value) { +@@ -401,7 +401,7 @@ int PhysicalSocket::SetOption(Option opt, int value) { int PhysicalSocket::Send(const void* pv, size_t cb) { int sent = DoSend( s_, reinterpret_cast<const char*>(pv), static_cast<int>(cb), @@ -45,7 +45,7 @@ // Suppress SIGPIPE. Without this, attempting to send on a socket whose // other end is closed will result in a SIGPIPE signal being raised to // our process, which by default will terminate the process, which we -@@ -420,7 +420,7 @@ int PhysicalSocket::SendTo(const void* buffer, +@@ -430,7 +430,7 @@ int PhysicalSocket::SendTo(const void* buffer, size_t len = addr.ToSockAddrStorage(&saddr); int sent = DoSendTo(s_, static_cast<const char*>(buffer), static_cast<int>(length), @@ -54,7 +54,7 @@ // Suppress SIGPIPE. See above for explanation. MSG_NOSIGNAL, #else -@@ -698,7 +698,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s +@@ -708,7 +708,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s *slevel = IPPROTO_IP; *sopt = IP_DONTFRAGMENT; break; @@ -63,7 +63,7 @@ RTC_LOG(LS_WARNING) << "Socket::OPT_DONTFRAGMENT not supported."; return -1; #elif defined(WEBRTC_POSIX) -@@ -747,7 +747,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s +@@ -757,7 +757,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s return -1; #endif case OPT_RECV_ECN: @@ -72,7 +72,7 @@ if (family_ == AF_INET6) { *slevel = IPPROTO_IPV6; *sopt = IPV6_RECVTCLASS; -@@ -767,10 +767,19 @@ int PhysicalSocket::TranslateOption(Option opt, int* s +@@ -777,10 +777,19 @@ int PhysicalSocket::TranslateOption(Option opt, int* s *sopt = SO_KEEPALIVE; break; case OPT_TCP_KEEPCNT: @@ -92,7 +92,7 @@ *slevel = IPPROTO_TCP; #if !defined(WEBRTC_MAC) *sopt = TCP_KEEPIDLE; -@@ -778,12 +787,18 @@ int PhysicalSocket::TranslateOption(Option opt, int* s +@@ -788,12 +797,18 @@ int PhysicalSocket::TranslateOption(Option opt, int* s *sopt = TCP_KEEPALIVE; #endif break; diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h b/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h index e17b44da452f..dd8c47fe639d 100644 --- a/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h +++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h @@ -1,6 +1,6 @@ ---- third_party/webrtc/rtc_base/physical_socket_server.h.orig 2025-05-07 06:48:23 UTC +--- third_party/webrtc/rtc_base/physical_socket_server.h.orig 2025-06-19 07:37:57 UTC +++ third_party/webrtc/rtc_base/physical_socket_server.h -@@ -18,7 +18,7 @@ +@@ -21,7 +21,7 @@ #include "rtc_base/third_party/sigslot/sigslot.h" #if defined(WEBRTC_POSIX) diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc index ee0b59ab52d6..3c35b9320087 100644 --- a/www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc +++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc @@ -1,8 +1,8 @@ ---- third_party/webrtc/rtc_base/platform_thread_types.cc.orig 2025-05-07 06:48:23 UTC +--- third_party/webrtc/rtc_base/platform_thread_types.cc.orig 2025-06-19 07:37:57 UTC +++ third_party/webrtc/rtc_base/platform_thread_types.cc -@@ -11,7 +11,9 @@ - #include "rtc_base/platform_thread_types.h" +@@ -12,7 +12,9 @@ + // IWYU pragma: begin_keep #if defined(WEBRTC_LINUX) +#if !defined(WEBRTC_BSD) #include <sys/prctl.h> @@ -10,7 +10,7 @@ #include <sys/syscall.h> #endif -@@ -44,6 +46,8 @@ PlatformThreadId CurrentThreadId() { +@@ -46,6 +48,8 @@ PlatformThreadId CurrentThreadId() { return gettid(); #elif defined(WEBRTC_FUCHSIA) return zx_thread_self(); @@ -19,7 +19,7 @@ #elif defined(WEBRTC_LINUX) return syscall(__NR_gettid); #elif defined(__EMSCRIPTEN__) -@@ -74,6 +78,7 @@ bool IsThreadRefEqual(const PlatformThreadRef& a, cons +@@ -76,6 +80,7 @@ bool IsThreadRefEqual(const PlatformThreadRef& a, cons } void SetCurrentThreadName(const char* name) { @@ -27,7 +27,7 @@ #if defined(WEBRTC_WIN) // The SetThreadDescription API works even if no debugger is attached. // The names set with this API also show up in ETW traces. Very handy. -@@ -120,6 +125,7 @@ void SetCurrentThreadName(const char* name) { +@@ -122,6 +127,7 @@ void SetCurrentThreadName(const char* name) { zx_status_t status = zx_object_set_property(zx_thread_self(), ZX_PROP_NAME, name, strlen(name)); RTC_DCHECK_EQ(status, ZX_OK); diff --git a/www/iridium/files/patch-tools_gn_build_gen.py b/www/iridium/files/patch-tools_gn_build_gen.py index 84ce4a92d723..fb7e19d24d89 100644 --- a/www/iridium/files/patch-tools_gn_build_gen.py +++ b/www/iridium/files/patch-tools_gn_build_gen.py @@ -1,4 +1,4 @@ ---- tools/gn/build/gen.py.orig 2025-05-07 06:48:23 UTC +--- tools/gn/build/gen.py.orig 2025-06-19 07:37:57 UTC +++ tools/gn/build/gen.py @@ -94,6 +94,12 @@ class Platform(object): def is_solaris(self): @@ -13,7 +13,7 @@ def is_posix(self): return self._platform in ['linux', 'freebsd', 'darwin', 'aix', 'openbsd', 'haiku', 'solaris', 'msys', 'netbsd', 'serenity'] -@@ -304,7 +310,7 @@ def WriteGenericNinja(path, static_libraries, executab +@@ -308,7 +314,7 @@ def WriteGenericNinja(path, static_libraries, executab 'linux': 'build_linux.ninja.template', 'freebsd': 'build_linux.ninja.template', 'aix': 'build_aix.ninja.template', @@ -22,7 +22,7 @@ 'haiku': 'build_haiku.ninja.template', 'solaris': 'build_linux.ninja.template', 'netbsd': 'build_linux.ninja.template', -@@ -542,6 +548,9 @@ def WriteGNNinja(path, platform, host, options, args_l +@@ -551,6 +557,9 @@ def WriteGNNinja(path, platform, host, options, args_l if platform.is_posix() and not platform.is_haiku(): ldflags.append('-pthread') diff --git a/www/iridium/files/patch-tools_grit_grit_node_base.py b/www/iridium/files/patch-tools_grit_grit_node_base.py index 8a25f3a4b8fa..1a3b7bf105c6 100644 --- a/www/iridium/files/patch-tools_grit_grit_node_base.py +++ b/www/iridium/files/patch-tools_grit_grit_node_base.py @@ -1,6 +1,6 @@ ---- tools/grit/grit/node/base.py.orig 2025-05-07 06:48:23 UTC +--- tools/grit/grit/node/base.py.orig 2025-06-19 07:37:57 UTC +++ tools/grit/grit/node/base.py -@@ -496,7 +496,8 @@ class Node: +@@ -497,7 +497,8 @@ class Node: value = defs elif name == 'is_linux': diff --git a/www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py b/www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py index 2ecbab30fa8e..bffab3d34405 100644 --- a/www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py +++ b/www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py @@ -1,6 +1,6 @@ ---- tools/protoc_wrapper/protoc_wrapper.py.orig 2025-05-07 06:48:23 UTC +--- tools/protoc_wrapper/protoc_wrapper.py.orig 2025-06-19 07:37:57 UTC +++ tools/protoc_wrapper/protoc_wrapper.py -@@ -183,15 +183,19 @@ def main(argv): +@@ -188,15 +188,19 @@ def main(argv): if not options.exclude_imports: protoc_cmd += ["--include_imports"] diff --git a/www/iridium/files/patch-ui_accessibility_accessibility__features.cc b/www/iridium/files/patch-ui_accessibility_accessibility__features.cc index 8502b5991b1a..3b8ccb6c3316 100644 --- a/www/iridium/files/patch-ui_accessibility_accessibility__features.cc +++ b/www/iridium/files/patch-ui_accessibility_accessibility__features.cc @@ -1,6 +1,6 @@ ---- ui/accessibility/accessibility_features.cc.orig 2025-05-07 06:48:23 UTC +--- ui/accessibility/accessibility_features.cc.orig 2025-06-19 07:37:57 UTC +++ ui/accessibility/accessibility_features.cc -@@ -472,7 +472,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled +@@ -473,7 +473,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled } #endif // BUILDFLAG(IS_MAC) @@ -8,4 +8,4 @@ +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kWasmTtsComponentUpdaterEnabled, "WasmTtsComponentUpdaterEnabled", - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/iridium/files/patch-ui_accessibility_accessibility__features.h b/www/iridium/files/patch-ui_accessibility_accessibility__features.h index 2bf2d7772049..76fe1d8fd365 100644 --- a/www/iridium/files/patch-ui_accessibility_accessibility__features.h +++ b/www/iridium/files/patch-ui_accessibility_accessibility__features.h @@ -1,6 +1,6 @@ ---- ui/accessibility/accessibility_features.h.orig 2025-05-07 06:48:23 UTC +--- ui/accessibility/accessibility_features.h.orig 2025-06-19 07:37:57 UTC +++ ui/accessibility/accessibility_features.h -@@ -324,7 +324,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kBlockRootWindowAc +@@ -322,7 +322,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kBlockRootWindowAc AX_BASE_EXPORT bool IsBlockRootWindowAccessibleNameChangeEventEnabled(); #endif // BUILDFLAG(IS_MAC) diff --git a/www/iridium/files/patch-ui_accessibility_ax__tree.cc b/www/iridium/files/patch-ui_accessibility_ax__tree.cc index 100dd0b24323..9f7e1b1e3081 100644 --- a/www/iridium/files/patch-ui_accessibility_ax__tree.cc +++ b/www/iridium/files/patch-ui_accessibility_ax__tree.cc @@ -1,4 +1,4 @@ ---- ui/accessibility/ax_tree.cc.orig 2025-05-07 06:48:23 UTC +--- ui/accessibility/ax_tree.cc.orig 2025-06-19 07:37:57 UTC +++ ui/accessibility/ax_tree.cc @@ -824,7 +824,7 @@ bool AXTree::ComputeNodeIsIgnoredChanged( return old_node_is_ignored != new_node_is_ignored; @@ -18,7 +18,7 @@ ClearExtraAnnouncementNodes(); #endif // BUILDFLAG(IS_LINUX) -@@ -2104,7 +2104,7 @@ void AXTree::NotifyNodeAttributesWillChange( +@@ -2109,7 +2109,7 @@ void AXTree::NotifyNodeAttributesWillChange( new_data); } @@ -27,7 +27,7 @@ void AXTree::ClearExtraAnnouncementNodes() { if (!extra_announcement_nodes_) { return; -@@ -2493,7 +2493,7 @@ bool AXTree::CreateNewChildVector( +@@ -2498,7 +2498,7 @@ bool AXTree::CreateNewChildVector( AXTreeUpdateState* update_state) { DCHECK(GetTreeUpdateInProgressState()); bool success = true; diff --git a/www/iridium/files/patch-ui_base_accelerators_accelerator.cc b/www/iridium/files/patch-ui_base_accelerators_accelerator.cc index 642e19f906f1..3b1446285de9 100644 --- a/www/iridium/files/patch-ui_base_accelerators_accelerator.cc +++ b/www/iridium/files/patch-ui_base_accelerators_accelerator.cc @@ -1,11 +1,11 @@ ---- ui/base/accelerators/accelerator.cc.orig 2025-05-07 06:48:23 UTC +--- ui/base/accelerators/accelerator.cc.orig 2025-06-19 07:37:57 UTC +++ ui/base/accelerators/accelerator.cc -@@ -336,7 +336,7 @@ std::u16string Accelerator::ApplyLongFormModifiers( - result = ApplyModifierToAcceleratorString(result, IDS_APP_SEARCH_KEY); +@@ -331,7 +331,7 @@ std::vector<std::u16string> Accelerator::GetLongFormMo + modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_SEARCH_KEY)); #elif BUILDFLAG(IS_WIN) - result = ApplyModifierToAcceleratorString(result, IDS_APP_WINDOWS_KEY); + modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_WINDOWS_KEY)); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - result = ApplyModifierToAcceleratorString(result, IDS_APP_SUPER_KEY); + modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_SUPER_KEY)); #else NOTREACHED(); diff --git a/www/iridium/files/patch-ui_base_clipboard_clipboard__constants.cc b/www/iridium/files/patch-ui_base_clipboard_clipboard__constants.cc deleted file mode 100644 index 263033ce05eb..000000000000 --- a/www/iridium/files/patch-ui_base_clipboard_clipboard__constants.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- ui/base/clipboard/clipboard_constants.cc.orig 2025-05-07 06:48:23 UTC -+++ ui/base/clipboard/clipboard_constants.cc -@@ -25,7 +25,7 @@ const char kMimeTypeOctetStream[] = "application/octet - // Used for window dragging on some platforms. - const char kMimeTypeWindowDrag[] = "chromium/x-window-drag"; - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) - const char kMimeTypeLinuxUtf8String[] = "UTF8_STRING"; - const char kMimeTypeLinuxString[] = "STRING"; - const char kMimeTypeLinuxText[] = "TEXT"; -@@ -33,7 +33,7 @@ const char kMimeTypeLinuxText[] = "TEXT"; - // BUILDFLAG(IS_FUCHSIA) - - #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \ -- BUILDFLAG(IS_ANDROID) -+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - const char kMimeTypeSourceUrl[] = "chromium/x-source-url"; - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || - // BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_ANDROID) diff --git a/www/iridium/files/patch-ui_base_clipboard_clipboard__constants.h b/www/iridium/files/patch-ui_base_clipboard_clipboard__constants.h index 1bc12434c5c5..bc6903a9becd 100644 --- a/www/iridium/files/patch-ui_base_clipboard_clipboard__constants.h +++ b/www/iridium/files/patch-ui_base_clipboard_clipboard__constants.h @@ -1,20 +1,20 @@ ---- ui/base/clipboard/clipboard_constants.h.orig 2025-05-07 06:48:23 UTC +--- ui/base/clipboard/clipboard_constants.h.orig 2025-06-19 07:37:57 UTC +++ ui/base/clipboard/clipboard_constants.h -@@ -41,7 +41,7 @@ extern const char kMimeTypeWindowDrag[]; +@@ -44,7 +44,7 @@ inline constexpr char kMimeTypeWindowDrag[] = "chromiu // ----- LINUX & CHROMEOS & FUCHSIA MIME TYPES ----- -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) - COMPONENT_EXPORT(UI_BASE_CLIPBOARD_TYPES) - extern const char kMimeTypeLinuxUtf8String[]; - COMPONENT_EXPORT(UI_BASE_CLIPBOARD_TYPES) -@@ -53,7 +53,7 @@ COMPONENT_EXPORT(UI_BASE_CLIPBOARD_TYPES) + inline constexpr char kMimeTypeLinuxUtf8String[] = "UTF8_STRING"; + inline constexpr char kMimeTypeLinuxString[] = "STRING"; + inline constexpr char kMimeTypeLinuxText[] = "TEXT"; +@@ -52,7 +52,7 @@ inline constexpr char kMimeTypeLinuxText[] = "TEXT"; // BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - extern const char kMimeTypeSourceUrl[]; + inline constexpr char kMimeTypeSourceUrl[] = "chromium/x-source-url"; #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || // BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_ANDROID) diff --git a/www/iridium/files/patch-ui_base_ui__base__features.cc b/www/iridium/files/patch-ui_base_ui__base__features.cc index f5ea08dd12c2..fe675de0fc9f 100644 --- a/www/iridium/files/patch-ui_base_ui__base__features.cc +++ b/www/iridium/files/patch-ui_base_ui__base__features.cc @@ -1,4 +1,4 @@ ---- ui/base/ui_base_features.cc.orig 2025-05-07 06:48:23 UTC +--- ui/base/ui_base_features.cc.orig 2025-06-19 07:37:57 UTC +++ ui/base/ui_base_features.cc @@ -119,7 +119,7 @@ BASE_FEATURE(kWaylandLinuxDrmSyncobj, // Controls whether support for Wayland's per-surface scaling is enabled. @@ -18,7 +18,7 @@ // If this feature is enabled, users not specify --ozone-platform-hint switch // will get --ozone-platform-hint=auto treatment. https://crbug.com/40250220. COMPONENT_EXPORT(UI_BASE_FEATURES) -@@ -225,7 +225,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists, +@@ -231,7 +231,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists, // native apps on Windows. BASE_FEATURE(kExperimentalFlingAnimation, "ExperimentalFlingAnimation", @@ -27,7 +27,7 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -301,7 +301,7 @@ bool IsForcedColorsEnabled() { +@@ -307,7 +307,7 @@ bool IsForcedColorsEnabled() { BASE_FEATURE(kEyeDropper, "EyeDropper", #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/iridium/files/patch-ui_base_x_x11__cursor__loader.cc b/www/iridium/files/patch-ui_base_x_x11__cursor__loader.cc index d6c0c1519b70..5844abd744ab 100644 --- a/www/iridium/files/patch-ui_base_x_x11__cursor__loader.cc +++ b/www/iridium/files/patch-ui_base_x_x11__cursor__loader.cc @@ -1,4 +1,4 @@ ---- ui/base/x/x11_cursor_loader.cc.orig 2025-05-07 06:48:23 UTC +--- ui/base/x/x11_cursor_loader.cc.orig 2025-06-19 07:37:57 UTC +++ ui/base/x/x11_cursor_loader.cc @@ -42,7 +42,7 @@ #include "ui/gfx/x/connection.h" @@ -9,7 +9,7 @@ #include "ui/linux/linux_ui.h" #endif -@@ -87,7 +87,11 @@ std::string CursorPathFromLibXcursor() { +@@ -84,7 +84,11 @@ std::string CursorPathFromLibXcursor() { void operator()(void* ptr) const { dlclose(ptr); } }; @@ -21,7 +21,7 @@ if (!lib) return ""; -@@ -232,7 +236,7 @@ scoped_refptr<base::RefCountedMemory> ReadCursorFile( +@@ -229,7 +233,7 @@ scoped_refptr<base::RefCountedMemory> ReadCursorFile( const std::string& rm_xcursor_theme) { constexpr const char kDefaultTheme[] = "default"; std::string themes[] = { @@ -30,7 +30,7 @@ // The toolkit theme has the highest priority. LinuxUi::instance() ? LinuxUi::instance()->GetCursorThemeName() : std::string(), -@@ -422,7 +426,7 @@ uint32_t XCursorLoader::GetPreferredCursorSize() const +@@ -419,7 +423,7 @@ uint32_t XCursorLoader::GetPreferredCursorSize() const return size; } diff --git a/www/iridium/files/patch-ui_color_color__id.h b/www/iridium/files/patch-ui_color_color__id.h index 251675f1df8b..91c85db6c4a1 100644 --- a/www/iridium/files/patch-ui_color_color__id.h +++ b/www/iridium/files/patch-ui_color_color__id.h @@ -1,11 +1,11 @@ ---- ui/color/color_id.h.orig 2025-05-07 06:48:23 UTC +--- ui/color/color_id.h.orig 2025-06-19 07:37:57 UTC +++ ui/color/color_id.h -@@ -624,7 +624,7 @@ +@@ -627,7 +627,7 @@ E_CPONLY(kColorCrosSysPositive) \ E_CPONLY(kColorCrosSysComplementVariant) \ E_CPONLY(kColorCrosSysInputFieldOnBase) -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #define PLATFORM_SPECIFIC_COLOR_IDS \ - E_CPONLY(kColorNativeButtonBorder)\ + E_CPONLY(kColorNativeBoxFrameBorder)\ E_CPONLY(kColorNativeHeaderButtonBorderActive) \ diff --git a/www/iridium/files/patch-ui_color_color__provider__utils.cc b/www/iridium/files/patch-ui_color_color__provider__utils.cc index 079051f579b1..fb490c839053 100644 --- a/www/iridium/files/patch-ui_color_color__provider__utils.cc +++ b/www/iridium/files/patch-ui_color_color__provider__utils.cc @@ -1,6 +1,6 @@ ---- ui/color/color_provider_utils.cc.orig 2025-05-07 06:48:23 UTC +--- ui/color/color_provider_utils.cc.orig 2025-06-19 07:37:57 UTC +++ ui/color/color_provider_utils.cc -@@ -191,7 +191,7 @@ std::string_view SystemThemeName(ui::SystemTheme syste +@@ -194,7 +194,7 @@ std::string_view SystemThemeName(ui::SystemTheme syste switch (system_theme) { case ui::SystemTheme::kDefault: return "kDefault"; diff --git a/www/iridium/files/patch-ui_compositor_compositor.cc b/www/iridium/files/patch-ui_compositor_compositor.cc index 763de7109d54..2cb1a8779f1e 100644 --- a/www/iridium/files/patch-ui_compositor_compositor.cc +++ b/www/iridium/files/patch-ui_compositor_compositor.cc @@ -1,6 +1,6 @@ ---- ui/compositor/compositor.cc.orig 2025-05-07 06:48:23 UTC +--- ui/compositor/compositor.cc.orig 2025-06-19 07:37:57 UTC +++ ui/compositor/compositor.cc -@@ -952,7 +952,7 @@ void Compositor::OnResume() { +@@ -983,7 +983,7 @@ void Compositor::OnResume() { obs.ResetIfActive(); } diff --git a/www/iridium/files/patch-ui_display_screen.cc b/www/iridium/files/patch-ui_display_screen.cc index fdd4121d52cb..9cf09a512327 100644 --- a/www/iridium/files/patch-ui_display_screen.cc +++ b/www/iridium/files/patch-ui_display_screen.cc @@ -1,6 +1,6 @@ ---- ui/display/screen.cc.orig 2025-05-07 06:48:23 UTC +--- ui/display/screen.cc.orig 2025-06-19 07:37:57 UTC +++ ui/display/screen.cc -@@ -86,7 +86,7 @@ void Screen::SetDisplayForNewWindows(int64_t display_i +@@ -82,7 +82,7 @@ void Screen::SetDisplayForNewWindows(int64_t display_i display_id_for_new_windows_ = display_id; } diff --git a/www/iridium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc b/www/iridium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc index fa9d4103f0de..5630f500b332 100644 --- a/www/iridium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc +++ b/www/iridium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc @@ -1,6 +1,6 @@ ---- ui/events/devices/x11/device_data_manager_x11.cc.orig 2025-05-07 06:48:23 UTC +--- ui/events/devices/x11/device_data_manager_x11.cc.orig 2025-06-19 07:37:57 UTC +++ ui/events/devices/x11/device_data_manager_x11.cc -@@ -849,6 +849,7 @@ void DeviceDataManagerX11::SetDisabledKeyboardAllowedK +@@ -850,6 +850,7 @@ void DeviceDataManagerX11::SetDisabledKeyboardAllowedK } void DeviceDataManagerX11::DisableDevice(x11::Input::DeviceId deviceid) { diff --git a/www/iridium/files/patch-ui_gfx_BUILD.gn b/www/iridium/files/patch-ui_gfx_BUILD.gn index ed08860d35c9..d84d531fa5e5 100644 --- a/www/iridium/files/patch-ui_gfx_BUILD.gn +++ b/www/iridium/files/patch-ui_gfx_BUILD.gn @@ -1,6 +1,6 @@ ---- ui/gfx/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- ui/gfx/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ ui/gfx/BUILD.gn -@@ -661,7 +661,7 @@ source_set("memory_buffer_sources") { +@@ -663,7 +663,7 @@ source_set("memory_buffer_sources") { deps += [ "//build/config/linux/libdrm" ] } diff --git a/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.cc b/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.cc index 4171bfe94ae5..9e45a5fcceec 100644 --- a/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.cc +++ b/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.cc @@ -1,6 +1,6 @@ ---- ui/gfx/gpu_memory_buffer.cc.orig 2025-05-07 06:48:23 UTC +--- ui/gfx/gpu_memory_buffer.cc.orig 2025-06-19 07:37:57 UTC +++ ui/gfx/gpu_memory_buffer.cc -@@ -108,7 +108,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHandle::Clone() c +@@ -131,7 +131,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHandle::Clone() c handle.id = id; handle.offset = offset; handle.stride = stride; diff --git a/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.h b/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.h index a9bd925c8295..a9404266142d 100644 --- a/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.h +++ b/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.h @@ -1,4 +1,4 @@ ---- ui/gfx/gpu_memory_buffer.h.orig 2025-05-07 06:48:23 UTC +--- ui/gfx/gpu_memory_buffer.h.orig 2025-06-19 07:37:57 UTC +++ ui/gfx/gpu_memory_buffer.h @@ -17,7 +17,7 @@ #include "ui/gfx/generic_shared_memory_id.h" @@ -9,7 +9,7 @@ #include "ui/gfx/native_pixmap_handle.h" #elif BUILDFLAG(IS_APPLE) #include "ui/gfx/mac/io_surface.h" -@@ -47,7 +47,7 @@ enum GpuMemoryBufferType { +@@ -58,7 +58,7 @@ enum GpuMemoryBufferType { #if BUILDFLAG(IS_APPLE) IO_SURFACE_BUFFER, #endif @@ -18,7 +18,7 @@ NATIVE_PIXMAP, #endif #if BUILDFLAG(IS_WIN) -@@ -212,7 +212,7 @@ struct COMPONENT_EXPORT(GFX) GpuMemoryBufferHandle { +@@ -210,7 +210,7 @@ struct COMPONENT_EXPORT(GFX) GpuMemoryBufferHandle { uint32_t offset = 0; uint32_t stride = 0; diff --git a/www/iridium/files/patch-ui_gfx_native__widget__types.h b/www/iridium/files/patch-ui_gfx_native__widget__types.h index 4678814379f2..746b08adbb37 100644 --- a/www/iridium/files/patch-ui_gfx_native__widget__types.h +++ b/www/iridium/files/patch-ui_gfx_native__widget__types.h @@ -1,6 +1,6 @@ ---- ui/gfx/native_widget_types.h.orig 2025-05-07 06:48:23 UTC +--- ui/gfx/native_widget_types.h.orig 2025-06-19 07:37:57 UTC +++ ui/gfx/native_widget_types.h -@@ -104,7 +104,7 @@ class ViewAndroid; +@@ -102,7 +102,7 @@ class ViewAndroid; #endif class SkBitmap; @@ -9,12 +9,12 @@ extern "C" { struct _AtkObject; using AtkObject = struct _AtkObject; -@@ -194,7 +194,7 @@ using NativeViewAccessible = id; - #else - using NativeViewAccessible = struct objc_object*; - #endif +@@ -186,7 +186,7 @@ using NativeViewAccessible = IAccessible*; + using NativeViewAccessible = base::apple::OwnedNSObject; + #elif BUILDFLAG(IS_MAC) + using NativeViewAccessible = base::apple::OwnedNSAccessibility; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Linux doesn't have a native font type. + // Linux doesn't have a native accessibility type. using NativeViewAccessible = AtkObject*; #else diff --git a/www/iridium/files/patch-ui_gl_gl__switches.cc b/www/iridium/files/patch-ui_gl_gl__switches.cc index 4fd0148bdbeb..b6cc869e6c99 100644 --- a/www/iridium/files/patch-ui_gl_gl__switches.cc +++ b/www/iridium/files/patch-ui_gl_gl__switches.cc @@ -1,4 +1,4 @@ ---- ui/gl/gl_switches.cc.orig 2025-05-07 06:48:23 UTC +--- ui/gl/gl_switches.cc.orig 2025-06-19 07:37:57 UTC +++ ui/gl/gl_switches.cc @@ -13,7 +13,7 @@ #include "base/android/build_info.h" @@ -18,7 +18,7 @@ angle::SystemInfo system_info; { GPU_STARTUP_TRACE_EVENT("angle::GetSystemInfoVulkan"); -@@ -372,7 +372,7 @@ bool IsDefaultANGLEVulkan() { +@@ -388,7 +388,7 @@ bool IsDefaultANGLEVulkan() { } #endif // BUILDFLAG(IS_ANDROID) diff --git a/www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc b/www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc index 163a1d5a52b1..bbc70769681a 100644 --- a/www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc +++ b/www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc @@ -1,6 +1,6 @@ ---- ui/gtk/printing/print_dialog_gtk.cc.orig 2025-05-07 06:48:23 UTC +--- ui/gtk/printing/print_dialog_gtk.cc.orig 2025-06-19 07:37:57 UTC +++ ui/gtk/printing/print_dialog_gtk.cc -@@ -438,7 +438,7 @@ void PrintDialogGtk::ShowDialog( +@@ -456,7 +456,7 @@ void PrintDialogGtk::ShowDialog( GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>( GTK_PRINT_CAPABILITY_GENERATE_PDF | GTK_PRINT_CAPABILITY_PAGE_SET | GTK_PRINT_CAPABILITY_COPIES | GTK_PRINT_CAPABILITY_COLLATE | diff --git a/www/iridium/files/patch-ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc b/www/iridium/files/patch-ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc deleted file mode 100644 index f9fb250b1749..000000000000 --- a/www/iridium/files/patch-ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc +++ /dev/null @@ -1,21 +0,0 @@ ---- ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc.orig 2025-05-07 06:48:23 UTC -+++ ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc -@@ -261,6 +261,10 @@ void ZWPTextInputWrapperV1::SetSurroundingText( - // so if it exceeds 16 bits, it may be broken. - static constexpr size_t kSizeLimit = 60000; - if (HasAdvancedSurroundingTextSupport() && text.length() > kSizeLimit) { -+#if defined(__FreeBSD_version) && __FreeBSD_version < 1300048 -+ PLOG(ERROR) << "memfd is not supported"; -+ return; -+#else - base::ScopedFD memfd(memfd_create("surrounding_text", MFD_CLOEXEC)); - if (!memfd.get()) { - PLOG(ERROR) << "Failed to create memfd"; -@@ -273,6 +277,7 @@ void ZWPTextInputWrapperV1::SetSurroundingText( - zcr_extended_text_input_v1_set_large_surrounding_text( - extended_obj_.get(), memfd.get(), text.length(), - selection_range.start(), selection_range.end()); -+#endif - } else { - zwp_text_input_v1_set_surrounding_text(obj_.get(), text.c_str(), - selection_range.start(), diff --git a/www/iridium/files/patch-ui_qt_moc__wrapper.py b/www/iridium/files/patch-ui_qt_moc__wrapper.py new file mode 100644 index 000000000000..655d1523ef83 --- /dev/null +++ b/www/iridium/files/patch-ui_qt_moc__wrapper.py @@ -0,0 +1,8 @@ +--- ui/qt/moc_wrapper.py.orig 2025-06-19 07:37:57 UTC ++++ ui/qt/moc_wrapper.py +@@ -20,4 +20,4 @@ args = parser.parse_args() + if args.path is None: + subprocess.check_call(["moc", args.input, "-o", args.output]) + else: +- subprocess.check_call([args.path + "/moc", args.input, "-o", args.output]) ++ subprocess.check_call([args.path, args.input, "-o", args.output]) diff --git a/www/iridium/files/patch-ui_views_BUILD.gn b/www/iridium/files/patch-ui_views_BUILD.gn index 701975f08fea..01f70318de45 100644 --- a/www/iridium/files/patch-ui_views_BUILD.gn +++ b/www/iridium/files/patch-ui_views_BUILD.gn @@ -1,6 +1,6 @@ ---- ui/views/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- ui/views/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ ui/views/BUILD.gn -@@ -839,7 +839,6 @@ component("views") { +@@ -833,7 +833,6 @@ component("views") { sources += [ "accessibility/widget_ax_tree_id_map.cc" ] } deps += [ diff --git a/www/iridium/files/patch-ui_views_views__delegate.cc b/www/iridium/files/patch-ui_views_views__delegate.cc index 411c34797f0a..bed4558e7787 100644 --- a/www/iridium/files/patch-ui_views_views__delegate.cc +++ b/www/iridium/files/patch-ui_views_views__delegate.cc @@ -1,6 +1,6 @@ ---- ui/views/views_delegate.cc.orig 2025-05-07 06:48:23 UTC +--- ui/views/views_delegate.cc.orig 2025-06-19 07:37:57 UTC +++ ui/views/views_delegate.cc -@@ -101,7 +101,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow +@@ -91,7 +91,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow return false; } #elif BUILDFLAG(ENABLE_DESKTOP_AURA) && \ diff --git a/www/iridium/files/patch-ui_views_views__delegate.h b/www/iridium/files/patch-ui_views_views__delegate.h index 35b5de4fd3f7..6c85d6dd0179 100644 --- a/www/iridium/files/patch-ui_views_views__delegate.h +++ b/www/iridium/files/patch-ui_views_views__delegate.h @@ -1,6 +1,6 @@ ---- ui/views/views_delegate.h.orig 2025-05-07 06:48:23 UTC +--- ui/views/views_delegate.h.orig 2025-06-19 07:37:57 UTC +++ ui/views/views_delegate.h -@@ -139,7 +139,7 @@ class VIEWS_EXPORT ViewsDelegate { +@@ -143,7 +143,7 @@ class VIEWS_EXPORT ViewsDelegate { // environment. virtual bool IsWindowInMetro(gfx::NativeWindow window) const; #elif BUILDFLAG(ENABLE_DESKTOP_AURA) && \ diff --git a/www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc b/www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc index e7537b4d396a..dd443e82b402 100644 --- a/www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc +++ b/www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc @@ -1,4 +1,4 @@ ---- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2025-05-07 06:48:23 UTC +--- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2025-06-19 07:37:57 UTC +++ ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc @@ -50,7 +50,7 @@ #include "ui/wm/core/window_util.h" @@ -9,7 +9,7 @@ #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.h" #endif -@@ -353,7 +353,7 @@ std::unique_ptr<aura::client::DragDropClient> +@@ -356,7 +356,7 @@ std::unique_ptr<aura::client::DragDropClient> DesktopWindowTreeHostPlatform::CreateDragDropClient() { ui::WmDragHandler* drag_handler = ui::GetWmDragHandler(*(platform_window())); std::unique_ptr<DesktopDragDropClientOzone> drag_drop_client = @@ -18,7 +18,7 @@ std::make_unique<DesktopDragDropClientOzoneLinux>(window(), drag_handler); #else std::make_unique<DesktopDragDropClientOzone>(window(), drag_handler); -@@ -1185,7 +1185,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg +@@ -1188,7 +1188,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg // DesktopWindowTreeHost: // Linux subclasses this host and adds some Linux specific bits. diff --git a/www/iridium/files/patch-ui_views_widget_widget.cc b/www/iridium/files/patch-ui_views_widget_widget.cc index 9496eea5220d..bcade43f4c52 100644 --- a/www/iridium/files/patch-ui_views_widget_widget.cc +++ b/www/iridium/files/patch-ui_views_widget_widget.cc @@ -1,4 +1,4 @@ ---- ui/views/widget/widget.cc.orig 2025-05-07 06:48:23 UTC +--- ui/views/widget/widget.cc.orig 2025-06-19 07:37:57 UTC +++ ui/views/widget/widget.cc @@ -63,7 +63,7 @@ #include "ui/views/window/custom_frame_view.h" @@ -9,7 +9,7 @@ #include "ui/linux/linux_ui.h" #endif -@@ -2453,7 +2453,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const +@@ -2464,7 +2464,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const return parent_->GetNativeTheme(); } diff --git a/www/iridium/files/patch-ui_views_window_dialog__delegate.cc b/www/iridium/files/patch-ui_views_window_dialog__delegate.cc index a0059e2cb635..7af1d1ef9a0c 100644 --- a/www/iridium/files/patch-ui_views_window_dialog__delegate.cc +++ b/www/iridium/files/patch-ui_views_window_dialog__delegate.cc @@ -1,6 +1,6 @@ ---- ui/views/window/dialog_delegate.cc.orig 2025-05-07 06:48:23 UTC +--- ui/views/window/dialog_delegate.cc.orig 2025-06-19 07:37:57 UTC +++ ui/views/window/dialog_delegate.cc -@@ -106,7 +106,7 @@ Widget* DialogDelegate::CreateDialogWidget( +@@ -107,7 +107,7 @@ Widget* DialogDelegate::CreateDialogWidget( // static bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) { diff --git a/www/iridium/files/patch-v8_BUILD.gn b/www/iridium/files/patch-v8_BUILD.gn index c09debe7bde7..fad87c790fb7 100644 --- a/www/iridium/files/patch-v8_BUILD.gn +++ b/www/iridium/files/patch-v8_BUILD.gn @@ -1,6 +1,6 @@ ---- v8/BUILD.gn.orig 2025-05-07 06:48:23 UTC +--- v8/BUILD.gn.orig 2025-06-19 07:37:57 UTC +++ v8/BUILD.gn -@@ -1000,6 +1000,8 @@ external_v8_defines = [ +@@ -999,6 +999,8 @@ external_v8_defines = [ "V8_TARGET_OS_MACOS", "V8_TARGET_OS_WIN", "V8_TARGET_OS_CHROMEOS", @@ -9,7 +9,7 @@ ] enabled_external_v8_defines = [ -@@ -1079,6 +1081,12 @@ if (target_os == "android") { +@@ -1075,6 +1077,12 @@ if (target_os == "android") { } else if (target_os == "chromeos") { enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ] enabled_external_v8_defines += [ "V8_TARGET_OS_CHROMEOS" ] @@ -22,7 +22,7 @@ } disabled_external_v8_defines = external_v8_defines - enabled_external_v8_defines -@@ -2537,6 +2545,12 @@ template("run_mksnapshot") { +@@ -2545,6 +2553,12 @@ template("run_mksnapshot") { if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) { args += [ "--reorder-builtins" ] } @@ -35,7 +35,7 @@ } if (v8_enable_turboshaft_csa) { -@@ -6631,7 +6645,7 @@ v8_component("v8_libbase") { +@@ -6658,7 +6672,7 @@ v8_component("v8_libbase") { } } @@ -44,7 +44,7 @@ sources += [ "src/base/debug/stack_trace_posix.cc", "src/base/platform/platform-linux.cc", -@@ -6642,6 +6656,18 @@ v8_component("v8_libbase") { +@@ -6669,6 +6683,18 @@ v8_component("v8_libbase") { "dl", "rt", ] diff --git a/www/iridium/files/patch-v8_src_api_api.cc b/www/iridium/files/patch-v8_src_api_api.cc index 6f440d8da9d7..e4cc053ffff4 100644 --- a/www/iridium/files/patch-v8_src_api_api.cc +++ b/www/iridium/files/patch-v8_src_api_api.cc @@ -1,15 +1,15 @@ ---- v8/src/api/api.cc.orig 2025-05-07 06:48:23 UTC +--- v8/src/api/api.cc.orig 2025-06-19 07:37:57 UTC +++ v8/src/api/api.cc -@@ -153,7 +153,7 @@ - #include "src/wasm/wasm-serialization.h" - #endif // V8_ENABLE_WEBASSEMBLY +@@ -158,7 +158,7 @@ + #include "src/objects/intl-objects.h" + #endif // V8_INTL_SUPPORT -#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD +#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD || V8_OS_OPENBSD #include <signal.h> #include <unistd.h> -@@ -6483,7 +6483,7 @@ bool v8::V8::Initialize(const int build_config) { +@@ -6472,7 +6472,7 @@ bool v8::V8::Initialize(const int build_config) { return true; } diff --git a/www/iridium/files/patch-v8_src_diagnostics_perf-jit.cc b/www/iridium/files/patch-v8_src_diagnostics_perf-jit.cc index e7c55bed5211..88912e1d5988 100644 --- a/www/iridium/files/patch-v8_src_diagnostics_perf-jit.cc +++ b/www/iridium/files/patch-v8_src_diagnostics_perf-jit.cc @@ -1,11 +1,11 @@ ---- v8/src/diagnostics/perf-jit.cc.orig 2025-05-07 06:48:23 UTC +--- v8/src/diagnostics/perf-jit.cc.orig 2025-06-19 07:37:57 UTC +++ v8/src/diagnostics/perf-jit.cc @@ -31,7 +31,7 @@ #include "src/flags/flags.h" - // Only compile the {LinuxPerfJitLogger} on Linux. --#if V8_OS_LINUX -+#if defined(V8_OS_LINUX) || defined(V8_OS_BSD) + // Only compile the {PerfJitLogger} on Linux & Darwin. +-#if V8_OS_LINUX || V8_OS_DARWIN ++#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_BSD #include <fcntl.h> #include <sys/mman.h> diff --git a/www/iridium/files/patch-v8_src_diagnostics_perf-jit.h b/www/iridium/files/patch-v8_src_diagnostics_perf-jit.h index ef883200bef9..b1cc0848ce0d 100644 --- a/www/iridium/files/patch-v8_src_diagnostics_perf-jit.h +++ b/www/iridium/files/patch-v8_src_diagnostics_perf-jit.h @@ -1,11 +1,11 @@ ---- v8/src/diagnostics/perf-jit.h.orig 2025-05-07 06:48:23 UTC +--- v8/src/diagnostics/perf-jit.h.orig 2025-06-19 07:37:57 UTC +++ v8/src/diagnostics/perf-jit.h @@ -31,7 +31,7 @@ #include "include/v8config.h" - // {LinuxPerfJitLogger} is only implemented on Linux. --#if V8_OS_LINUX -+#if defined(V8_OS_LINUX) || defined(V8_OS_BSD) + // {PerfJitLogger} is only implemented on Linux & Darwin. +-#if V8_OS_LINUX || V8_OS_DARWIN ++#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_BSD #include "src/logging/log.h" diff --git a/www/iridium/files/patch-v8_src_execution_isolate.cc b/www/iridium/files/patch-v8_src_execution_isolate.cc index e31899c4b1b9..6d069f11dba4 100644 --- a/www/iridium/files/patch-v8_src_execution_isolate.cc +++ b/www/iridium/files/patch-v8_src_execution_isolate.cc @@ -1,4 +1,4 @@ ---- v8/src/execution/isolate.cc.orig 2025-05-07 06:48:23 UTC +--- v8/src/execution/isolate.cc.orig 2025-06-19 07:37:57 UTC +++ v8/src/execution/isolate.cc @@ -173,6 +173,10 @@ #include "src/execution/simulator-base.h" @@ -11,7 +11,7 @@ extern "C" const uint8_t v8_Default_embedded_blob_code_[]; extern "C" uint32_t v8_Default_embedded_blob_code_size_; extern "C" const uint8_t v8_Default_embedded_blob_data_[]; -@@ -5114,6 +5118,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { +@@ -5110,6 +5114,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { uint32_t code_size = DefaultEmbeddedBlobCodeSize(); const uint8_t* data = DefaultEmbeddedBlobData(); uint32_t data_size = DefaultEmbeddedBlobDataSize(); diff --git a/www/iridium/files/patch-v8_src_trap-handler_trap-handler.h b/www/iridium/files/patch-v8_src_trap-handler_trap-handler.h index 773b60489267..80cb1fb0dd3d 100644 --- a/www/iridium/files/patch-v8_src_trap-handler_trap-handler.h +++ b/www/iridium/files/patch-v8_src_trap-handler_trap-handler.h @@ -1,4 +1,4 @@ ---- v8/src/trap-handler/trap-handler.h.orig 2025-05-07 06:48:23 UTC +--- v8/src/trap-handler/trap-handler.h.orig 2025-06-19 07:37:57 UTC +++ v8/src/trap-handler/trap-handler.h @@ -18,7 +18,7 @@ namespace v8::internal::trap_handler { // X64 on Linux, Windows, MacOS, FreeBSD. @@ -7,5 +7,5 @@ - V8_OS_FREEBSD) + V8_OS_FREEBSD || V8_OS_OPENBSD) #define V8_TRAP_HANDLER_SUPPORTED true - // Arm64 (non-simulator) on Linux, Windows, MacOS. + // Arm64 native on Linux, Windows, MacOS. #elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_ARM64 && \ |