diff --git a/www/chromium/Makefile b/www/chromium/Makefile index d14e727804bd..8a661c4204c9 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,432 +1,432 @@ PORTNAME= chromium -PORTVERSION= 149.0.7827.200 +PORTVERSION= 150.0.7871.46 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio DISTFILES= ${DISTNAME}-lite${EXTRACT_SUFX} \ pulseaudio-${PULSEV}.tar.gz:pulseaudio USE_GITHUB= nodefault -GH_TUPLE= rollup:rollup:v4.22.4:rollup/rollup \ +GH_TUPLE= rollup:rollup:v4.60.4:rollup/rollup \ evanw:esbuild:v${_ESBUILD_VERSION:sh}:esbuild/esbuild MAINTAINER= chromium@FreeBSD.org COMMENT= Google web browser based on WebKit WWW= https://www.chromium.org/Home LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ bindgen:devel/rust-bindgen-cli \ esbuild:devel/esbuild \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ rustc:lang/rust \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-libs \ ${LOCALBASE}/libdata/pkgconfig/Qt5Core.pc:devel/qt5-core \ ${LOCALBASE}/libdata/pkgconfig/Qt5Widgets.pc:x11-toolkits/qt5-widgets LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison cargo compiler:c++17-lang cpe desktop-file-utils gl gmake \ gnome iconv:wchar_t jpeg localbase:ldflags ninja perl5 pkgconfig \ python:build qt:5 shebangfix tar:xz xorg WITHOUT_FBSD10_FIX= Yes CARGO_CARGOTOML= ${WRKSRC}/rollup/rust/Cargo.toml CARGO_CARGOLOCK= ${WRKSRC}/rollup/rust/Cargo.lock CARGO_TARGET_DIR= ${WRKSRC}/rollup/rust/target CARGO_INSTALL= No CARGO_BUILD= No CARGO_TEST= No _ESBUILD_VERSION= ${MAKE} -C ${PORTSDIR}/devel/esbuild -V DISTVERSION CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl USE_GNOME= atk dconf gdkpixbuf glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst USE_QT= buildtools:build SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper #buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_remoting=false \ enable_widevine=true \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ moc_qt5_path="${QT_TOOLDIR}/moc" \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_qt5=true \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles # FreeBSD Chromium Api Key # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . # Note: these are for FreeBSD use ONLY. For your own distribution, # please get your own set of keys. GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO ALSA PULSEAUDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="60 GB" \ WANTMEM="32 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="35 GB" \ WANTMEM="8 GB" DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="40 GB" \ WANTMEM="16 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false WIDEVINE_DESC= Depend on foreign-cdm to enable playback of DRM content WIDEVINE_RUN_DEPENDS= foreign-cdm>0:www/foreign-cdm .include "Makefile.tests" TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} TEST_ALL_TARGET= ${TEST_TARGETS} .include .include # for COMPILER_VERSION .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 22 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} # - swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only # - map ffmpeg target to ${ARCH} .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == amd64 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build ${PORTNAME}, you should have at least:" @${ECHO_MSG} "- ${WANTMEM} of memory" @${ECHO_MSG} "- ${WANTSPACE} of free disk space" @${ECHO_MSG} "- 1.5 million free inodes" @${ECHO_MSG} pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/linux/strip_binary.gni \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni pre-build: @${CARGO_CARGO_RUN} build \ --manifest-path ${CARGO_CARGOTOML} \ --verbose \ --verbose \ ${CARGO_BUILD_ARGS} (cd ${WRKSRC}/third_party/devtools-frontend/src/node_modules/@rollup && \ mkdir -p rollup-freebsd && \ cp ${CARGO_TARGET_DIR}/release/libbindings_napi.so \ rollup-freebsd/rollup.freebsd.node && \ echo '{ "main": "./rollup.freebsd.node" }' \ > rollup-freebsd/package.json) do-configure: (cd ${WRKSRC}/esbuild && \ ${LOCALBASE}/bin/node scripts/esbuild.js \ /usr/local/bin/esbuild --neutral && \ rm -rf ${WRKSRC}/third_party/devtools-frontend/src/node_modules/esbuild && \ ln -sf ${WRKSRC}/esbuild/npm/esbuild \ ${WRKSRC}/third_party/devtools-frontend/src/node_modules/esbuild \ ) # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup rustc dependency @${MKDIR} ${WRKSRC}/third_party/rust-toolchain/bin ${LN} -sf ${LOCALBASE}/bin/rustc ${WRKSRC}/third_party/rust-toolchain/bin/rustc # Setup esbuild dependency ${LN} -sf ${LOCALBASE}/bin/esbuild ${WRKSRC}/third_party/devtools-frontend/src/third_party/esbuild/esbuild # Setup gperf dependency ${LN} -sf ${LOCALBASE}/bin/gperf ${WRKSRC}/third_party/gperf/cipd/bin/gperf # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${PREFIX}/share/man/man1/chrome.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Chromium Web Browser,g' \ ${STAGEDIR}${PREFIX}/share/man/man1/chrome.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ ${STAGEDIR}${DATADIR} # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${PREFIX}/bin/chromedriver do-test-TEST-on: .for t in ${TEST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} .endfor .include diff --git a/www/chromium/Makefile.crates b/www/chromium/Makefile.crates index a592156ae4c1..2232c7b2d22c 100644 --- a/www/chromium/Makefile.crates +++ b/www/chromium/Makefile.crates @@ -1,166 +1,204 @@ -CARGO_CRATES= Inflector-0.11.4 \ - ahash-0.8.11 \ - aho-corasick-1.1.3 \ - allocator-api2-0.2.18 \ - anyhow-1.0.89 \ +CARGO_CRATES= ahash-0.8.12 \ + aho-corasick-1.1.4 \ + allocator-api2-0.2.21 \ + anyhow-1.0.102 \ + ar_archive_writer-0.5.1 \ arrayvec-0.7.6 \ - ast_node-0.10.0 \ - autocfg-1.3.0 \ + ascii-1.1.0 \ + ast_node-5.0.0 \ + autocfg-1.5.0 \ base-encode-0.3.1 \ - base64-0.21.7 \ - base64-simd-0.7.0 \ - better_scoped_tls-0.1.1 \ - bitflags-2.6.0 \ + base64-0.22.1 \ + base64-simd-0.8.0 \ + better_scoped_tls-1.0.1 \ + bitflags-2.11.1 \ bitvec-1.0.1 \ - bumpalo-3.16.0 \ - cc-1.1.21 \ - cfg-if-1.0.0 \ - convert_case-0.6.0 \ - ctor-0.2.8 \ - cty-0.2.2 \ + bstr-1.12.1 \ + bumpalo-3.20.2 \ + bytes-1.11.1 \ + bytes-str-0.2.7 \ + castaway-0.2.4 \ + cc-1.2.61 \ + cfg-if-1.0.4 \ + cmake-0.1.58 \ + compact_str-0.7.1 \ + console_error_panic_hook-0.1.7 \ + convert_case-0.11.0 \ + ctor-0.11.1 \ dashmap-5.5.3 \ - data-encoding-2.6.0 \ + data-encoding-2.11.0 \ debugid-0.8.0 \ - either-1.13.0 \ - equivalent-1.0.1 \ - fixedbitset-0.4.2 \ - form_urlencoded-1.2.1 \ - from_variant-0.1.9 \ + displaydoc-0.2.5 \ + dragonbox_ecma-0.1.12 \ + either-1.15.0 \ + equivalent-1.0.2 \ + find-msvc-tools-0.1.9 \ + fixedbitset-0.5.7 \ + foldhash-0.2.0 \ + form_urlencoded-1.2.2 \ + from_variant-3.0.0 \ funty-2.0.0 \ - getrandom-0.2.15 \ + futures-0.3.32 \ + futures-channel-0.3.32 \ + futures-core-0.3.32 \ + futures-executor-0.3.32 \ + futures-io-0.3.32 \ + futures-macro-0.3.32 \ + futures-sink-0.3.32 \ + futures-task-0.3.32 \ + futures-util-0.3.32 \ + globset-0.4.18 \ hashbrown-0.14.5 \ - hermit-abi-0.3.9 \ - hstr-0.2.12 \ - idna-0.5.0 \ - if_chain-1.0.2 \ - indexmap-2.5.0 \ - is-macro-0.3.6 \ - itoa-1.0.11 \ - js-sys-0.3.70 \ - libc-0.2.158 \ - libloading-0.8.5 \ - lock_api-0.4.12 \ - log-0.4.22 \ - memchr-2.7.4 \ - mimalloc-rust-0.2.1 \ - mimalloc-rust-sys-1.7.9-source \ - napi-2.16.11 \ - napi-build-2.1.3 \ - napi-derive-2.16.12 \ - napi-derive-backend-1.0.74 \ - napi-sys-2.4.0 \ + hashbrown-0.16.1 \ + hashbrown-0.17.0 \ + heck-0.5.0 \ + hermit-abi-0.5.2 \ + hstr-3.0.4 \ + icu_collections-2.2.0 \ + icu_locale_core-2.2.0 \ + icu_normalizer-2.2.0 \ + icu_normalizer_data-2.2.0 \ + icu_properties-2.2.0 \ + icu_properties_data-2.2.0 \ + icu_provider-2.2.0 \ + idna-1.1.0 \ + idna_adapter-1.2.2 \ + if_chain-1.0.3 \ + indexmap-2.14.0 \ + is-macro-0.3.7 \ + itoa-1.0.18 \ + js-sys-0.3.98 \ + libc-0.2.186 \ + libloading-0.9.0 \ + libmimalloc-sys2-0.1.54 \ + litemap-0.8.2 \ + lock_api-0.4.14 \ + memchr-2.8.0 \ + mimalloc-safe-0.1.58 \ + napi-3.8.6 \ + napi-build-2.3.1 \ + napi-derive-3.5.5 \ + napi-derive-backend-5.0.4 \ + napi-sys-3.2.1 \ new_debug_unreachable-1.0.6 \ + nohash-hasher-0.2.0 \ num-bigint-0.4.6 \ num-integer-0.1.46 \ num-traits-0.2.19 \ - num_cpus-1.16.0 \ - once_cell-1.19.0 \ - outref-0.1.0 \ - parking_lot-0.12.3 \ - parking_lot_core-0.9.10 \ - pathdiff-0.2.1 \ - percent-encoding-2.3.1 \ - petgraph-0.6.5 \ - phf-0.11.2 \ - phf_generator-0.11.2 \ - phf_macros-0.11.2 \ - phf_shared-0.11.2 \ - pin-project-lite-0.2.14 \ - proc-macro2-1.0.86 \ - psm-0.1.23 \ - ptr_meta-0.1.4 \ - ptr_meta_derive-0.1.4 \ - quote-1.0.37 \ + num_cpus-1.17.0 \ + object-0.37.3 \ + once_cell-1.21.4 \ + outref-0.5.2 \ + par-core-2.0.0 \ + par-iter-2.0.0 \ + parking_lot-0.12.5 \ + parking_lot_core-0.9.12 \ + pathdiff-0.2.3 \ + percent-encoding-2.3.2 \ + petgraph-0.7.1 \ + phf-0.11.3 \ + phf_generator-0.11.3 \ + phf_macros-0.11.3 \ + phf_shared-0.11.3 \ + pin-project-lite-0.2.17 \ + potential_utf-0.1.5 \ + proc-macro2-1.0.106 \ + psm-0.1.31 \ + quote-1.0.45 \ radium-0.7.0 \ radix_fmt-1.0.0 \ - rand-0.8.5 \ + rand-0.8.6 \ rand_core-0.6.4 \ - redox_syscall-0.5.4 \ - regex-1.10.6 \ - regex-automata-0.4.7 \ - regex-syntax-0.8.4 \ - rustc-hash-1.1.0 \ - rustc_version-0.2.3 \ - ryu-1.0.18 \ - ryu-js-1.0.1 \ + redox_syscall-0.5.18 \ + regex-1.12.3 \ + regex-automata-0.4.14 \ + regex-syntax-0.8.10 \ + regress-0.10.5 \ + rustc-hash-2.1.2 \ + rustversion-1.0.22 \ + ryu-1.0.23 \ + ryu-js-1.0.2 \ scoped-tls-1.0.1 \ scopeguard-1.2.0 \ - semver-0.9.0 \ - semver-1.0.23 \ - semver-parser-0.7.0 \ - serde-1.0.210 \ - serde_derive-1.0.210 \ - serde_json-1.0.128 \ + semver-1.0.28 \ + seq-macro-0.3.6 \ + serde-1.0.228 \ + serde_core-1.0.228 \ + serde_derive-1.0.228 \ + serde_json-1.0.149 \ shlex-1.3.0 \ - simd-abstraction-0.7.1 \ siphasher-0.3.11 \ - smallvec-1.13.2 \ + siphasher-1.0.3 \ + slab-0.4.12 \ + smallvec-1.15.1 \ smartstring-1.0.1 \ - sourcemap-9.0.0 \ - stable_deref_trait-1.2.0 \ - stacker-0.1.17 \ + stable_deref_trait-1.2.1 \ + stacker-0.1.23 \ static_assertions-1.1.0 \ - string_enum-0.4.4 \ - swc_allocator-0.1.8 \ - swc_atoms-0.7.0 \ - swc_cached-0.3.20 \ - swc_common-0.39.0 \ - swc_compiler_base-0.22.0 \ - swc_config-0.1.15 \ - swc_config_macro-0.1.4 \ - swc_ecma_ast-0.120.0 \ - swc_ecma_codegen-0.157.0 \ - swc_ecma_codegen_macros-0.7.7 \ - swc_ecma_minifier-0.207.0 \ - swc_ecma_parser-0.151.0 \ - swc_ecma_transforms_base-0.148.0 \ - swc_ecma_transforms_macros-0.5.5 \ - swc_ecma_transforms_optimization-0.211.0 \ - swc_ecma_usage_analyzer-0.32.0 \ - swc_ecma_utils-0.136.0 \ - swc_ecma_visit-0.106.0 \ - swc_eq_ignore_macros-0.1.4 \ - swc_fast_graph-0.27.0 \ - swc_macros_common-0.3.13 \ - swc_timer-0.27.0 \ - swc_visit-0.6.2 \ - syn-1.0.109 \ - syn-2.0.77 \ + string_enum-1.0.2 \ + swc_allocator-4.0.1 \ + swc_atoms-9.0.0 \ + swc_common-21.0.1 \ + swc_compiler_base-55.0.0 \ + swc_config-4.0.1 \ + swc_config_macro-1.0.1 \ + swc_ecma_ast-23.0.0 \ + swc_ecma_codegen-26.0.1 \ + swc_ecma_codegen_macros-2.0.2 \ + swc_ecma_hooks-0.7.0 \ + swc_ecma_minifier-52.0.4 \ + swc_ecma_parser-39.0.2 \ + swc_ecma_transforms_base-42.0.0 \ + swc_ecma_transforms_optimization-44.0.0 \ + swc_ecma_utils-29.1.0 \ + swc_ecma_visit-23.0.0 \ + swc_eq_ignore_macros-1.0.1 \ + swc_macros_common-1.0.1 \ + swc_sourcemap-10.0.2 \ + swc_timer-1.0.0 \ + swc_visit-2.0.1 \ + syn-2.0.117 \ + synstructure-0.13.2 \ tap-1.0.1 \ - tinyvec-1.8.0 \ - tinyvec_macros-0.1.1 \ - tracing-0.1.40 \ - tracing-attributes-0.1.27 \ - tracing-core-0.1.32 \ - triomphe-0.1.13 \ - typed-arena-2.0.2 \ - unicode-bidi-0.3.15 \ - unicode-id-0.3.5 \ - unicode-id-start-1.3.0 \ - unicode-ident-1.0.13 \ - unicode-normalization-0.1.24 \ - unicode-segmentation-1.12.0 \ - unicode-width-0.1.14 \ - url-2.5.2 \ - uuid-1.10.0 \ + tinystr-0.8.3 \ + tracing-0.1.44 \ + tracing-attributes-0.1.31 \ + tracing-core-0.1.36 \ + triomphe-0.1.15 \ + unicode-id-start-1.4.0 \ + unicode-ident-1.0.24 \ + unicode-segmentation-1.13.2 \ + unicode-width-0.2.2 \ + url-2.5.8 \ + utf8_iter-1.0.4 \ + uuid-1.23.1 \ version_check-0.9.5 \ - wasi-0.11.0+wasi-snapshot-preview1 \ - wasm-bindgen-0.2.93 \ - wasm-bindgen-backend-0.2.93 \ - wasm-bindgen-macro-0.2.93 \ - wasm-bindgen-macro-support-0.2.93 \ - wasm-bindgen-shared-0.2.93 \ + vsimd-0.8.0 \ + wasm-bindgen-0.2.121 \ + wasm-bindgen-macro-0.2.121 \ + wasm-bindgen-macro-support-0.2.121 \ + wasm-bindgen-shared-0.2.121 \ + windows-link-0.2.1 \ windows-sys-0.59.0 \ windows-targets-0.52.6 \ windows_aarch64_gnullvm-0.52.6 \ windows_aarch64_msvc-0.52.6 \ windows_i686_gnu-0.52.6 \ windows_i686_gnullvm-0.52.6 \ windows_i686_msvc-0.52.6 \ windows_x86_64_gnu-0.52.6 \ windows_x86_64_gnullvm-0.52.6 \ windows_x86_64_msvc-0.52.6 \ + writeable-0.6.3 \ wyz-0.5.1 \ - xxhash-rust-0.8.12 \ - zerocopy-0.7.35 \ - zerocopy-derive-0.7.35 + xxhash-rust-0.8.15 \ + yoke-0.8.2 \ + yoke-derive-0.8.2 \ + zerocopy-0.8.48 \ + zerocopy-derive-0.8.48 \ + zerofrom-0.1.7 \ + zerofrom-derive-0.1.7 \ + zerotrie-0.2.4 \ + zerovec-0.11.6 \ + zerovec-derive-0.11.3 \ + zmij-1.0.21 diff --git a/www/chromium/distinfo b/www/chromium/distinfo index 928cf1a5a4f3..98ab1cb2a1f9 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,343 +1,419 @@ -TIMESTAMP = 1782817538 -SHA256 (chromium-149.0.7827.200-lite.tar.xz) = 0bac4b774a3f629753cf4f5aa8fa76bc8c79cf6fcd4dd22c2d9ae15703c3e7da -SIZE (chromium-149.0.7827.200-lite.tar.xz) = 1609734124 +TIMESTAMP = 1782888038 +SHA256 (chromium-150.0.7871.46-lite.tar.xz) = e2654fa7c37ddc20af98f91089ad580e347ca9c526f8de8e625fe1b1cf3d98c6 +SIZE (chromium-150.0.7871.46-lite.tar.xz) = 1667309220 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (chromium-149.0.7827.200-testdata.tar.xz) = 557ad514d6292ad077e1e522643bd5cdbe008cc76d8528931f59eb21fb58094d -SIZE (chromium-149.0.7827.200-testdata.tar.xz) = 1314825672 -SHA256 (rust/crates/Inflector-0.11.4.crate) = fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3 -SIZE (rust/crates/Inflector-0.11.4.crate) = 17438 -SHA256 (rust/crates/ahash-0.8.11.crate) = e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011 -SIZE (rust/crates/ahash-0.8.11.crate) = 43607 -SHA256 (rust/crates/aho-corasick-1.1.3.crate) = 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916 -SIZE (rust/crates/aho-corasick-1.1.3.crate) = 183311 -SHA256 (rust/crates/allocator-api2-0.2.18.crate) = 5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f -SIZE (rust/crates/allocator-api2-0.2.18.crate) = 62504 -SHA256 (rust/crates/anyhow-1.0.89.crate) = 86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6 -SIZE (rust/crates/anyhow-1.0.89.crate) = 47078 +SHA256 (chromium-150.0.7871.46-testdata.tar.xz) = 668f398d2c3e010577c74641a2609997531ff39e7b594514f8f4b4cf5d52f75a +SIZE (chromium-150.0.7871.46-testdata.tar.xz) = 1314546092 +SHA256 (rust/crates/ahash-0.8.12.crate) = 5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75 +SIZE (rust/crates/ahash-0.8.12.crate) = 43413 +SHA256 (rust/crates/aho-corasick-1.1.4.crate) = ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301 +SIZE (rust/crates/aho-corasick-1.1.4.crate) = 184015 +SHA256 (rust/crates/allocator-api2-0.2.21.crate) = 683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923 +SIZE (rust/crates/allocator-api2-0.2.21.crate) = 63622 +SHA256 (rust/crates/anyhow-1.0.102.crate) = 7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c +SIZE (rust/crates/anyhow-1.0.102.crate) = 48658 +SHA256 (rust/crates/ar_archive_writer-0.5.1.crate) = 7eb93bbb63b9c227414f6eb3a0adfddca591a8ce1e9b60661bb08969b87e340b +SIZE (rust/crates/ar_archive_writer-0.5.1.crate) = 85345 SHA256 (rust/crates/arrayvec-0.7.6.crate) = 7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50 SIZE (rust/crates/arrayvec-0.7.6.crate) = 31237 -SHA256 (rust/crates/ast_node-0.10.0.crate) = 9f8486443b68ecc17b8b45c6161b0194142f74622ed8dade227480a20291fc91 -SIZE (rust/crates/ast_node-0.10.0.crate) = 8073 -SHA256 (rust/crates/autocfg-1.3.0.crate) = 0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0 -SIZE (rust/crates/autocfg-1.3.0.crate) = 16524 +SHA256 (rust/crates/ascii-1.1.0.crate) = d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16 +SIZE (rust/crates/ascii-1.1.0.crate) = 36075 +SHA256 (rust/crates/ast_node-5.0.0.crate) = 2eb025ef00a6da925cf40870b9c8d008526b6004ece399cb0974209720f0b194 +SIZE (rust/crates/ast_node-5.0.0.crate) = 12169 +SHA256 (rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 +SIZE (rust/crates/autocfg-1.5.0.crate) = 18729 SHA256 (rust/crates/base-encode-0.3.1.crate) = a17bd29f7c70f32e9387f4d4acfa5ea7b7749ef784fb78cf382df97069337b8c SIZE (rust/crates/base-encode-0.3.1.crate) = 3630 -SHA256 (rust/crates/base64-0.21.7.crate) = 9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567 -SIZE (rust/crates/base64-0.21.7.crate) = 82576 -SHA256 (rust/crates/base64-simd-0.7.0.crate) = 781dd20c3aff0bd194fe7d2a977dd92f21c173891f3a03b677359e5fa457e5d5 -SIZE (rust/crates/base64-simd-0.7.0.crate) = 9966 -SHA256 (rust/crates/better_scoped_tls-0.1.1.crate) = 794edcc9b3fb07bb4aecaa11f093fd45663b4feadb782d68303a2268bc2701de -SIZE (rust/crates/better_scoped_tls-0.1.1.crate) = 1874 -SHA256 (rust/crates/bitflags-2.6.0.crate) = b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de -SIZE (rust/crates/bitflags-2.6.0.crate) = 45357 +SHA256 (rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 +SIZE (rust/crates/base64-0.22.1.crate) = 81597 +SHA256 (rust/crates/base64-simd-0.8.0.crate) = 339abbe78e73178762e23bea9dfd08e697eb3f3301cd4be981c0f78ba5859195 +SIZE (rust/crates/base64-simd-0.8.0.crate) = 12531 +SHA256 (rust/crates/better_scoped_tls-1.0.1.crate) = 7cd228125315b132eed175bf47619ac79b945b26e56b848ba203ae4ea8603609 +SIZE (rust/crates/better_scoped_tls-1.0.1.crate) = 2140 +SHA256 (rust/crates/bitflags-2.11.1.crate) = c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3 +SIZE (rust/crates/bitflags-2.11.1.crate) = 49082 SHA256 (rust/crates/bitvec-1.0.1.crate) = 1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c SIZE (rust/crates/bitvec-1.0.1.crate) = 224375 -SHA256 (rust/crates/bumpalo-3.16.0.crate) = 79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c -SIZE (rust/crates/bumpalo-3.16.0.crate) = 85677 -SHA256 (rust/crates/cc-1.1.21.crate) = 07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0 -SIZE (rust/crates/cc-1.1.21.crate) = 83463 -SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd -SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 -SHA256 (rust/crates/convert_case-0.6.0.crate) = ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca -SIZE (rust/crates/convert_case-0.6.0.crate) = 18675 -SHA256 (rust/crates/ctor-0.2.8.crate) = edb49164822f3ee45b17acd4a208cfc1251410cf0cad9a833234c9890774dd9f -SIZE (rust/crates/ctor-0.2.8.crate) = 11053 -SHA256 (rust/crates/cty-0.2.2.crate) = b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35 -SIZE (rust/crates/cty-0.2.2.crate) = 7230 +SHA256 (rust/crates/bstr-1.12.1.crate) = 63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab +SIZE (rust/crates/bstr-1.12.1.crate) = 354916 +SHA256 (rust/crates/bumpalo-3.20.2.crate) = 5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb +SIZE (rust/crates/bumpalo-3.20.2.crate) = 97696 +SHA256 (rust/crates/bytes-1.11.1.crate) = 1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33 +SIZE (rust/crates/bytes-1.11.1.crate) = 78584 +SHA256 (rust/crates/bytes-str-0.2.7.crate) = 7c60b5ce37e0b883c37eb89f79a1e26fbe9c1081945d024eee93e8d91a7e18b3 +SIZE (rust/crates/bytes-str-0.2.7.crate) = 10230 +SHA256 (rust/crates/castaway-0.2.4.crate) = dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a +SIZE (rust/crates/castaway-0.2.4.crate) = 12546 +SHA256 (rust/crates/cc-1.2.61.crate) = d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d +SIZE (rust/crates/cc-1.2.61.crate) = 97163 +SHA256 (rust/crates/cfg-if-1.0.4.crate) = 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 +SIZE (rust/crates/cfg-if-1.0.4.crate) = 9360 +SHA256 (rust/crates/cmake-0.1.58.crate) = c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678 +SIZE (rust/crates/cmake-0.1.58.crate) = 20474 +SHA256 (rust/crates/compact_str-0.7.1.crate) = f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f +SIZE (rust/crates/compact_str-0.7.1.crate) = 57246 +SHA256 (rust/crates/console_error_panic_hook-0.1.7.crate) = a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc +SIZE (rust/crates/console_error_panic_hook-0.1.7.crate) = 507196 +SHA256 (rust/crates/convert_case-0.11.0.crate) = affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49 +SIZE (rust/crates/convert_case-0.11.0.crate) = 31545 +SHA256 (rust/crates/ctor-0.11.1.crate) = 400a21f1014a968ec518c7ccdf9b4a4ed0cac8c56ccb6d604f8b91f00110501e +SIZE (rust/crates/ctor-0.11.1.crate) = 32910 SHA256 (rust/crates/dashmap-5.5.3.crate) = 978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856 SIZE (rust/crates/dashmap-5.5.3.crate) = 24061 -SHA256 (rust/crates/data-encoding-2.6.0.crate) = e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2 -SIZE (rust/crates/data-encoding-2.6.0.crate) = 20769 +SHA256 (rust/crates/data-encoding-2.11.0.crate) = a4ae5f15dda3c708c0ade84bfee31ccab44a3da4f88015ed22f63732abe300c8 +SIZE (rust/crates/data-encoding-2.11.0.crate) = 22677 SHA256 (rust/crates/debugid-0.8.0.crate) = bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d SIZE (rust/crates/debugid-0.8.0.crate) = 12757 -SHA256 (rust/crates/either-1.13.0.crate) = 60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0 -SIZE (rust/crates/either-1.13.0.crate) = 19169 -SHA256 (rust/crates/equivalent-1.0.1.crate) = 5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5 -SIZE (rust/crates/equivalent-1.0.1.crate) = 6615 -SHA256 (rust/crates/fixedbitset-0.4.2.crate) = 0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80 -SIZE (rust/crates/fixedbitset-0.4.2.crate) = 15954 -SHA256 (rust/crates/form_urlencoded-1.2.1.crate) = e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456 -SIZE (rust/crates/form_urlencoded-1.2.1.crate) = 8969 -SHA256 (rust/crates/from_variant-0.1.9.crate) = 32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4 -SIZE (rust/crates/from_variant-0.1.9.crate) = 1617 +SHA256 (rust/crates/displaydoc-0.2.5.crate) = 97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0 +SIZE (rust/crates/displaydoc-0.2.5.crate) = 24219 +SHA256 (rust/crates/dragonbox_ecma-0.1.12.crate) = fd8e701084c37e7ef62d3f9e453b618130cbc0ef3573847785952a3ac3f746bf +SIZE (rust/crates/dragonbox_ecma-0.1.12.crate) = 46796 +SHA256 (rust/crates/either-1.15.0.crate) = 48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719 +SIZE (rust/crates/either-1.15.0.crate) = 20114 +SHA256 (rust/crates/equivalent-1.0.2.crate) = 877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f +SIZE (rust/crates/equivalent-1.0.2.crate) = 7419 +SHA256 (rust/crates/find-msvc-tools-0.1.9.crate) = 5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582 +SIZE (rust/crates/find-msvc-tools-0.1.9.crate) = 31493 +SHA256 (rust/crates/fixedbitset-0.5.7.crate) = 1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99 +SIZE (rust/crates/fixedbitset-0.5.7.crate) = 26537 +SHA256 (rust/crates/foldhash-0.2.0.crate) = 77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb +SIZE (rust/crates/foldhash-0.2.0.crate) = 23329 +SHA256 (rust/crates/form_urlencoded-1.2.2.crate) = cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf +SIZE (rust/crates/form_urlencoded-1.2.2.crate) = 9347 +SHA256 (rust/crates/from_variant-3.0.0.crate) = e5ff35a391aef949120a0340d690269b3d9f63460a6106e99bd07b961f345ea9 +SIZE (rust/crates/from_variant-3.0.0.crate) = 2391 SHA256 (rust/crates/funty-2.0.0.crate) = e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c SIZE (rust/crates/funty-2.0.0.crate) = 13160 -SHA256 (rust/crates/getrandom-0.2.15.crate) = c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7 -SIZE (rust/crates/getrandom-0.2.15.crate) = 37163 +SHA256 (rust/crates/futures-0.3.32.crate) = 8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d +SIZE (rust/crates/futures-0.3.32.crate) = 61234 +SHA256 (rust/crates/futures-channel-0.3.32.crate) = 07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d +SIZE (rust/crates/futures-channel-0.3.32.crate) = 33213 +SHA256 (rust/crates/futures-core-0.3.32.crate) = 7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d +SIZE (rust/crates/futures-core-0.3.32.crate) = 14684 +SHA256 (rust/crates/futures-executor-0.3.32.crate) = baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d +SIZE (rust/crates/futures-executor-0.3.32.crate) = 18581 +SHA256 (rust/crates/futures-io-0.3.32.crate) = cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718 +SIZE (rust/crates/futures-io-0.3.32.crate) = 9191 +SHA256 (rust/crates/futures-macro-0.3.32.crate) = e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b +SIZE (rust/crates/futures-macro-0.3.32.crate) = 11929 +SHA256 (rust/crates/futures-sink-0.3.32.crate) = c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893 +SIZE (rust/crates/futures-sink-0.3.32.crate) = 8106 +SHA256 (rust/crates/futures-task-0.3.32.crate) = 037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393 +SIZE (rust/crates/futures-task-0.3.32.crate) = 11377 +SHA256 (rust/crates/futures-util-0.3.32.crate) = 389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6 +SIZE (rust/crates/futures-util-0.3.32.crate) = 168797 +SHA256 (rust/crates/globset-0.4.18.crate) = 52dfc19153a48bde0cbd630453615c8151bce3a5adfac7a0aebfbf0a1e1f57e3 +SIZE (rust/crates/globset-0.4.18.crate) = 28970 SHA256 (rust/crates/hashbrown-0.14.5.crate) = e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1 SIZE (rust/crates/hashbrown-0.14.5.crate) = 141498 -SHA256 (rust/crates/hermit-abi-0.3.9.crate) = d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024 -SIZE (rust/crates/hermit-abi-0.3.9.crate) = 16165 -SHA256 (rust/crates/hstr-0.2.12.crate) = dae404c0c5d4e95d4858876ab02eecd6a196bb8caa42050dfa809938833fc412 -SIZE (rust/crates/hstr-0.2.12.crate) = 22307 -SHA256 (rust/crates/idna-0.5.0.crate) = 634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6 -SIZE (rust/crates/idna-0.5.0.crate) = 271940 -SHA256 (rust/crates/if_chain-1.0.2.crate) = cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed -SIZE (rust/crates/if_chain-1.0.2.crate) = 8062 -SHA256 (rust/crates/indexmap-2.5.0.crate) = 68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5 -SIZE (rust/crates/indexmap-2.5.0.crate) = 85919 -SHA256 (rust/crates/is-macro-0.3.6.crate) = 2069faacbe981460232f880d26bf3c7634e322d49053aa48c27e3ae642f728f1 -SIZE (rust/crates/is-macro-0.3.6.crate) = 9068 -SHA256 (rust/crates/itoa-1.0.11.crate) = 49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b -SIZE (rust/crates/itoa-1.0.11.crate) = 10563 -SHA256 (rust/crates/js-sys-0.3.70.crate) = 1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a -SIZE (rust/crates/js-sys-0.3.70.crate) = 53863 -SHA256 (rust/crates/libc-0.2.158.crate) = d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439 -SIZE (rust/crates/libc-0.2.158.crate) = 751340 -SHA256 (rust/crates/libloading-0.8.5.crate) = 4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4 -SIZE (rust/crates/libloading-0.8.5.crate) = 28902 -SHA256 (rust/crates/lock_api-0.4.12.crate) = 07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17 -SIZE (rust/crates/lock_api-0.4.12.crate) = 27591 -SHA256 (rust/crates/log-0.4.22.crate) = a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24 -SIZE (rust/crates/log-0.4.22.crate) = 44027 -SHA256 (rust/crates/memchr-2.7.4.crate) = 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3 -SIZE (rust/crates/memchr-2.7.4.crate) = 96670 -SHA256 (rust/crates/mimalloc-rust-0.2.1.crate) = 5eb726c8298efb4010b2c46d8050e4be36cf807b9d9e98cb112f830914fc9bbe -SIZE (rust/crates/mimalloc-rust-0.2.1.crate) = 5327 -SHA256 (rust/crates/mimalloc-rust-sys-1.7.9-source.crate) = 6413e13241a9809f291568133eca6694572cf528c1a6175502d090adce5dd5db -SIZE (rust/crates/mimalloc-rust-sys-1.7.9-source.crate) = 134952 -SHA256 (rust/crates/napi-2.16.11.crate) = 53575dfa17f208dd1ce3a2da2da4659aae393b256a472f2738a8586a6c4107fd -SIZE (rust/crates/napi-2.16.11.crate) = 85909 -SHA256 (rust/crates/napi-build-2.1.3.crate) = e1c0f5d67ee408a4685b61f5ab7e58605c8ae3f2b4189f0127d804ff13d5560a -SIZE (rust/crates/napi-build-2.1.3.crate) = 2096 -SHA256 (rust/crates/napi-derive-2.16.12.crate) = 17435f7a00bfdab20b0c27d9c56f58f6499e418252253081bfff448099da31d1 -SIZE (rust/crates/napi-derive-2.16.12.crate) = 17184 -SHA256 (rust/crates/napi-derive-backend-1.0.74.crate) = 967c485e00f0bf3b1bdbe510a38a4606919cf1d34d9a37ad41f25a81aa077abe -SIZE (rust/crates/napi-derive-backend-1.0.74.crate) = 21755 -SHA256 (rust/crates/napi-sys-2.4.0.crate) = 427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3 -SIZE (rust/crates/napi-sys-2.4.0.crate) = 6582 +SHA256 (rust/crates/hashbrown-0.16.1.crate) = 841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100 +SIZE (rust/crates/hashbrown-0.16.1.crate) = 147785 +SHA256 (rust/crates/hashbrown-0.17.0.crate) = 4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51 +SIZE (rust/crates/hashbrown-0.17.0.crate) = 154597 +SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea +SIZE (rust/crates/heck-0.5.0.crate) = 11517 +SHA256 (rust/crates/hermit-abi-0.5.2.crate) = fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c +SIZE (rust/crates/hermit-abi-0.5.2.crate) = 17435 +SHA256 (rust/crates/hstr-3.0.4.crate) = faa57007c3c9dab34df2fa4c1fb52fe9c34ec5a27ed9d8edea53254b50cd7887 +SIZE (rust/crates/hstr-3.0.4.crate) = 41168 +SHA256 (rust/crates/icu_collections-2.2.0.crate) = 2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c +SIZE (rust/crates/icu_collections-2.2.0.crate) = 88011 +SHA256 (rust/crates/icu_locale_core-2.2.0.crate) = 92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29 +SIZE (rust/crates/icu_locale_core-2.2.0.crate) = 78639 +SHA256 (rust/crates/icu_normalizer-2.2.0.crate) = c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4 +SIZE (rust/crates/icu_normalizer-2.2.0.crate) = 78154 +SHA256 (rust/crates/icu_normalizer_data-2.2.0.crate) = da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38 +SIZE (rust/crates/icu_normalizer_data-2.2.0.crate) = 67134 +SHA256 (rust/crates/icu_properties-2.2.0.crate) = bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de +SIZE (rust/crates/icu_properties-2.2.0.crate) = 63950 +SHA256 (rust/crates/icu_properties_data-2.2.0.crate) = 8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14 +SIZE (rust/crates/icu_properties_data-2.2.0.crate) = 168901 +SHA256 (rust/crates/icu_provider-2.2.0.crate) = 139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421 +SIZE (rust/crates/icu_provider-2.2.0.crate) = 51620 +SHA256 (rust/crates/idna-1.1.0.crate) = 3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de +SIZE (rust/crates/idna-1.1.0.crate) = 148747 +SHA256 (rust/crates/idna_adapter-1.2.2.crate) = cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714 +SIZE (rust/crates/idna_adapter-1.2.2.crate) = 10444 +SHA256 (rust/crates/if_chain-1.0.3.crate) = cd62e6b5e86ea8eeeb8db1de02880a6abc01a397b2ebb64b5d74ac255318f5cb +SIZE (rust/crates/if_chain-1.0.3.crate) = 8384 +SHA256 (rust/crates/indexmap-2.14.0.crate) = d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9 +SIZE (rust/crates/indexmap-2.14.0.crate) = 104085 +SHA256 (rust/crates/is-macro-0.3.7.crate) = 1d57a3e447e24c22647738e4607f1df1e0ec6f72e16182c4cd199f647cdfb0e4 +SIZE (rust/crates/is-macro-0.3.7.crate) = 9060 +SHA256 (rust/crates/itoa-1.0.18.crate) = 8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682 +SIZE (rust/crates/itoa-1.0.18.crate) = 15935 +SHA256 (rust/crates/js-sys-0.3.98.crate) = 67df7112613f8bfd9150013a0314e196f4800d3201ae742489d999db2f979f08 +SIZE (rust/crates/js-sys-0.3.98.crate) = 108519 +SHA256 (rust/crates/libc-0.2.186.crate) = 68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66 +SIZE (rust/crates/libc-0.2.186.crate) = 821883 +SHA256 (rust/crates/libloading-0.9.0.crate) = 754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60 +SIZE (rust/crates/libloading-0.9.0.crate) = 33816 +SHA256 (rust/crates/libmimalloc-sys2-0.1.54.crate) = e8cac9b2d60928163027249a1ebd0ec8e6c58b66dca93cccf58ee618e66fc062 +SIZE (rust/crates/libmimalloc-sys2-0.1.54.crate) = 1642853 +SHA256 (rust/crates/litemap-0.8.2.crate) = 92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0 +SIZE (rust/crates/litemap-0.8.2.crate) = 34572 +SHA256 (rust/crates/lock_api-0.4.14.crate) = 224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965 +SIZE (rust/crates/lock_api-0.4.14.crate) = 29249 +SHA256 (rust/crates/memchr-2.8.0.crate) = f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79 +SIZE (rust/crates/memchr-2.8.0.crate) = 97780 +SHA256 (rust/crates/mimalloc-safe-0.1.58.crate) = a8bf95a709c09e85ae74e77b2413cbb11a1b8f2f3d11e23b3751382467c9c15c +SIZE (rust/crates/mimalloc-safe-0.1.58.crate) = 7282 +SHA256 (rust/crates/napi-3.8.6.crate) = 8e55037284865448ecf329baa86a4d05401f647ebde99f5747b640d32c2c5226 +SIZE (rust/crates/napi-3.8.6.crate) = 129092 +SHA256 (rust/crates/napi-build-2.3.1.crate) = d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1 +SIZE (rust/crates/napi-build-2.3.1.crate) = 3233 +SHA256 (rust/crates/napi-derive-3.5.5.crate) = a4ba740fe4c9524d86fd90798fd8ccdb23402b3eef7e7c30897a8a369b529fcf +SIZE (rust/crates/napi-derive-3.5.5.crate) = 22629 +SHA256 (rust/crates/napi-derive-backend-5.0.4.crate) = 0d5af30503edf933ce7377cf6d4c877a62b0f1107ea05585f1b5e430e88d5baf +SIZE (rust/crates/napi-derive-backend-5.0.4.crate) = 35478 +SHA256 (rust/crates/napi-sys-3.2.1.crate) = 8eb602b84d7c1edae45e50bbf1374696548f36ae179dfa667f577e384bb90c2b +SIZE (rust/crates/napi-sys-3.2.1.crate) = 7465 SHA256 (rust/crates/new_debug_unreachable-1.0.6.crate) = 650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086 SIZE (rust/crates/new_debug_unreachable-1.0.6.crate) = 2582 +SHA256 (rust/crates/nohash-hasher-0.2.0.crate) = 2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451 +SIZE (rust/crates/nohash-hasher-0.2.0.crate) = 8051 SHA256 (rust/crates/num-bigint-0.4.6.crate) = a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9 SIZE (rust/crates/num-bigint-0.4.6.crate) = 102801 SHA256 (rust/crates/num-integer-0.1.46.crate) = 7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f SIZE (rust/crates/num-integer-0.1.46.crate) = 22331 SHA256 (rust/crates/num-traits-0.2.19.crate) = 071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841 SIZE (rust/crates/num-traits-0.2.19.crate) = 51631 -SHA256 (rust/crates/num_cpus-1.16.0.crate) = 4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43 -SIZE (rust/crates/num_cpus-1.16.0.crate) = 15713 -SHA256 (rust/crates/once_cell-1.19.0.crate) = 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92 -SIZE (rust/crates/once_cell-1.19.0.crate) = 33046 -SHA256 (rust/crates/outref-0.1.0.crate) = 7f222829ae9293e33a9f5e9f440c6760a3d450a64affe1846486b140db81c1f4 -SIZE (rust/crates/outref-0.1.0.crate) = 3067 -SHA256 (rust/crates/parking_lot-0.12.3.crate) = f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27 -SIZE (rust/crates/parking_lot-0.12.3.crate) = 41860 -SHA256 (rust/crates/parking_lot_core-0.9.10.crate) = 1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8 -SIZE (rust/crates/parking_lot_core-0.9.10.crate) = 32406 -SHA256 (rust/crates/pathdiff-0.2.1.crate) = 8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd -SIZE (rust/crates/pathdiff-0.2.1.crate) = 7142 -SHA256 (rust/crates/percent-encoding-2.3.1.crate) = e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e -SIZE (rust/crates/percent-encoding-2.3.1.crate) = 10235 -SHA256 (rust/crates/petgraph-0.6.5.crate) = b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db -SIZE (rust/crates/petgraph-0.6.5.crate) = 710970 -SHA256 (rust/crates/phf-0.11.2.crate) = ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc -SIZE (rust/crates/phf-0.11.2.crate) = 21569 -SHA256 (rust/crates/phf_generator-0.11.2.crate) = 48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0 -SIZE (rust/crates/phf_generator-0.11.2.crate) = 14190 -SHA256 (rust/crates/phf_macros-0.11.2.crate) = 3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b -SIZE (rust/crates/phf_macros-0.11.2.crate) = 4748 -SHA256 (rust/crates/phf_shared-0.11.2.crate) = 90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b -SIZE (rust/crates/phf_shared-0.11.2.crate) = 14284 -SHA256 (rust/crates/pin-project-lite-0.2.14.crate) = bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02 -SIZE (rust/crates/pin-project-lite-0.2.14.crate) = 28817 -SHA256 (rust/crates/proc-macro2-1.0.86.crate) = 5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77 -SIZE (rust/crates/proc-macro2-1.0.86.crate) = 48958 -SHA256 (rust/crates/psm-0.1.23.crate) = aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205 -SIZE (rust/crates/psm-0.1.23.crate) = 23318 -SHA256 (rust/crates/ptr_meta-0.1.4.crate) = 0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1 -SIZE (rust/crates/ptr_meta-0.1.4.crate) = 5754 -SHA256 (rust/crates/ptr_meta_derive-0.1.4.crate) = 16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac -SIZE (rust/crates/ptr_meta_derive-0.1.4.crate) = 2302 -SHA256 (rust/crates/quote-1.0.37.crate) = b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af -SIZE (rust/crates/quote-1.0.37.crate) = 28558 +SHA256 (rust/crates/num_cpus-1.17.0.crate) = 91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b +SIZE (rust/crates/num_cpus-1.17.0.crate) = 15874 +SHA256 (rust/crates/object-0.37.3.crate) = ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe +SIZE (rust/crates/object-0.37.3.crate) = 344032 +SHA256 (rust/crates/once_cell-1.21.4.crate) = 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 +SIZE (rust/crates/once_cell-1.21.4.crate) = 35010 +SHA256 (rust/crates/outref-0.5.2.crate) = 1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e +SIZE (rust/crates/outref-0.5.2.crate) = 5621 +SHA256 (rust/crates/par-core-2.0.0.crate) = e96cbd21255b7fb29a5d51ef38a779b517a91abd59e2756c039583f43ef4c90f +SIZE (rust/crates/par-core-2.0.0.crate) = 2443 +SHA256 (rust/crates/par-iter-2.0.0.crate) = 3eae0176a010bb94b9a67f0eb9da0fd31410817d58850649c54f485124c9a71a +SIZE (rust/crates/par-iter-2.0.0.crate) = 152109 +SHA256 (rust/crates/parking_lot-0.12.5.crate) = 93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a +SIZE (rust/crates/parking_lot-0.12.5.crate) = 46735 +SHA256 (rust/crates/parking_lot_core-0.9.12.crate) = 2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1 +SIZE (rust/crates/parking_lot_core-0.9.12.crate) = 34110 +SHA256 (rust/crates/pathdiff-0.2.3.crate) = df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3 +SIZE (rust/crates/pathdiff-0.2.3.crate) = 7495 +SHA256 (rust/crates/percent-encoding-2.3.2.crate) = 9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220 +SIZE (rust/crates/percent-encoding-2.3.2.crate) = 11583 +SHA256 (rust/crates/petgraph-0.7.1.crate) = 3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772 +SIZE (rust/crates/petgraph-0.7.1.crate) = 736025 +SHA256 (rust/crates/phf-0.11.3.crate) = 1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078 +SIZE (rust/crates/phf-0.11.3.crate) = 23231 +SHA256 (rust/crates/phf_generator-0.11.3.crate) = 3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d +SIZE (rust/crates/phf_generator-0.11.3.crate) = 15431 +SHA256 (rust/crates/phf_macros-0.11.3.crate) = f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216 +SIZE (rust/crates/phf_macros-0.11.3.crate) = 18436 +SHA256 (rust/crates/phf_shared-0.11.3.crate) = 67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5 +SIZE (rust/crates/phf_shared-0.11.3.crate) = 15199 +SHA256 (rust/crates/pin-project-lite-0.2.17.crate) = a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd +SIZE (rust/crates/pin-project-lite-0.2.17.crate) = 31034 +SHA256 (rust/crates/potential_utf-0.1.5.crate) = 0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564 +SIZE (rust/crates/potential_utf-0.1.5.crate) = 10189 +SHA256 (rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 +SIZE (rust/crates/proc-macro2-1.0.106.crate) = 59765 +SHA256 (rust/crates/psm-0.1.31.crate) = 645dbe486e346d9b5de3ef16ede18c26e6c70ad97418f4874b8b1889d6e761ea +SIZE (rust/crates/psm-0.1.31.crate) = 25059 +SHA256 (rust/crates/quote-1.0.45.crate) = 41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924 +SIZE (rust/crates/quote-1.0.45.crate) = 31564 SHA256 (rust/crates/radium-0.7.0.crate) = dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09 SIZE (rust/crates/radium-0.7.0.crate) = 10906 SHA256 (rust/crates/radix_fmt-1.0.0.crate) = ce082a9940a7ace2ad4a8b7d0b1eac6aa378895f18be598230c5f2284ac05426 SIZE (rust/crates/radix_fmt-1.0.0.crate) = 8743 -SHA256 (rust/crates/rand-0.8.5.crate) = 34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404 -SIZE (rust/crates/rand-0.8.5.crate) = 87113 +SHA256 (rust/crates/rand-0.8.6.crate) = 5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a +SIZE (rust/crates/rand-0.8.6.crate) = 83339 SHA256 (rust/crates/rand_core-0.6.4.crate) = ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c SIZE (rust/crates/rand_core-0.6.4.crate) = 22666 -SHA256 (rust/crates/redox_syscall-0.5.4.crate) = 0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853 -SIZE (rust/crates/redox_syscall-0.5.4.crate) = 25977 -SHA256 (rust/crates/regex-1.10.6.crate) = 4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619 -SIZE (rust/crates/regex-1.10.6.crate) = 253894 -SHA256 (rust/crates/regex-automata-0.4.7.crate) = 38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df -SIZE (rust/crates/regex-automata-0.4.7.crate) = 617582 -SHA256 (rust/crates/regex-syntax-0.8.4.crate) = 7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b -SIZE (rust/crates/regex-syntax-0.8.4.crate) = 347577 -SHA256 (rust/crates/rustc-hash-1.1.0.crate) = 08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2 -SIZE (rust/crates/rustc-hash-1.1.0.crate) = 9331 -SHA256 (rust/crates/rustc_version-0.2.3.crate) = 138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a -SIZE (rust/crates/rustc_version-0.2.3.crate) = 10210 -SHA256 (rust/crates/ryu-1.0.18.crate) = f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f -SIZE (rust/crates/ryu-1.0.18.crate) = 47713 -SHA256 (rust/crates/ryu-js-1.0.1.crate) = ad97d4ce1560a5e27cec89519dc8300d1aa6035b099821261c651486a19e44d5 -SIZE (rust/crates/ryu-js-1.0.1.crate) = 74220 +SHA256 (rust/crates/redox_syscall-0.5.18.crate) = ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d +SIZE (rust/crates/redox_syscall-0.5.18.crate) = 30747 +SHA256 (rust/crates/regex-1.12.3.crate) = e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276 +SIZE (rust/crates/regex-1.12.3.crate) = 153392 +SHA256 (rust/crates/regex-automata-0.4.14.crate) = 6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f +SIZE (rust/crates/regex-automata-0.4.14.crate) = 618012 +SHA256 (rust/crates/regex-syntax-0.8.10.crate) = dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a +SIZE (rust/crates/regex-syntax-0.8.10.crate) = 358781 +SHA256 (rust/crates/regress-0.10.5.crate) = 2057b2325e68a893284d1538021ab90279adac1139957ca2a74426c6f118fb48 +SIZE (rust/crates/regress-0.10.5.crate) = 346868 +SHA256 (rust/crates/rustc-hash-2.1.2.crate) = 94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe +SIZE (rust/crates/rustc-hash-2.1.2.crate) = 14754 +SHA256 (rust/crates/rustversion-1.0.22.crate) = b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d +SIZE (rust/crates/rustversion-1.0.22.crate) = 21096 +SHA256 (rust/crates/ryu-1.0.23.crate) = 9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f +SIZE (rust/crates/ryu-1.0.23.crate) = 52823 +SHA256 (rust/crates/ryu-js-1.0.2.crate) = dd29631678d6fb0903b69223673e122c32e9ae559d0960a38d574695ebc0ea15 +SIZE (rust/crates/ryu-js-1.0.2.crate) = 75035 SHA256 (rust/crates/scoped-tls-1.0.1.crate) = e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294 SIZE (rust/crates/scoped-tls-1.0.1.crate) = 8202 SHA256 (rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49 SIZE (rust/crates/scopeguard-1.2.0.crate) = 11619 -SHA256 (rust/crates/semver-0.9.0.crate) = 1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403 -SIZE (rust/crates/semver-0.9.0.crate) = 17344 -SHA256 (rust/crates/semver-1.0.23.crate) = 61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b -SIZE (rust/crates/semver-1.0.23.crate) = 30622 -SHA256 (rust/crates/semver-parser-0.7.0.crate) = 388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3 -SIZE (rust/crates/semver-parser-0.7.0.crate) = 10268 -SHA256 (rust/crates/serde-1.0.210.crate) = c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a -SIZE (rust/crates/serde-1.0.210.crate) = 78338 -SHA256 (rust/crates/serde_derive-1.0.210.crate) = 243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f -SIZE (rust/crates/serde_derive-1.0.210.crate) = 56020 -SHA256 (rust/crates/serde_json-1.0.128.crate) = 6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8 -SIZE (rust/crates/serde_json-1.0.128.crate) = 149520 +SHA256 (rust/crates/semver-1.0.28.crate) = 8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd +SIZE (rust/crates/semver-1.0.28.crate) = 33064 +SHA256 (rust/crates/seq-macro-0.3.6.crate) = 1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc +SIZE (rust/crates/seq-macro-0.3.6.crate) = 16031 +SHA256 (rust/crates/serde-1.0.228.crate) = 9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e +SIZE (rust/crates/serde-1.0.228.crate) = 83652 +SHA256 (rust/crates/serde_core-1.0.228.crate) = 41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad +SIZE (rust/crates/serde_core-1.0.228.crate) = 63111 +SHA256 (rust/crates/serde_derive-1.0.228.crate) = d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79 +SIZE (rust/crates/serde_derive-1.0.228.crate) = 59605 +SHA256 (rust/crates/serde_json-1.0.149.crate) = 83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86 +SIZE (rust/crates/serde_json-1.0.149.crate) = 155994 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 -SHA256 (rust/crates/simd-abstraction-0.7.1.crate) = 9cadb29c57caadc51ff8346233b5cec1d240b68ce55cf1afc764818791876987 -SIZE (rust/crates/simd-abstraction-0.7.1.crate) = 9170 SHA256 (rust/crates/siphasher-0.3.11.crate) = 38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d SIZE (rust/crates/siphasher-0.3.11.crate) = 10442 -SHA256 (rust/crates/smallvec-1.13.2.crate) = 3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67 -SIZE (rust/crates/smallvec-1.13.2.crate) = 35216 +SHA256 (rust/crates/siphasher-1.0.3.crate) = 8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649 +SIZE (rust/crates/siphasher-1.0.3.crate) = 11643 +SHA256 (rust/crates/slab-0.4.12.crate) = 0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5 +SIZE (rust/crates/slab-0.4.12.crate) = 19080 +SHA256 (rust/crates/smallvec-1.15.1.crate) = 67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03 +SIZE (rust/crates/smallvec-1.15.1.crate) = 38116 SHA256 (rust/crates/smartstring-1.0.1.crate) = 3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29 SIZE (rust/crates/smartstring-1.0.1.crate) = 29555 -SHA256 (rust/crates/sourcemap-9.0.0.crate) = dab08a862c70980b8e23698b507e272317ae52a608a164a844111f5372374f1f -SIZE (rust/crates/sourcemap-9.0.0.crate) = 43857 -SHA256 (rust/crates/stable_deref_trait-1.2.0.crate) = a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3 -SIZE (rust/crates/stable_deref_trait-1.2.0.crate) = 8054 -SHA256 (rust/crates/stacker-0.1.17.crate) = 799c883d55abdb5e98af1a7b3f23b9b6de8ecada0ecac058672d7635eb48ca7b -SIZE (rust/crates/stacker-0.1.17.crate) = 14699 +SHA256 (rust/crates/stable_deref_trait-1.2.1.crate) = 6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596 +SIZE (rust/crates/stable_deref_trait-1.2.1.crate) = 8186 +SHA256 (rust/crates/stacker-0.1.23.crate) = 08d74a23609d509411d10e2176dc2a4346e3b4aea2e7b1869f19fdedbc71c013 +SIZE (rust/crates/stacker-0.1.23.crate) = 17813 SHA256 (rust/crates/static_assertions-1.1.0.crate) = a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f SIZE (rust/crates/static_assertions-1.1.0.crate) = 18480 -SHA256 (rust/crates/string_enum-0.4.4.crate) = 05e383308aebc257e7d7920224fa055c632478d92744eca77f99be8fa1545b90 -SIZE (rust/crates/string_enum-0.4.4.crate) = 3861 -SHA256 (rust/crates/swc_allocator-0.1.8.crate) = adc8bd3075d1c6964010333fae9ddcd91ad422a4f8eb8b3206a9b2b6afb4209e -SIZE (rust/crates/swc_allocator-0.1.8.crate) = 12576 -SHA256 (rust/crates/swc_atoms-0.7.0.crate) = 8ff4ad2795eabc349fb7ac1bdccb2625858a8be5545703ef31d5b5dc7a9f37f4 -SIZE (rust/crates/swc_atoms-0.7.0.crate) = 3503 -SHA256 (rust/crates/swc_cached-0.3.20.crate) = 83406221c501860fce9c27444f44125eafe9e598b8b81be7563d7036784cd05c -SIZE (rust/crates/swc_cached-0.3.20.crate) = 1958 -SHA256 (rust/crates/swc_common-0.39.0.crate) = 04012755fd21334086b5ee2467a6236afea869d0aff3bdf8b20dc07ee5f676c6 -SIZE (rust/crates/swc_common-0.39.0.crate) = 80673 -SHA256 (rust/crates/swc_compiler_base-0.22.0.crate) = 72452f40c7bc9c133b060cbc73f032d0c5ce87843d301e4ef33faa09008b83be -SIZE (rust/crates/swc_compiler_base-0.22.0.crate) = 5051 -SHA256 (rust/crates/swc_config-0.1.15.crate) = 4740e53eaf68b101203c1df0937d5161a29f3c13bceed0836ddfe245b72dd000 -SIZE (rust/crates/swc_config-0.1.15.crate) = 4839 -SHA256 (rust/crates/swc_config_macro-0.1.4.crate) = 7c5f56139042c1a95b54f5ca48baa0e0172d369bcc9d3d473dad1de36bae8399 -SIZE (rust/crates/swc_config_macro-0.1.4.crate) = 1717 -SHA256 (rust/crates/swc_ecma_ast-0.120.0.crate) = bb7f7d4a08f9a413b27506903a5a893a51bd0df6c8b91203fbb76aa217472ed6 -SIZE (rust/crates/swc_ecma_ast-0.120.0.crate) = 34640 -SHA256 (rust/crates/swc_ecma_codegen-0.157.0.crate) = 78ce83228e9304008f2df1d21e0e88d70232c438337f5faad27024974e2d3a09 -SIZE (rust/crates/swc_ecma_codegen-0.157.0.crate) = 52829 -SHA256 (rust/crates/swc_ecma_codegen_macros-0.7.7.crate) = 859fabde36db38634f3fad548dd5e3410c1aebba1b67a3c63e67018fa57a0bca -SIZE (rust/crates/swc_ecma_codegen_macros-0.7.7.crate) = 2945 -SHA256 (rust/crates/swc_ecma_minifier-0.207.0.crate) = 15739c02dff0b2b3fe10146b0105b7842b7f71e9340f226b6f1862db15a680f6 -SIZE (rust/crates/swc_ecma_minifier-0.207.0.crate) = 225454 -SHA256 (rust/crates/swc_ecma_parser-0.151.0.crate) = 3c23f8288f6a38f84a1b82896917eac3adf92e37dee19cbc1c42cebab7b48590 -SIZE (rust/crates/swc_ecma_parser-0.151.0.crate) = 150827 -SHA256 (rust/crates/swc_ecma_transforms_base-0.148.0.crate) = 0231922ee5391a452ea47f7bf6ffde401fd7ceb201b8ac6343c885758e33551e -SIZE (rust/crates/swc_ecma_transforms_base-0.148.0.crate) = 72533 -SHA256 (rust/crates/swc_ecma_transforms_macros-0.5.5.crate) = 500a1dadad1e0e41e417d633b3d6d5de677c9e0d3159b94ba3348436cdb15aab -SIZE (rust/crates/swc_ecma_transforms_macros-0.5.5.crate) = 3827 -SHA256 (rust/crates/swc_ecma_transforms_optimization-0.211.0.crate) = 5966e6e631795b350441fcfea34dd00d6ad637d182033697f606c82a74d64894 -SIZE (rust/crates/swc_ecma_transforms_optimization-0.211.0.crate) = 61838 -SHA256 (rust/crates/swc_ecma_usage_analyzer-0.32.0.crate) = ae003379b4b3f0ef1b149014a9bac0db7261ebd8b8abe03e51be3fd2b0134fe4 -SIZE (rust/crates/swc_ecma_usage_analyzer-0.32.0.crate) = 11954 -SHA256 (rust/crates/swc_ecma_utils-0.136.0.crate) = df9b03b44d3342bcf4e3f8a4c05605e07c642b537198a5534314c433a3767fe5 -SIZE (rust/crates/swc_ecma_utils-0.136.0.crate) = 32888 -SHA256 (rust/crates/swc_ecma_visit-0.106.0.crate) = f4ee9335a4ad1a78587d5cb0d75a8c718a53d40eaf37475e3eda9c4ed1741da0 -SIZE (rust/crates/swc_ecma_visit-0.106.0.crate) = 318891 -SHA256 (rust/crates/swc_eq_ignore_macros-0.1.4.crate) = 63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497 -SIZE (rust/crates/swc_eq_ignore_macros-0.1.4.crate) = 2741 -SHA256 (rust/crates/swc_fast_graph-0.27.0.crate) = accc67d03a5b88d5d8fc4ba051738075ba0e12194d1dc26f9f88a776026fe938 -SIZE (rust/crates/swc_fast_graph-0.27.0.crate) = 7100 -SHA256 (rust/crates/swc_macros_common-0.3.13.crate) = f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847 -SIZE (rust/crates/swc_macros_common-0.3.13.crate) = 6666 -SHA256 (rust/crates/swc_timer-0.27.0.crate) = f53899e4ab3f9ce3db83b4c845f8a27f37bf700b233febbc9a6da749651c2fbb -SIZE (rust/crates/swc_timer-0.27.0.crate) = 1680 -SHA256 (rust/crates/swc_visit-0.6.2.crate) = 1ceb044142ba2719ef9eb3b6b454fce61ab849eb696c34d190f04651955c613d -SIZE (rust/crates/swc_visit-0.6.2.crate) = 5188 -SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237 -SIZE (rust/crates/syn-1.0.109.crate) = 237611 -SHA256 (rust/crates/syn-2.0.77.crate) = 9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed -SIZE (rust/crates/syn-2.0.77.crate) = 268784 +SHA256 (rust/crates/string_enum-1.0.2.crate) = ae36a4951ca7bd1cfd991c241584a9824a70f6aff1e7d4f693fb3f2465e4030e +SIZE (rust/crates/string_enum-1.0.2.crate) = 4523 +SHA256 (rust/crates/swc_allocator-4.0.1.crate) = 9d7eefd2c8b228a8c73056482b2ae4b3a1071fbe07638e3b55ceca8570cc48bb +SIZE (rust/crates/swc_allocator-4.0.1.crate) = 10424 +SHA256 (rust/crates/swc_atoms-9.0.0.crate) = d4ccbe2ecad10ad7432100f878a107b1d972a8aee83ca53184d00c23a078bb8a +SIZE (rust/crates/swc_atoms-9.0.0.crate) = 8934 +SHA256 (rust/crates/swc_common-21.0.1.crate) = 078f2144aa2c33ff8485773f1b81b9985fa2d00f4ad60879158ad6897db2de88 +SIZE (rust/crates/swc_common-21.0.1.crate) = 100154 +SHA256 (rust/crates/swc_compiler_base-55.0.0.crate) = d25b6d506f20c3a750336756602b92467b3d93347104920c20e9d0c64184b286 +SIZE (rust/crates/swc_compiler_base-55.0.0.crate) = 23316 +SHA256 (rust/crates/swc_config-4.0.1.crate) = a737811bc412f055818d80ae999db259678e1e2dacd91639d28a61750a251373 +SIZE (rust/crates/swc_config-4.0.1.crate) = 12778 +SHA256 (rust/crates/swc_config_macro-1.0.1.crate) = 7b416e8ce6de17dc5ea496e10c7012b35bbc0e3fef38d2e065eed936490db0b3 +SIZE (rust/crates/swc_config_macro-1.0.1.crate) = 2221 +SHA256 (rust/crates/swc_ecma_ast-23.0.0.crate) = 39f4173ab7e676eed4938d5ad8bbdf14418f87c9a8d36e6cdda82ac9645912b0 +SIZE (rust/crates/swc_ecma_ast-23.0.0.crate) = 50591 +SHA256 (rust/crates/swc_ecma_codegen-26.0.1.crate) = fafbcdd29cc03b0c04860bb0143e781e13a4e2dac03eb8747df520f602e0aa94 +SIZE (rust/crates/swc_ecma_codegen-26.0.1.crate) = 63550 +SHA256 (rust/crates/swc_ecma_codegen_macros-2.0.2.crate) = e276dc62c0a2625a560397827989c82a93fd545fcf6f7faec0935a82cc4ddbb8 +SIZE (rust/crates/swc_ecma_codegen_macros-2.0.2.crate) = 2549 +SHA256 (rust/crates/swc_ecma_hooks-0.7.0.crate) = ee7662517362f6726b0e107a3caec2b4cc7d629f9bf702958948e9350722e52f +SIZE (rust/crates/swc_ecma_hooks-0.7.0.crate) = 88056 +SHA256 (rust/crates/swc_ecma_minifier-52.0.4.crate) = 4011c4a9b320a73ac8ff27beb209a39700873b7f7492cfd8184eaf7bd71f8271 +SIZE (rust/crates/swc_ecma_minifier-52.0.4.crate) = 279744 +SHA256 (rust/crates/swc_ecma_parser-39.0.2.crate) = 8b13829b24cbdb2d7a08282bd968af8a258fd762c918df9a7b82291d44068bbc +SIZE (rust/crates/swc_ecma_parser-39.0.2.crate) = 181929 +SHA256 (rust/crates/swc_ecma_transforms_base-42.0.0.crate) = 45e58612045e827e7d3ae9f1dc6ae3590ba9abc6a3d93ff2adf27350ab409822 +SIZE (rust/crates/swc_ecma_transforms_base-42.0.0.crate) = 93990 +SHA256 (rust/crates/swc_ecma_transforms_optimization-44.0.0.crate) = 2098c7da8c4f235342ec1f7a0eb61264214d4d1b3185a0d43b2833543745b3ca +SIZE (rust/crates/swc_ecma_transforms_optimization-44.0.0.crate) = 80660 +SHA256 (rust/crates/swc_ecma_utils-29.1.0.crate) = 8e64243f2c9e9c9e631a18b42ad51f62137cf4f57b21fb93b1d58836322c2c81 +SIZE (rust/crates/swc_ecma_utils-29.1.0.crate) = 44910 +SHA256 (rust/crates/swc_ecma_visit-23.0.0.crate) = ad65d392ed427dc9e94f16a3d802b02e27722c21227639c8d5f45f19757b447b +SIZE (rust/crates/swc_ecma_visit-23.0.0.crate) = 330047 +SHA256 (rust/crates/swc_eq_ignore_macros-1.0.1.crate) = c16ce73424a6316e95e09065ba6a207eba7765496fed113702278b7711d4b632 +SIZE (rust/crates/swc_eq_ignore_macros-1.0.1.crate) = 3313 +SHA256 (rust/crates/swc_macros_common-1.0.1.crate) = aae1efbaa74943dc5ad2a2fb16cbd78b77d7e4d63188f3c5b4df2b4dcd2faaae +SIZE (rust/crates/swc_macros_common-1.0.1.crate) = 7108 +SHA256 (rust/crates/swc_sourcemap-10.0.2.crate) = 0c421e5e39e43a4b1b70c07922d7bffd5c22e8eff1340c0b15d0bfd0328822ee +SIZE (rust/crates/swc_sourcemap-10.0.2.crate) = 113214 +SHA256 (rust/crates/swc_timer-1.0.0.crate) = 4db06b46cc832f7cf83c2ce21905fc465d01443a2bdccf63644383e1f5847532 +SIZE (rust/crates/swc_timer-1.0.0.crate) = 1685 +SHA256 (rust/crates/swc_visit-2.0.1.crate) = 62fb71484b486c185e34d2172f0eabe7f4722742aad700f426a494bb2de232a2 +SIZE (rust/crates/swc_visit-2.0.1.crate) = 5576 +SHA256 (rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 +SIZE (rust/crates/syn-2.0.117.crate) = 306011 +SHA256 (rust/crates/synstructure-0.13.2.crate) = 728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2 +SIZE (rust/crates/synstructure-0.13.2.crate) = 18950 SHA256 (rust/crates/tap-1.0.1.crate) = 55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369 SIZE (rust/crates/tap-1.0.1.crate) = 11316 -SHA256 (rust/crates/tinyvec-1.8.0.crate) = 445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938 -SIZE (rust/crates/tinyvec-1.8.0.crate) = 46796 -SHA256 (rust/crates/tinyvec_macros-0.1.1.crate) = 1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20 -SIZE (rust/crates/tinyvec_macros-0.1.1.crate) = 5865 -SHA256 (rust/crates/tracing-0.1.40.crate) = c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef -SIZE (rust/crates/tracing-0.1.40.crate) = 79459 -SHA256 (rust/crates/tracing-attributes-0.1.27.crate) = 34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7 -SIZE (rust/crates/tracing-attributes-0.1.27.crate) = 32241 -SHA256 (rust/crates/tracing-core-0.1.32.crate) = c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54 -SIZE (rust/crates/tracing-core-0.1.32.crate) = 61221 -SHA256 (rust/crates/triomphe-0.1.13.crate) = e6631e42e10b40c0690bf92f404ebcfe6e1fdb480391d15f17cc8e96eeed5369 -SIZE (rust/crates/triomphe-0.1.13.crate) = 29568 -SHA256 (rust/crates/typed-arena-2.0.2.crate) = 6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a -SIZE (rust/crates/typed-arena-2.0.2.crate) = 11848 -SHA256 (rust/crates/unicode-bidi-0.3.15.crate) = 08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75 -SIZE (rust/crates/unicode-bidi-0.3.15.crate) = 56811 -SHA256 (rust/crates/unicode-id-0.3.5.crate) = 10103c57044730945224467c09f71a4db0071c123a0648cc3e818913bde6b561 -SIZE (rust/crates/unicode-id-0.3.5.crate) = 16807 -SHA256 (rust/crates/unicode-id-start-1.3.0.crate) = 97e2a3c5fc9de285c0e805d98eba666adb4b2d9e1049ce44821ff7707cc34e91 -SIZE (rust/crates/unicode-id-start-1.3.0.crate) = 43825 -SHA256 (rust/crates/unicode-ident-1.0.13.crate) = e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe -SIZE (rust/crates/unicode-ident-1.0.13.crate) = 43279 -SHA256 (rust/crates/unicode-normalization-0.1.24.crate) = 5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956 -SIZE (rust/crates/unicode-normalization-0.1.24.crate) = 126536 -SHA256 (rust/crates/unicode-segmentation-1.12.0.crate) = f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493 -SIZE (rust/crates/unicode-segmentation-1.12.0.crate) = 106323 -SHA256 (rust/crates/unicode-width-0.1.14.crate) = 7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af -SIZE (rust/crates/unicode-width-0.1.14.crate) = 271615 -SHA256 (rust/crates/url-2.5.2.crate) = 22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c -SIZE (rust/crates/url-2.5.2.crate) = 79704 -SHA256 (rust/crates/uuid-1.10.0.crate) = 81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314 -SIZE (rust/crates/uuid-1.10.0.crate) = 47648 +SHA256 (rust/crates/tinystr-0.8.3.crate) = c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d +SIZE (rust/crates/tinystr-0.8.3.crate) = 24710 +SHA256 (rust/crates/tracing-0.1.44.crate) = 63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100 +SIZE (rust/crates/tracing-0.1.44.crate) = 463135 +SHA256 (rust/crates/tracing-attributes-0.1.31.crate) = 7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da +SIZE (rust/crates/tracing-attributes-0.1.31.crate) = 39733 +SHA256 (rust/crates/tracing-core-0.1.36.crate) = db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a +SIZE (rust/crates/tracing-core-0.1.36.crate) = 63967 +SHA256 (rust/crates/triomphe-0.1.15.crate) = dd69c5aa8f924c7519d6372789a74eac5b94fb0f8fcf0d4a97eb0bfc3e785f39 +SIZE (rust/crates/triomphe-0.1.15.crate) = 34711 +SHA256 (rust/crates/unicode-id-start-1.4.0.crate) = 81b79ad29b5e19de4260020f8919b443b2ef0277d242ce532ec7b7a2cc8b6007 +SIZE (rust/crates/unicode-id-start-1.4.0.crate) = 48270 +SHA256 (rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 +SIZE (rust/crates/unicode-ident-1.0.24.crate) = 49298 +SHA256 (rust/crates/unicode-segmentation-1.13.2.crate) = 9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c +SIZE (rust/crates/unicode-segmentation-1.13.2.crate) = 111829 +SHA256 (rust/crates/unicode-width-0.2.2.crate) = b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254 +SIZE (rust/crates/unicode-width-0.2.2.crate) = 282768 +SHA256 (rust/crates/url-2.5.8.crate) = ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed +SIZE (rust/crates/url-2.5.8.crate) = 86512 +SHA256 (rust/crates/utf8_iter-1.0.4.crate) = b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be +SIZE (rust/crates/utf8_iter-1.0.4.crate) = 10437 +SHA256 (rust/crates/uuid-1.23.1.crate) = ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76 +SIZE (rust/crates/uuid-1.23.1.crate) = 62932 SHA256 (rust/crates/version_check-0.9.5.crate) = 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a SIZE (rust/crates/version_check-0.9.5.crate) = 15554 -SHA256 (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423 -SIZE (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 28131 -SHA256 (rust/crates/wasm-bindgen-0.2.93.crate) = a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5 -SIZE (rust/crates/wasm-bindgen-0.2.93.crate) = 43769 -SHA256 (rust/crates/wasm-bindgen-backend-0.2.93.crate) = 9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b -SIZE (rust/crates/wasm-bindgen-backend-0.2.93.crate) = 30344 -SHA256 (rust/crates/wasm-bindgen-macro-0.2.93.crate) = 585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf -SIZE (rust/crates/wasm-bindgen-macro-0.2.93.crate) = 6822 -SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.93.crate) = afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836 -SIZE (rust/crates/wasm-bindgen-macro-support-0.2.93.crate) = 20642 -SHA256 (rust/crates/wasm-bindgen-shared-0.2.93.crate) = c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484 -SIZE (rust/crates/wasm-bindgen-shared-0.2.93.crate) = 7527 +SHA256 (rust/crates/vsimd-0.8.0.crate) = 5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64 +SIZE (rust/crates/vsimd-0.8.0.crate) = 21377 +SHA256 (rust/crates/wasm-bindgen-0.2.121.crate) = 49ace1d07c165b0864824eee619580c4689389afa9dc9ed3a4c75040d82e6790 +SIZE (rust/crates/wasm-bindgen-0.2.121.crate) = 65838 +SHA256 (rust/crates/wasm-bindgen-macro-0.2.121.crate) = 8e68e6f4afd367a562002c05637acb8578ff2dea1943df76afb9e83d177c8578 +SIZE (rust/crates/wasm-bindgen-macro-0.2.121.crate) = 9294 +SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.121.crate) = d95a9ec35c64b2a7cb35d3fead40c4238d0940c86d107136999567a4703259f2 +SIZE (rust/crates/wasm-bindgen-macro-support-0.2.121.crate) = 79901 +SHA256 (rust/crates/wasm-bindgen-shared-0.2.121.crate) = c4e0100b01e9f0d03189a92b96772a1fb998639d981193d7dbab487302513441 +SIZE (rust/crates/wasm-bindgen-shared-0.2.121.crate) = 11270 +SHA256 (rust/crates/windows-link-0.2.1.crate) = f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5 +SIZE (rust/crates/windows-link-0.2.1.crate) = 6133 SHA256 (rust/crates/windows-sys-0.59.0.crate) = 1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b SIZE (rust/crates/windows-sys-0.59.0.crate) = 2387323 SHA256 (rust/crates/windows-targets-0.52.6.crate) = 9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973 SIZE (rust/crates/windows-targets-0.52.6.crate) = 6403 SHA256 (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3 SIZE (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 435718 SHA256 (rust/crates/windows_aarch64_msvc-0.52.6.crate) = 09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469 SIZE (rust/crates/windows_aarch64_msvc-0.52.6.crate) = 832615 SHA256 (rust/crates/windows_i686_gnu-0.52.6.crate) = 8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b SIZE (rust/crates/windows_i686_gnu-0.52.6.crate) = 880402 SHA256 (rust/crates/windows_i686_gnullvm-0.52.6.crate) = 0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66 SIZE (rust/crates/windows_i686_gnullvm-0.52.6.crate) = 475940 SHA256 (rust/crates/windows_i686_msvc-0.52.6.crate) = 240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66 SIZE (rust/crates/windows_i686_msvc-0.52.6.crate) = 901163 SHA256 (rust/crates/windows_x86_64_gnu-0.52.6.crate) = 147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78 SIZE (rust/crates/windows_x86_64_gnu-0.52.6.crate) = 836363 SHA256 (rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d SIZE (rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 435707 SHA256 (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec SIZE (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 832564 +SHA256 (rust/crates/writeable-0.6.3.crate) = 1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4 +SIZE (rust/crates/writeable-0.6.3.crate) = 26685 SHA256 (rust/crates/wyz-0.5.1.crate) = 05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed SIZE (rust/crates/wyz-0.5.1.crate) = 18790 -SHA256 (rust/crates/xxhash-rust-0.8.12.crate) = 6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984 -SIZE (rust/crates/xxhash-rust-0.8.12.crate) = 21329 -SHA256 (rust/crates/zerocopy-0.7.35.crate) = 1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0 -SIZE (rust/crates/zerocopy-0.7.35.crate) = 152645 -SHA256 (rust/crates/zerocopy-derive-0.7.35.crate) = fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e -SIZE (rust/crates/zerocopy-derive-0.7.35.crate) = 37829 -SHA256 (rollup-rollup-v4.22.4_GH0.tar.gz) = a7e5c09f00fe50adabe27fef8455510f156cf73fee8aef1faf3804b653988e4c -SIZE (rollup-rollup-v4.22.4_GH0.tar.gz) = 1732642 +SHA256 (rust/crates/xxhash-rust-0.8.15.crate) = fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3 +SIZE (rust/crates/xxhash-rust-0.8.15.crate) = 21515 +SHA256 (rust/crates/yoke-0.8.2.crate) = abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca +SIZE (rust/crates/yoke-0.8.2.crate) = 32790 +SHA256 (rust/crates/yoke-derive-0.8.2.crate) = de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e +SIZE (rust/crates/yoke-derive-0.8.2.crate) = 15077 +SHA256 (rust/crates/zerocopy-0.8.48.crate) = eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9 +SIZE (rust/crates/zerocopy-0.8.48.crate) = 287554 +SHA256 (rust/crates/zerocopy-derive-0.8.48.crate) = 70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4 +SIZE (rust/crates/zerocopy-derive-0.8.48.crate) = 97646 +SHA256 (rust/crates/zerofrom-0.1.7.crate) = 69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df +SIZE (rust/crates/zerofrom-0.1.7.crate) = 6140 +SHA256 (rust/crates/zerofrom-derive-0.1.7.crate) = 11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1 +SIZE (rust/crates/zerofrom-derive-0.1.7.crate) = 8853 +SHA256 (rust/crates/zerotrie-0.2.4.crate) = 0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf +SIZE (rust/crates/zerotrie-0.2.4.crate) = 83690 +SHA256 (rust/crates/zerovec-0.11.6.crate) = 90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239 +SIZE (rust/crates/zerovec-0.11.6.crate) = 128583 +SHA256 (rust/crates/zerovec-derive-0.11.3.crate) = 625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555 +SIZE (rust/crates/zerovec-derive-0.11.3.crate) = 22115 +SHA256 (rust/crates/zmij-1.0.21.crate) = b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa +SIZE (rust/crates/zmij-1.0.21.crate) = 26665 +SHA256 (rollup-rollup-v4.60.4_GH0.tar.gz) = c129324ecef83a1c4d829c8b876751c72a6fa2dfe707f32f0b55c311cf29ee91 +SIZE (rollup-rollup-v4.60.4_GH0.tar.gz) = 2249970 SHA256 (evanw-esbuild-v0.28.0_GH0.tar.gz) = 7aae83b197db3fd695e6f378d30fd6cbddeb93e4b1057b2c41d36ecb1dfebbc2 SIZE (evanw-esbuild-v0.28.0_GH0.tar.gz) = 1993306 diff --git a/www/chromium/files/patch-BUILD.gn b/www/chromium/files/patch-BUILD.gn index 6349d341b300..8cb24764098d 100644 --- a/www/chromium/files/patch-BUILD.gn +++ b/www/chromium/files/patch-BUILD.gn @@ -1,98 +1,98 @@ ---- BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ BUILD.gn @@ -68,7 +68,7 @@ declare_args() { root_extra_deps = [] } -if (is_official_build) { +if (is_official_build && !is_bsd) { # An official (maximally optimized!) component (optimized for build times) # build doesn't make sense and usually doesn't work. assert(!is_component_build) @@ -101,7 +101,6 @@ group("gn_all") { "//codelabs", "//components:components_unittests", "//components/gwp_asan:gwp_asan_unittests", - "//infra/orchestrator:orchestrator_all", "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -427,7 +426,7 @@ group("gn_all") { +@@ -429,7 +428,7 @@ group("gn_all") { } } - if (is_linux || is_chromeos || is_android) { + if ((is_linux && !is_bsd) || is_chromeos || is_android) { deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -594,6 +593,15 @@ group("gn_all") { +@@ -592,6 +591,15 @@ group("gn_all") { } } + if (is_bsd) { + deps -= [ + "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)", + "//third_party/breakpad:microdump_stackwalk($host_system_allocator_toolchain)", + "//third_party/breakpad:minidump_dump($host_system_allocator_toolchain)", + "//third_party/breakpad:minidump_stackwalk($host_system_allocator_toolchain)", + ] + } + if (is_mac) { deps += [ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)", -@@ -642,7 +650,7 @@ group("gn_all") { +@@ -640,7 +648,7 @@ group("gn_all") { } } - if (!is_fuchsia) { + if (!is_fuchsia && !is_bsd) { # The official builders use this binary from the default toolchain's # output directory after building in order to upload the symbols of that # binary. They build the binary like `ninja symupload` which requires the -@@ -677,7 +685,7 @@ group("gn_all") { +@@ -675,7 +683,7 @@ group("gn_all") { ] } - if (is_mac || is_win || is_android || is_linux || is_chromeos) { + if (!is_bsd && (is_mac || is_win || is_android || is_linux || is_chromeos)) { deps += [ "//third_party/crashpad/crashpad:crashpad_tests", "//third_party/crashpad/crashpad/handler:crashpad_handler", -@@ -1082,7 +1090,7 @@ if (use_blink && !is_cronet_build) { +@@ -1080,7 +1088,7 @@ if (use_blink && !is_cronet_build) { "//third_party/blink/public:all_blink", ] - if (!is_chromeos && !is_ios && !is_fuchsia && !is_android && !is_castos) { + if (!is_chromeos && !is_ios && !is_fuchsia && !is_android && !is_castos && !is_bsd) { deps += [ ":chrome_wpt_tests", ":headless_shell_wpt", -@@ -1234,7 +1242,7 @@ if (use_blink && !is_cronet_build) { +@@ -1232,7 +1240,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } - if (!is_win && !is_android) { + if (!is_win && !is_android && !is_bsd) { # 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. -@@ -1248,7 +1256,7 @@ if (use_blink && !is_cronet_build) { +@@ -1246,7 +1254,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms" ] } - if (is_linux || is_chromeos) { + if ((is_linux && !is_bsd) || is_chromeos) { # 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. -@@ -1527,7 +1535,7 @@ group("chromium_builder_perf") { +@@ -1526,7 +1534,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } - if (!is_win) { + if (!is_win && !is_bsd) { data_deps += [ "//third_party/breakpad:minidump_stackwalk($host_system_allocator_toolchain)" ] } } diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn index a11df50b6506..185f0d1400d7 100644 --- a/www/chromium/files/patch-base_BUILD.gn +++ b/www/chromium/files/patch-base_BUILD.gn @@ -1,150 +1,150 @@ ---- base/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- base/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ base/BUILD.gn -@@ -1182,11 +1182,26 @@ component("base") { +@@ -1180,11 +1180,26 @@ component("base") { # Needed for 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. - if (!use_sysroot && (is_android || is_chromeos || (is_linux && !is_castos)) && + if (!use_sysroot && (is_android || is_chromeos || (is_linux && !is_castos && !is_bsd)) && host_toolchain != "//build/toolchain/cros:host") { libs += [ "atomic" ] } + # *BSD needs libkvm + if (is_bsd) { + libs += [ + "kvm", + "epoll-shim", + ] + } + + if (is_freebsd) { + libs += [ + "execinfo", + "util", + ] + } + if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1206,7 +1221,7 @@ component("base") { +@@ -1204,7 +1219,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings - if (is_apple || is_chromeos || is_castos || is_cast_android || is_fuchsia) { + if (is_apple || is_chromeos || is_castos || is_cast_android || is_fuchsia || is_bsd) { defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2233,6 +2248,22 @@ component("base") { +@@ -2231,6 +2246,22 @@ component("base") { ] } + if (is_openbsd) { + sources += [ + "process/process_handle_openbsd.cc", + "process/process_iterator_openbsd.cc", + "process/process_metrics_openbsd.cc", + "system/sys_info_openbsd.cc", + ] + } else if (is_freebsd) { + sources += [ + "process/process_handle_freebsd.cc", + "process/process_iterator_freebsd.cc", + "process/process_metrics_freebsd.cc", + "system/sys_info_freebsd.cc", + ] + } + # iOS if (is_ios) { sources += [ -@@ -2407,6 +2438,33 @@ component("base") { +@@ -2405,6 +2436,33 @@ component("base") { } } + if (is_bsd) { + sources -= [ + "files/file_path_watcher_inotify.cc", + "files/scoped_file_linux.cc", + "process/set_process_title_linux.cc", + "process/set_process_title_linux.h", + "system/sys_info_linux.cc", + "process/process_iterator_linux.cc", + "process/process_linux.cc", + "process/process_metrics_linux.cc", + "process/process_handle_linux.cc", + "profiler/stack_copier_signal.cc", + "profiler/stack_copier_signal.h", + "profiler/thread_delegate_posix.cc", + "profiler/thread_delegate_posix.h", + "threading/platform_thread_linux.cc", + "stack_canary_linux.cc", + "stack_canary_linux.h", + ] + sources += [ + "files/file_path_watcher_kqueue.cc", + "files/file_path_watcher_kqueue.h", + "files/file_path_watcher_bsd.cc", + "threading/platform_thread_bsd.cc", + ] + } + if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2905,7 +2963,7 @@ buildflag_header("protected_memory_buildflags") { +@@ -2925,7 +2983,7 @@ buildflag_header("protected_memory_buildflags") { header = "protected_memory_buildflags.h" header_dir = "base/memory" - protected_memory_enabled = !is_component_build && is_clang && + protected_memory_enabled = !is_openbsd && !is_component_build && is_clang && (is_win || is_linux || is_android || is_mac) flags = [ "PROTECTED_MEMORY_ENABLED=$protected_memory_enabled" ] -@@ -3419,7 +3477,7 @@ if (is_apple) { +@@ -3441,7 +3499,7 @@ if (is_apple) { } } -if (is_linux || is_chromeos) { +if (!is_bsd && (is_linux || is_chromeos)) { # This test must compile with -fstack-protector-all source_set("stack_canary_linux_unittests") { testonly = true -@@ -4172,7 +4230,7 @@ test("base_unittests") { +@@ -4208,7 +4266,7 @@ test("base_unittests") { configs += [ ":delayload_esent_dll" ] } - if (is_linux || is_chromeos) { + if (!is_bsd && (is_linux || is_chromeos)) { sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -4195,7 +4253,7 @@ test("base_unittests") { +@@ -4231,7 +4289,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] - if (!is_apple) { + if (!is_apple && !is_bsd) { sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -4206,7 +4264,7 @@ test("base_unittests") { +@@ -4242,7 +4300,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings - if (is_apple || is_chromeos || is_castos || is_cast_android || is_fuchsia) { + if (is_apple || is_chromeos || is_castos || is_cast_android || is_fuchsia || is_bsd) { defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -4389,7 +4447,7 @@ test("base_unittests") { +@@ -4426,7 +4484,7 @@ test("base_unittests") { deps += [ ":base_profiler_test_support_library" ] } - if (is_fuchsia || is_linux || is_chromeos) { + if ((is_fuchsia || is_linux || is_chromeos) && !is_bsd) { sources += [ "debug/elf_reader_unittest.cc", "debug/test_elf_image_builder.cc", diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index cf4192e4f7ec..8b3a9df0d59b 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni @@ -1,20 +1,20 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2026-06-04 10:12:25 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2026-07-01 06:24:19 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -99,7 +99,7 @@ if (current_cpu == "x64" || current_cpu == "arm64" || +@@ -109,7 +109,7 @@ if (current_cpu == "x64" || current_cpu == "arm64" || # TODO(crbug.com/329199197): Clean this up when experiments are complete. use_large_empty_slot_span_ring = true -has_memory_tagging = current_cpu == "arm64" && is_clang && !is_asan && +has_memory_tagging = current_cpu == "arm64" && !is_bsd && is_clang && !is_asan && !is_hwasan && (is_linux || is_android) declare_args() { -@@ -521,7 +521,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl +@@ -541,7 +541,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 = - (is_linux || is_chromeos) && current_cpu == "x64" && !is_cronet_build + !is_bsd && (is_linux || is_chromeos) && current_cpu == "x64" && !is_cronet_build declare_args() { enable_pkeys = is_pkeys_available } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn index 55fcd7da70e2..64526d88420a 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn @@ -1,11 +1,11 @@ ---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -918,7 +918,7 @@ if (is_clang_or_gcc) { +@@ -957,7 +957,7 @@ if (is_clang_or_gcc) { configs -= [ partition_alloc_enable_arc_config ] } } - if (is_chromeos || is_linux) { + if ((is_chromeos || is_linux) && !is_bsd) { shim_headers += [ "shim/allocator_shim_override_cpp_symbols.h", "shim/allocator_shim_override_glibc_weak_symbols.h", diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h index a092cfe7ff1f..b31e2716a460 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h @@ -1,20 +1,20 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2026-05-07 17:02:56 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2026-07-01 06:24:19 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h -@@ -316,7 +316,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask); +@@ -320,7 +320,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) || \ - PA_BUILDFLAG(ENABLE_POINTER_COMPRESSION) + PA_BUILDFLAG(ENABLE_POINTER_COMPRESSION) || PA_BUILDFLAG(IS_BSD) constexpr size_t kPoolMaxSize = 8 * kGiB; #else constexpr size_t kPoolMaxSize = 16 * kGiB; -@@ -400,7 +400,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() { +@@ -404,7 +404,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. -#if PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64) +#if (PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64) inline constexpr size_t kMaxSupportedAlignment = kSuperPageSize / 4; #else inline constexpr size_t kMaxSupportedAlignment = kSuperPageSize / 2; diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc index b05296a0ba80..a2cec24fab43 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc @@ -1,29 +1,29 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2026-04-09 06:05:42 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2026-07-01 06:24:19 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_root.cc -@@ -48,7 +48,7 @@ +@@ -47,7 +47,7 @@ #include "wow64apiset.h" #endif -#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) +#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD) #include #endif // PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) -@@ -255,7 +255,7 @@ void PartitionAllocMallocInitOnce() { +@@ -274,7 +274,7 @@ void PartitionAllocMallocInitOnce() { return; } -#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) +#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD) // 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. -@@ -973,7 +973,7 @@ void PartitionRoot::Init(PartitionOptions opts) { +@@ -992,7 +992,7 @@ void PartitionRoot::Init(PartitionOptions opts) { // apple OSes. PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) || (internal::SystemPageSize() == (size_t{1} << 14))); -#elif PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64) +#elif (PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64) // Check runtime pagesize. Though the code is currently the same, it is // not merged with the IS_APPLE case above as a 1 << 16 case is only // supported on Linux on AArch64. diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc index 5bf4d39f710d..746f3e7467ff 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc @@ -1,36 +1,36 @@ ---- base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2026-06-04 10:12:25 UTC +--- base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2026-07-01 06:24:19 UTC +++ base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc @@ -20,7 +20,16 @@ #endif #if PA_CONFIG(HAS_LINUX_KERNEL) +#if defined(OS_OPENBSD) +#include +#include +#elif defined(OS_FREEBSD) +#include +#include +#include +#else #include +#endif #include #include -@@ -159,8 +168,16 @@ PA_ALWAYS_INLINE long FutexSyscall(volatile void* ftx, +@@ -150,8 +159,16 @@ PA_ALWAYS_INLINE long FutexSyscall(volatile void* ftx, int saved_errno = errno; errno = 0; +#if defined(OS_FREEBSD) + long retval = _umtx_op(&state_, UMTX_OP_WAIT_UINT_PRIVATE, + kLockedContended, nullptr, nullptr); +#elif defined(OS_OPENBSD) + long retval = futex(reinterpret_cast(&state_), FUTEX_WAIT | FUTEX_PRIVATE_FLAG, + kLockedContended, nullptr, nullptr); +#else long retval = syscall(SYS_futex, ftx, op | FUTEX_PRIVATE_FLAG, value, nullptr, nullptr, 0); +#endif if (retval == -1) { // These are programming errors, check them. [[maybe_unused]] const int futex_errno = errno; diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc index b4e92454ac95..f27efca5b8b4 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc @@ -1,50 +1,50 @@ ---- base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2026-02-11 09:05:39 UTC +--- base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2026-07-01 06:24:19 UTC +++ base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc -@@ -18,6 +18,10 @@ +@@ -19,6 +19,10 @@ #include #endif +#if PA_BUILDFLAG(IS_BSD) +#include +#endif + #if PA_BUILDFLAG(PA_LIBC_GLIBC) extern "C" void* __libc_stack_end; #endif -@@ -48,6 +52,36 @@ void* GetStackTop() { +@@ -49,6 +53,36 @@ void* GetStackTop() { void* GetStackTop() { return pthread_get_stackaddr_np(pthread_self()); +} + +#elif PA_BUILDFLAG(IS_OPENBSD) + +void* GetStackTop() { + stack_t ss; + if (pthread_stackseg_np(pthread_self(), &ss) != 0) + return nullptr; + return reinterpret_cast(ss.ss_sp); +} + +#elif PA_BUILDFLAG(IS_FREEBSD) + +void* GetStackTop() { + pthread_attr_t attr; + int error = pthread_attr_init(&attr); + if (error) { + return nullptr; + } + error = pthread_attr_get_np(pthread_self(), &attr); + if (!error) { + void* base; + size_t size; + error = pthread_attr_getstack(&attr, &base, &size); + PA_CHECK(!error); + pthread_attr_destroy(&attr); + return reinterpret_cast(base) + size; + } + pthread_attr_destroy(&attr); + return nullptr; } #elif PA_BUILDFLAG(IS_POSIX) || PA_BUILDFLAG(IS_FUCHSIA) diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc index 9b756c719e05..5985bd59b305 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc @@ -1,11 +1,11 @@ ---- base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2026-02-11 09:05:39 UTC +--- base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2026-07-01 06:24:19 UTC +++ base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc -@@ -16,7 +16,7 @@ +@@ -17,7 +17,7 @@ #include "partition_alloc/partition_alloc_check.h" #include "partition_alloc/thread_isolation/thread_isolation.h" -#if !PA_BUILDFLAG(IS_LINUX) && !PA_BUILDFLAG(IS_CHROMEOS) +#if !PA_BUILDFLAG(IS_LINUX) && !PA_BUILDFLAG(IS_CHROMEOS) && !PA_BUILDFLAG(IS_BSD) #error "This pkey code is currently only supported on Linux and ChromeOS" #endif diff --git a/www/chromium/files/patch-base_atomicops.h b/www/chromium/files/patch-base_atomicops.h deleted file mode 100644 index 7f6e237768f8..000000000000 --- a/www/chromium/files/patch-base_atomicops.h +++ /dev/null @@ -1,14 +0,0 @@ ---- base/atomicops.h.orig 2025-09-06 10:01:20 UTC -+++ base/atomicops.h -@@ -72,7 +72,11 @@ typedef intptr_t Atomic64; - - // Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or - // Atomic64 routines below, depending on your architecture. -+#if !defined(OS_OPENBSD) && defined(__i386__) -+typedef Atomic32 AtomicWord; -+#else - typedef intptr_t AtomicWord; -+#endif - - // Atomically execute: - // result = *ptr; diff --git a/www/chromium/files/patch-base_debug_stack__trace__posix.cc b/www/chromium/files/patch-base_debug_stack__trace__posix.cc index 96eb526ce432..61d09e20ff07 100644 --- a/www/chromium/files/patch-base_debug_stack__trace__posix.cc +++ b/www/chromium/files/patch-base_debug_stack__trace__posix.cc @@ -1,101 +1,101 @@ ---- base/debug/stack_trace_posix.cc.orig 2026-05-07 17:02:56 UTC +--- base/debug/stack_trace_posix.cc.orig 2026-07-01 06:24:19 UTC +++ base/debug/stack_trace_posix.cc -@@ -47,7 +47,7 @@ +@@ -48,7 +48,7 @@ // execinfo.h and backtrace(3) are really only present in glibc and in macOS // libc. #if BUILDFLAG(IS_APPLE) || \ - (defined(__GLIBC__) && !defined(__UCLIBC__) && !defined(__AIX)) + (defined(__GLIBC__) && !defined(__UCLIBC__) && !defined(__AIX) && !BUILDFLAG(IS_BSD)) #define HAVE_BACKTRACE #include #endif -@@ -65,8 +65,10 @@ +@@ -66,8 +66,10 @@ #include #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +#if !BUILDFLAG(IS_BSD) #include +#endif #include "base/debug/proc_maps_linux.h" #endif -@@ -323,7 +325,7 @@ void PrintToStderr(const char* output) { +@@ -324,7 +326,7 @@ void PrintToStderr(const char* output) { std::ignore = HANDLE_EINTR(write(STDERR_FILENO, output, strlen(output))); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) void AlarmSignalHandler(int signal, siginfo_t* info, void* void_context) { // We have seen rare cases on AMD linux where the default signal handler // either does not run or a thread (Probably an AMD driver thread) prevents -@@ -340,7 +342,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v +@@ -341,7 +343,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v "Warning: Default signal handler failed to terminate process.\n"); PrintToStderr("Calling exit_group() directly to prevent timeout.\n"); // See: https://man7.org/linux/man-pages/man2/exit_group.2.html +#if BUILDFLAG(IS_BSD) + _exit(EXIT_FAILURE); +#else syscall(SYS_exit_group, EXIT_FAILURE); +#endif } #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || // BUILDFLAG(IS_CHROMEOS) -@@ -544,7 +550,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -545,7 +551,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf _exit(EXIT_FAILURE); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Set an alarm to trigger in case the default handler does not terminate // the process. See 'AlarmSignalHandler' for more details. struct sigaction action; -@@ -569,6 +575,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -570,6 +576,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf // signals that do not re-raise autonomously), such as signals delivered via // kill() and asynchronous hardware faults such as SEGV_MTEAERR, which would // otherwise be lost when re-raising the signal via raise(). +#if !BUILDFLAG(IS_BSD) long retval = syscall(SYS_rt_tgsigqueueinfo, getpid(), syscall(SYS_gettid), info->si_signo, info); if (retval == 0) { -@@ -583,6 +590,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -584,6 +591,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf if (errno != EPERM) { _exit(EXIT_FAILURE); } +#endif #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || // BUILDFLAG(IS_CHROMEOS) -@@ -777,6 +785,7 @@ class SandboxSymbolizeHelper { +@@ -778,6 +786,7 @@ class SandboxSymbolizeHelper { return -1; } +#if !BUILDFLAG(IS_BSD) // This class is copied from // third_party/crashpad/crashpad/util/linux/scoped_pr_set_dumpable.h. // It aims at ensuring the process is dumpable before opening /proc/self/mem. -@@ -869,11 +878,15 @@ class SandboxSymbolizeHelper { +@@ -870,11 +879,15 @@ class SandboxSymbolizeHelper { r.base = cur_base; } } +#endif // Parses /proc/self/maps in order to compile a list of all object file names // for the modules that are loaded in the current process. // Returns true on success. bool CacheMemoryRegions() { +#if BUILDFLAG(IS_BSD) + return false; +#else // Reads /proc/self/maps. std::string contents; if (!ReadProcMaps(&contents)) { -@@ -891,6 +904,7 @@ class SandboxSymbolizeHelper { +@@ -892,6 +905,7 @@ class SandboxSymbolizeHelper { is_initialized_ = true; return true; +#endif } // Opens all object files and caches their file descriptors. diff --git a/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc b/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc index dc5237479bba..a62f33908be6 100644 --- a/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc +++ b/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc @@ -1,29 +1,29 @@ ---- base/files/file_path_watcher_unittest.cc.orig 2024-07-30 11:12:21 UTC +--- base/files/file_path_watcher_unittest.cc.orig 2026-07-01 06:24:19 UTC +++ base/files/file_path_watcher_unittest.cc -@@ -902,7 +902,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) { +@@ -914,7 +914,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) { } delegate.RunUntilEventsMatch(event_expecter); -#if !BUILDFLAG(IS_APPLE) +#if !BUILDFLAG(IS_APPLE) && BUILDFLAG(IS_BSD) ASSERT_TRUE(WriteFile(file1, "content v2")); // Mac implementation does not detect files modified in a directory. // TODO(crbug.com/40263777): Expect that no events are fired on Mac. -@@ -1848,7 +1848,7 @@ namespace { +@@ -1866,7 +1866,7 @@ namespace { enum Permission { Read, Write, Execute }; -#if BUILDFLAG(IS_APPLE) +#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) { struct stat stat_buf; -@@ -1882,7 +1882,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi +@@ -1900,7 +1900,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi } // namespace -#if BUILDFLAG(IS_APPLE) +#if BUILDFLAG(IS_APPLE) && BUILDFLAG(IS_BSD) // Linux implementation of FilePathWatcher doesn't catch attribute changes. // http://crbug.com/78043 // Windows implementation of FilePathWatcher catches attribute changes that diff --git a/www/chromium/files/patch-base_rand__util.h b/www/chromium/files/patch-base_rand__util.h index e2c8fc595ede..9289d7637268 100644 --- a/www/chromium/files/patch-base_rand__util.h +++ b/www/chromium/files/patch-base_rand__util.h @@ -1,11 +1,11 @@ ---- base/rand_util.h.orig 2026-06-04 10:12:25 UTC +--- base/rand_util.h.orig 2026-07-01 06:24:19 UTC +++ base/rand_util.h -@@ -221,7 +221,7 @@ decltype(auto) RandomChoice(Range&& r) { +@@ -219,7 +219,7 @@ decltype(auto) RandomChoice(Range&& r) { return r[base::RandGenerator(r.size())]; } -#if BUILDFLAG(IS_POSIX) +#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_BSD) BASE_EXPORT int GetUrandomFD(); #endif diff --git a/www/chromium/files/patch-base_system_sys__info.h b/www/chromium/files/patch-base_system_sys__info.h index 7a8ea3d2bffc..1233fe965fb8 100644 --- a/www/chromium/files/patch-base_system_sys__info.h +++ b/www/chromium/files/patch-base_system_sys__info.h @@ -1,20 +1,20 @@ ---- base/system/sys_info.h.orig 2026-06-04 10:12:25 UTC +--- base/system/sys_info.h.orig 2026-07-01 06:24:19 UTC +++ base/system/sys_info.h -@@ -396,6 +396,8 @@ class BASE_EXPORT SysInfo { +@@ -403,6 +403,8 @@ class BASE_EXPORT SysInfo { static void ResetCpuSecurityMitigationsEnabledForTesting(); #endif + static uint64_t MaxSharedMemorySize(); + private: friend class test::ScopedAmountOfPhysicalMemoryOverride; FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory); -@@ -408,7 +410,7 @@ class BASE_EXPORT SysInfo { +@@ -415,7 +417,7 @@ class BASE_EXPORT SysInfo { static HardwareInfo GetHardwareInfoSync(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ - BUILDFLAG(IS_AIX) + BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) static ByteSize AmountOfAvailablePhysicalMemory( const SystemMemoryInfo& meminfo); #endif diff --git a/www/chromium/files/patch-base_system_sys__info__unittest.cc b/www/chromium/files/patch-base_system_sys__info__unittest.cc index 93005d47c2b4..1777c806c93f 100644 --- a/www/chromium/files/patch-base_system_sys__info__unittest.cc +++ b/www/chromium/files/patch-base_system_sys__info__unittest.cc @@ -1,20 +1,20 @@ ---- base/system/sys_info_unittest.cc.orig 2026-06-04 10:12:25 UTC +--- base/system/sys_info_unittest.cc.orig 2026-07-01 06:24:19 UTC +++ base/system/sys_info_unittest.cc -@@ -305,12 +305,16 @@ TEST_F(SysInfoTest, GetHardwareInfo) { +@@ -306,12 +306,16 @@ TEST_F(SysInfoTest, GetHardwareInfo) { EXPECT_TRUE(IsStringUTF8(hardware_info->model)); bool empty_result_expected = #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \ + BUILDFLAG(IS_BSD) false; #else true; #endif EXPECT_EQ(hardware_info->manufacturer.empty(), empty_result_expected); +#if BUILDFLAG(IS_BSD) + empty_result_expected = true; +#endif EXPECT_EQ(hardware_info->model.empty(), empty_result_expected); } diff --git a/www/chromium/files/patch-build_config_BUILDCONFIG.gn b/www/chromium/files/patch-build_config_BUILDCONFIG.gn index 4ad8be9ee85f..400e17e84e89 100644 --- a/www/chromium/files/patch-build_config_BUILDCONFIG.gn +++ b/www/chromium/files/patch-build_config_BUILDCONFIG.gn @@ -1,45 +1,45 @@ ---- build/config/BUILDCONFIG.gn.orig 2026-06-04 10:12:25 UTC +--- build/config/BUILDCONFIG.gn.orig 2026-07-01 06:24:19 UTC +++ build/config/BUILDCONFIG.gn @@ -136,7 +136,8 @@ declare_args() { is_official_build = false # Set to true when compiling with the Clang compiler. - is_clang = current_os != "linux" || + is_clang = current_os != "linux" || current_os == "openbsd" || + current_os == "freebsd" || (current_cpu != "mips" && current_cpu != "mips64") # Allows the path to a custom target toolchain to be injected as a single @@ -241,6 +242,10 @@ if (host_toolchain == "") { host_toolchain = "//build/toolchain/aix:$host_cpu" } else if (host_os == "zos") { host_toolchain = "//build/toolchain/zos:$host_cpu" + } else if (host_os == "openbsd") { + host_toolchain = "//build/toolchain/openbsd:clang_$host_cpu" + } else if (host_os == "freebsd") { + host_toolchain = "//build/toolchain/freebsd:clang_$host_cpu" } else { assert(false, "Unsupported host_os: $host_os") } -@@ -290,6 +295,8 @@ if (target_os == "android") { +@@ -291,6 +296,8 @@ if (target_os == "android") { assert( false, "emscripten is not a supported target_os. It is available only as secondary toolchain.") +} else if (target_os == "openbsd" || target_os == "freebsd") { + _default_toolchain = host_toolchain } else { assert(false, "Unsupported target_os: $target_os") } -@@ -324,7 +331,11 @@ is_android = current_os == "android" +@@ -325,7 +332,11 @@ is_android = current_os == "android" is_chromeos = current_os == "chromeos" is_fuchsia = current_os == "fuchsia" is_ios = current_os == "ios" -is_linux = current_os == "linux" +is_linux = current_os == "linux" || current_os == "openbsd" || + current_os == "freebsd" +is_openbsd = current_os == "openbsd" +is_freebsd = current_os == "freebsd" +is_bsd = current_os == "openbsd" || current_os == "freebsd" is_mac = current_os == "mac" is_wasm = current_os == "emscripten" is_watchos = current_os == "watchos" diff --git a/www/chromium/files/patch-build_config_compiler_BUILD.gn b/www/chromium/files/patch-build_config_compiler_BUILD.gn index b6f7cb9199db..2157bad2c61a 100644 --- a/www/chromium/files/patch-build_config_compiler_BUILD.gn +++ b/www/chromium/files/patch-build_config_compiler_BUILD.gn @@ -1,160 +1,124 @@ ---- build/config/compiler/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- build/config/compiler/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ build/config/compiler/BUILD.gn @@ -203,7 +203,7 @@ declare_args() { # This greatly reduces the size of debug builds, at the cost of # debugging information which is required by some specialized # debugging tools. - simple_template_names = is_clang && !is_win && !is_apple + simple_template_names = is_clang && !is_win && !is_apple && !is_bsd # This switch is used to enable -Wexit-time-destructors by default. This # warning serves as a flip switch to allow a gradual migration of targets -@@ -293,7 +293,7 @@ assert(is_bot || +@@ -284,7 +284,7 @@ assert(is_bot || # # Since this is referenced both when passing the file and when deciding which # warnings to enable, store it in a separate variable here. -use_clang_warning_suppression_file = +use_clang_warning_suppression_file = !is_bsd && is_clang && clang_warning_suppression_file != "" # default_include_dirs --------------------------------------------------------- -@@ -311,13 +311,16 @@ config("default_include_dirs") { +@@ -302,13 +302,16 @@ config("default_include_dirs") { # Compiler instrumentation can introduce dependencies in DSOs to symbols in # the executable they are loaded into, so they are unresolved at link-time. config("no_unresolved_symbols") { - if (!using_sanitizer && + if (!using_sanitizer && !is_bsd && (is_linux || is_chromeos || is_android || is_fuchsia)) { ldflags = [ "-Wl,-z,defs", "-Wl,--as-needed", ] } + if (current_cpu == "x86" && is_openbsd) { + ldflags = [ "-Wl,-z,notext", "-Wl,--strip-all" ] + } } # compiler --------------------------------------------------------------------- -@@ -553,6 +556,10 @@ config("compiler") { +@@ -541,6 +544,10 @@ config("compiler") { } } + if (is_openbsd) { + ldflags += [ "-Wl,-z,wxneeded" ] + } + # Linux-specific compiler flags setup. # ------------------------------------ if (is_linux || is_chromeos) { -@@ -588,9 +595,9 @@ config("compiler") { +@@ -576,9 +583,9 @@ config("compiler") { if (is_clang) { # Flags for diagnostics. cflags += [ "-fcolor-diagnostics" ] - if (!is_win) { + if (!is_win && !is_bsd) { cflags += [ "-fdiagnostics-show-inlining-chain" ] - } else { + } else if (!is_bsd) { # Combine after https://github.com/llvm/llvm-project/pull/192241 cflags += [ "/clang:-fdiagnostics-show-inlining-chain" ] } -@@ -615,7 +622,7 @@ config("compiler") { +@@ -603,7 +610,7 @@ config("compiler") { } } - if (is_clang) { + if (is_clang && !is_bsd) { cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] if (save_reproducers_on_lld_crash && use_lld) { ldflags += [ -@@ -1350,7 +1357,7 @@ config("compiler_cpu_abi") { - # CPU architecture. We may or may not be doing a cross compile now, so for - # simplicity we always explicitly set the architecture. - if (current_cpu == "x64") { -- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) { -+ if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device && !is_bsd) { - cflags += [ "--target=x86_64-unknown-linux-gnu" ] - ldflags += [ "--target=x86_64-unknown-linux-gnu" ] - } else { -@@ -1364,7 +1371,7 @@ config("compiler_cpu_abi") { - ldflags += [ "-march=$cros_target_cpu_arch" ] - } - } else if (current_cpu == "x86") { -- if (is_clang && !is_android && !is_chromeos_device) { -+ if (is_clang && !is_android && !is_chromeos_device && !Is_bsd) { - cflags += [ "--target=i386-unknown-linux-gnu" ] - ldflags += [ "--target=i386-unknown-linux-gnu" ] - } else { -@@ -1376,7 +1383,7 @@ config("compiler_cpu_abi") { - "-msse3", - ] - } else if (current_cpu == "arm") { -- if (is_clang && !is_android && !is_chromeos_device) { -+ if (is_clang && !is_android && !is_chromeos_device && !is_bsd) { - cflags += [ "--target=arm-linux-gnueabihf" ] - ldflags += [ "--target=arm-linux-gnueabihf" ] - } -@@ -1385,7 +1392,7 @@ config("compiler_cpu_abi") { - "-mfloat-abi=$arm_float_abi", - ] - } else if (current_cpu == "arm64") { -- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) { -+ if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device && !is_bsd) { - cflags += [ "--target=aarch64-linux-gnu" ] - ldflags += [ "--target=aarch64-linux-gnu" ] - } -@@ -1797,7 +1804,7 @@ config("compiler_deterministic") { +@@ -1458,7 +1465,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") { _perform_consistency_checks = current_toolchain == default_toolchain if (llvm_force_head_revision) { -@@ -1911,7 +1918,7 @@ config("clang_warning_suppression") { +@@ -1572,7 +1579,7 @@ config("clang_warning_suppression") { # See also: https://crbug.com/40891132#comment10 ubsan_hardening("c_array_bounds") { sanitizer = "array-bounds" - condition = !(is_asan && target_cpu == "x86") + condition = !(is_bsd || (is_asan && target_cpu == "x86")) # Because we've enabled array-bounds sanitizing we also want to suppress # the related warning about "unsafe-buffer-usage-in-static-sized-array", -@@ -1925,6 +1932,7 @@ ubsan_hardening("c_array_bounds") { +@@ -1586,6 +1593,7 @@ ubsan_hardening("c_array_bounds") { # `NOTREACHED()` at the end of such functions. ubsan_hardening("return") { sanitizer = "return" + condition = !is_bsd } config("rustc_revision") { -@@ -2259,9 +2267,6 @@ config("default_warnings") { +@@ -1920,9 +1928,6 @@ config("default_warnings") { # TODO(crbug.com/432275627): Fix and re-enable. "-Wno-uninitialized-const-pointer", - - # TODO(crbug.com/495753203): Fix and re-enable. - "-Wno-unused-but-set-global", ] cflags_cc += [ -@@ -3067,7 +3072,7 @@ config("afdo_optimize_size") { +@@ -2736,7 +2741,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") { - if (is_clang) { + if (is_clang && !is_bsd) { cflags = [] if (clang_emit_debug_info_for_profiling) { # Add the following flags to generate debug info for profiling. -@@ -3094,7 +3099,7 @@ config("afdo") { +@@ -2763,7 +2768,7 @@ config("afdo") { cflags += [ "-Wno-backend-plugin" ] inputs = [ _clang_sample_profile ] } - } else if (auto_profile_path != "" && is_a_target_toolchain) { + } else if (auto_profile_path != "" && is_a_target_toolchain && !is_bsd) { cflags = [ "-fauto-profile=${auto_profile_path}" ] inputs = [ auto_profile_path ] } diff --git a/www/chromium/files/patch-build_config_compiler__cpu__abi.gn b/www/chromium/files/patch-build_config_compiler__cpu__abi.gn new file mode 100644 index 000000000000..c922f1b16a7b --- /dev/null +++ b/www/chromium/files/patch-build_config_compiler__cpu__abi.gn @@ -0,0 +1,38 @@ +--- build/config/compiler_cpu_abi.gn.orig 2026-07-01 06:24:19 UTC ++++ build/config/compiler_cpu_abi.gn +@@ -48,7 +48,7 @@ if (is_chromeos_device && is_chromeos) { + if ((is_posix && !is_apple) || is_fuchsia) { + # simplicity we always explicitly set the architecture. + if (current_cpu == "x64") { +- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) { ++ if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device && !is_bsd) { + cpu_abi_cflags += [ "--target=x86_64-unknown-linux-gnu" ] + cpu_abi_ldflags += [ "--target=x86_64-unknown-linux-gnu" ] + } else { +@@ -62,7 +62,7 @@ if ((is_posix && !is_apple) || is_fuchsia) { + cpu_abi_ldflags += [ "-march=$cros_target_cpu_arch" ] + } + } else if (current_cpu == "x86") { +- if (is_clang && !is_android && !is_chromeos_device) { ++ if (is_clang && !is_android && !is_chromeos_device && !is_bsd) { + cpu_abi_cflags += [ "--target=i386-unknown-linux-gnu" ] + cpu_abi_ldflags += [ "--target=i386-unknown-linux-gnu" ] + } else { +@@ -74,7 +74,7 @@ if ((is_posix && !is_apple) || is_fuchsia) { + "-msse3", + ] + } else if (current_cpu == "arm") { +- if (is_clang && !is_android && !is_chromeos_device) { ++ if (is_clang && !is_android && !is_chromeos_device && !is_bsd) { + cpu_abi_cflags += [ "--target=arm-linux-gnueabihf" ] + cpu_abi_ldflags += [ "--target=arm-linux-gnueabihf" ] + } +@@ -83,7 +83,7 @@ if ((is_posix && !is_apple) || is_fuchsia) { + "-mfloat-abi=$arm_float_abi", + ] + } else if (current_cpu == "arm64") { +- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) { ++ if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device && !is_bsd) { + cpu_abi_cflags += [ "--target=aarch64-linux-gnu" ] + cpu_abi_ldflags += [ "--target=aarch64-linux-gnu" ] + } diff --git a/www/chromium/files/patch-build_config_ozone.gni b/www/chromium/files/patch-build_config_ozone.gni index 1510c61ec39a..20f5a5991719 100644 --- a/www/chromium/files/patch-build_config_ozone.gni +++ b/www/chromium/files/patch-build_config_ozone.gni @@ -1,19 +1,19 @@ ---- build/config/ozone.gni.orig 2025-05-05 10:57:53 UTC +--- build/config/ozone.gni.orig 2026-07-01 06:24:19 UTC +++ build/config/ozone.gni -@@ -80,7 +80,15 @@ declare_args() { +@@ -78,7 +78,15 @@ declare_args() { ozone_platform = "x11" ozone_platform_drm = true ozone_platform_x11 = true - } else if (is_linux) { + } else if (is_linux && !is_bsd) { + ozone_platform = "x11" + ozone_platform_wayland = true + ozone_platform_x11 = true + } else if (is_openbsd) { + ozone_platform = "x11" + ozone_platform_wayland = false + ozone_platform_x11 = true + } else if (is_freebsd) { ozone_platform = "x11" ozone_platform_wayland = true ozone_platform_x11 = true diff --git a/www/chromium/files/patch-build_modules_BUILD.gn b/www/chromium/files/patch-build_modules_BUILD.gn new file mode 100644 index 000000000000..a1349165b45f --- /dev/null +++ b/www/chromium/files/patch-build_modules_BUILD.gn @@ -0,0 +1,11 @@ +--- build/modules/BUILD.gn.orig 2026-07-01 06:24:19 UTC ++++ build/modules/BUILD.gn +@@ -223,7 +223,7 @@ if (use_unified_system_module) { + # otherwise. + "--append-module=std.new:export new_h\\nexport vcruntime_exception", + ] +- } else { ++ } else if (!is_bsd) { + # We need to pass the sysroot in so that it can scan it to generate a + # modulemap for the sysroot headers. + args += [ diff --git a/www/chromium/files/patch-build_modules_unified_modulemap__config.py b/www/chromium/files/patch-build_modules_unified_modulemap__config.py new file mode 100644 index 000000000000..27e822643c2b --- /dev/null +++ b/www/chromium/files/patch-build_modules_unified_modulemap__config.py @@ -0,0 +1,11 @@ +--- build/modules/unified/modulemap_config.py.orig 2026-07-01 06:24:19 UTC ++++ build/modules/unified/modulemap_config.py +@@ -57,7 +57,7 @@ class AllowedHeader(Header): + + + def headers(os): +- is_linux = os == 'linux' ++ is_linux = os == 'linux' or os == 'openbsd' or os == 'freebsd' + is_android = os == 'android' + is_ios = os == 'ios' + is_mac = os == 'mac' diff --git a/www/chromium/files/patch-build_toolchain_gcc__solink__wrapper.py b/www/chromium/files/patch-build_toolchain_gcc__solink__wrapper.py index 34debf134bea..1db0ce0c85b6 100644 --- a/www/chromium/files/patch-build_toolchain_gcc__solink__wrapper.py +++ b/www/chromium/files/patch-build_toolchain_gcc__solink__wrapper.py @@ -1,11 +1,11 @@ ---- build/toolchain/gcc_solink_wrapper.py.orig 2022-02-07 13:39:41 UTC +--- build/toolchain/gcc_solink_wrapper.py.orig 2026-07-01 06:24:19 UTC +++ build/toolchain/gcc_solink_wrapper.py @@ -39,7 +39,7 @@ def CollectDynSym(args): """Replaces: nm --format=posix -g -D -p $sofile | cut -f1-2 -d' '""" toc = '' nm = subprocess.Popen(wrapper_utils.CommandToRun( -- [args.nm, '--format=posix', '-g', '-D', '-p', args.sofile]), -+ [args.nm, '-g', '-D', '-p', args.sofile]), +- [args.nm, '--format=posix', '-g', '-D', '-p', args.output]), ++ [args.nm, '-g', '-D', '-p', args.output]), stdout=subprocess.PIPE, bufsize=-1, universal_newlines=True) diff --git a/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni b/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni index 66bf648c57da..10482e7d1122 100644 --- a/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni +++ b/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni @@ -1,44 +1,57 @@ ---- build/toolchain/gcc_toolchain.gni.orig 2026-06-04 10:12:25 UTC +--- build/toolchain/gcc_toolchain.gni.orig 2026-07-01 06:24:19 UTC +++ build/toolchain/gcc_toolchain.gni @@ -46,6 +46,13 @@ if (enable_resource_allowlist_generation) { "enable_resource_allowlist_generation=true does not work for target_os=$target_os") } +declare_args() { + extra_cflags = "" + extra_cppflags = "" + extra_cxxflags = "" + extra_ldflags = "" +} + # This template defines a toolchain for something that works like gcc # (including clang). # -@@ -956,22 +963,12 @@ template("gcc_toolchain") { +@@ -407,8 +414,10 @@ template("single_gcc_toolchain") { + command = "cmd /s /c \"\"$python_path\" $tool_wrapper_path delete-file {{output}} && $command\"" + } else { + command = "rm -f {{output}} && $command" +- inputs = +- [ get_path_info(rebase_path(ar, ".", root_out_dir), "abspath") ] ++ if (!is_bsd) { ++ inputs = ++ [ get_path_info(rebase_path(ar, ".", root_out_dir), "abspath") ] ++ } + } + + # Almost all targets build with //build/config/compiler:thin_archive which +@@ -998,22 +1007,12 @@ template("gcc_toolchain") { # actually just be doing a native compile. template("clang_toolchain") { gcc_toolchain(target_name) { - _path = "$clang_base_path/bin" - _is_path_absolute = get_path_info(_path, "abspath") == _path - - # Preserve absolute paths for tools like distcc. - if (_is_path_absolute && filter_include([ _path ], [ "//*" ]) == []) { - prefix = _path - } else { - prefix = rebase_path(_path, root_build_dir) - } - - cc = "${prefix}/clang" - cxx = "${prefix}/clang++" + cc = "cc" + cxx = "c++" ld = cxx - readelf = "${prefix}/llvm-readelf" - ar = "${prefix}/llvm-ar" - nm = "${prefix}/llvm-nm" + readelf = "readelf" + ar = "ar" + nm = "nm" forward_variables_from(invoker, "*", [ "toolchain_args" ]) diff --git a/www/chromium/files/patch-chrome_app_chrome__command__ids.h b/www/chromium/files/patch-chrome_app_chrome__command__ids.h index a997485ab817..2176ce24676d 100644 --- a/www/chromium/files/patch-chrome_app_chrome__command__ids.h +++ b/www/chromium/files/patch-chrome_app_chrome__command__ids.h @@ -1,16 +1,16 @@ ---- chrome/app/chrome_command_ids.h.orig 2026-06-04 10:12:25 UTC +--- chrome/app/chrome_command_ids.h.orig 2026-07-01 06:24:19 UTC +++ chrome/app/chrome_command_ids.h @@ -67,11 +67,11 @@ #define IDC_TOGGLE_MULTITASK_MENU 34050 #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #define IDC_USE_SYSTEM_TITLE_BAR 34051 #endif --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #define IDC_RESTORE_WINDOW 34052 - #endif + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) diff --git a/www/chromium/files/patch-chrome_app_chrome__main.cc b/www/chromium/files/patch-chrome_app_chrome__main.cc index 0a410fd187a5..dd46333c4093 100644 --- a/www/chromium/files/patch-chrome_app_chrome__main.cc +++ b/www/chromium/files/patch-chrome_app_chrome__main.cc @@ -1,34 +1,34 @@ ---- chrome/app/chrome_main.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/app/chrome_main.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/app/chrome_main.cc -@@ -29,11 +29,11 @@ +@@ -33,11 +33,11 @@ #include "chrome/common/mac/detect_inappropriate_exit.h" #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/base_switches.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/app/chrome_main_linux.h" #endif -@@ -86,7 +86,7 @@ int ChromeMain(int argc, const char** argv) { +@@ -107,7 +107,7 @@ int ChromeMain(int argc, const char** argv) { #error Unknown platform. #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) PossiblyDetermineFallbackChromeChannel(argv[0]); #endif -@@ -153,7 +153,7 @@ int ChromeMain(int argc, const char** argv) { +@@ -180,7 +180,7 @@ int ChromeMain(int argc, const char** argv) { SetUpBundleOverrides(); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) AppendExtraArgumentsToCommandLine(command_line); #endif diff --git a/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc b/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc index 2809b4e12ded..df0d129053c4 100644 --- a/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc +++ b/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc @@ -1,122 +1,122 @@ ---- chrome/app/chrome_main_delegate.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/app/chrome_main_delegate.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/app/chrome_main_delegate.cc @@ -103,7 +103,7 @@ #include "ui/base/ui_base_switches.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include "components/webapps/isolated_web_apps/scheme.h" #endif -@@ -184,17 +184,17 @@ +@@ -185,17 +185,17 @@ #include "v8/include/v8.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "base/environment.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/nix/scoped_xdg_activation_token_injector.h" #include "ui/linux/display_server_utils.h" #endif #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || \ - BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/policy/policy_path_parser.h" #include "components/crash/core/app/crashpad.h" #endif -@@ -232,7 +232,7 @@ const char* const ChromeMainDelegate::kNonWildcardDoma +@@ -233,7 +233,7 @@ const char* const ChromeMainDelegate::kNonWildcardDoma #endif chrome::kChromeSearchScheme, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) webapps::kIsolatedAppScheme, #endif content::kChromeDevToolsScheme, content::kChromeUIScheme, -@@ -307,7 +307,7 @@ void AdjustLinuxOOMScore(const std::string& process_ty +@@ -308,7 +308,7 @@ void AdjustLinuxOOMScore(const std::string& process_ty // and resources loaded. bool SubprocessNeedsResourceBundle(const std::string& process_type) { return -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // The zygote process opens the resources for the renderers. process_type == switches::kZygoteProcess || #endif -@@ -387,7 +387,7 @@ bool HandleVersionSwitches(const base::CommandLine& co +@@ -388,7 +388,7 @@ bool HandleVersionSwitches(const base::CommandLine& co return false; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Show the man page if --help or -h is on the command line. void HandleHelpSwitches(const base::CommandLine& command_line) { if (command_line.HasSwitch(switches::kHelp) || -@@ -399,7 +399,7 @@ void HandleHelpSwitches(const base::CommandLine& comma +@@ -400,7 +400,7 @@ void HandleHelpSwitches(const base::CommandLine& comma } #endif // BUILDFLAG(IS_LINUX) -#if !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_ANDROID) +#if !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_BSD) void SIGTERMProfilingShutdown(int signal) { content::Profiling::Stop(); struct sigaction sigact; -@@ -481,7 +481,7 @@ std::optional AcquireProcessSingleton( +@@ -482,7 +482,7 @@ std::optional AcquireProcessSingleton( // process can be exited. ChromeProcessSingleton::CreateInstance(user_data_dir); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Read the xdg-activation token and set it in the command line for the // duration of the notification in order to ensure this is propagated to an // already running browser process if it exists. -@@ -559,7 +559,7 @@ void InitializeUserDataDir(base::CommandLine* command_ +@@ -560,7 +560,7 @@ void InitializeUserDataDir(base::CommandLine* command_ std::string process_type = command_line->GetSwitchValueASCII(switches::kProcessType); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // 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. -@@ -665,7 +665,7 @@ void RecordMainStartupMetrics(const StartupTimestamps& +@@ -666,7 +666,7 @@ void RecordMainStartupMetrics(const StartupTimestamps& #endif #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Record the startup process creation time on supported platforms. On Android // this is recorded in ChromeMainDelegateAndroid. startup_metric_utils::GetCommon().RecordStartupProcessCreationTime( -@@ -1131,7 +1131,7 @@ std::optional ChromeMainDelegate::BasicStartupCom +@@ -1132,7 +1132,7 @@ std::optional ChromeMainDelegate::BasicStartupCom return 0; // Got a --credits switch; exit with a success error code. } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // This will directly exit if the user asked for help. HandleHelpSwitches(command_line); #endif -@@ -1460,7 +1460,7 @@ void ChromeMainDelegate::PreSandboxStartup() { +@@ -1461,7 +1461,7 @@ void ChromeMainDelegate::PreSandboxStartup() { CHECK(!loaded_locale.empty()) << "Locale could not be found for " << locale; } -#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_BSD) // Zygote needs to call InitCrashReporter() in RunZygote(). if (process_type != switches::kZygoteProcess && !command_line.HasSwitch(switches::kDisableCrashpadForTesting)) { -@@ -1505,7 +1505,7 @@ void ChromeMainDelegate::PreSandboxStartup() { +@@ -1506,7 +1506,7 @@ void ChromeMainDelegate::PreSandboxStartup() { if (process_type.empty()) { // Initialize Ozone platform and add required feature flags as per // platform's properties. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ui::SetOzonePlatformForLinuxIfNeeded( *base::CommandLine::ForCurrentProcess()); #endif diff --git a/www/chromium/files/patch-chrome_browser_about__flags.cc b/www/chromium/files/patch-chrome_browser_about__flags.cc index 493e896f5796..251e43207313 100644 --- a/www/chromium/files/patch-chrome_browser_about__flags.cc +++ b/www/chromium/files/patch-chrome_browser_about__flags.cc @@ -1,545 +1,509 @@ ---- chrome/browser/about_flags.cc.orig 2026-06-17 07:32:12 UTC +--- chrome/browser/about_flags.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/about_flags.cc -@@ -343,13 +343,13 @@ +@@ -345,13 +345,13 @@ #include "components/stylus_handwriting/win/features.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "base/allocator/buildflags.h" #include "ui/ozone/public/ozone_switches.h" #endif #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/enterprise/data_protection/data_protection_features.h" #include "chrome/browser/enterprise/profile_management/profile_management_features.h" #include "chrome/browser/enterprise/webstore/features.h" @@ -359,7 +359,7 @@ // BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + #include "chrome/browser/ui/webui/new_tab_page/composebox/variations/composebox_fieldtrial.h" // nogncheck #include "chrome/browser/glic/suggestions/contextual_cueing_features.h" // nogncheck #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || - // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) -@@ -372,7 +372,7 @@ +@@ -369,7 +369,7 @@ #include "components/enterprise/platform_auth/platform_auth_features.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "components/enterprise/browser/reporting/reporting_features.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) -@@ -917,6 +917,23 @@ const FeatureEntry::FeatureVariation +@@ -923,6 +923,23 @@ const FeatureEntry::FeatureVariation "identity request to Android OS", kWebIdentityDigitalIdentityCredentialHighRiskDialogParam, nullptr}}; +#if BUILDFLAG(IS_BSD) +const FeatureEntry::FeatureParam kAudioBackendPulseAudio[] = { + { "audio-backend", "pulseaudio" }}; +const FeatureEntry::FeatureParam kAudioBackendSndio[] = { + { "audio-backend", "sndio" }}; +const FeatureEntry::FeatureParam kAudioBackendAlsa[] = { + { "audio-backend", "alsa" }}; +const FeatureEntry::FeatureVariation + kAudioBackendVariations[] = { + {"using PulseAudio by default if available", + kAudioBackendPulseAudio, nullptr}, + {"using sndio by default if available", + kAudioBackendSndio, nullptr}, + {"using ALSA by default if available", + kAudioBackendAlsa, nullptr}}; +#endif + const FeatureEntry::FeatureParam kMBIModeLegacy[] = {{"mode", "legacy"}}; const FeatureEntry::FeatureParam kMBIModeEnabledPerRenderProcessHost[] = { {"mode", "per_render_process_host"}}; -@@ -1341,7 +1358,7 @@ const FeatureEntry::FeatureVariation +@@ -1352,7 +1369,7 @@ const FeatureEntry::FeatureVariation nullptr}}; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // A limited number of combinations of the rich autocompletion params. const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive1[] = { -@@ -3324,7 +3341,7 @@ const FeatureEntry::FeatureVariation kAndroidThemeReso +@@ -1581,7 +1598,7 @@ const FeatureEntry::FeatureVariation + // BUILDFLAG(IS_WIN) + + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + + const FeatureEntry::FeatureParam kComposeboxNextThreadsRail[] = { + {"EnableThreadsRail", "true"}, +@@ -3316,7 +3333,7 @@ const FeatureEntry::FeatureVariation kAndroidThemeReso #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOn[] = {{"link_capturing_state", "on_by_default"}}; const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOff[] = -@@ -3350,7 +3367,7 @@ const flags_ui::FeatureEntry::FeatureVariation +@@ -3342,7 +3359,7 @@ const flags_ui::FeatureEntry::FeatureVariation #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) const char kReplaceSyncPromosWithSignInPromosDesktopFeatures[] = "ReplaceSyncPromosWithSignInPromos," "IPH_SignInBenefits," -@@ -3540,7 +3557,7 @@ const FeatureEntry::FeatureVariation kSensitiveContent +@@ -3532,7 +3549,7 @@ const FeatureEntry::FeatureVariation kSensitiveContent #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) const FeatureEntry::FeatureParam kContextualCueingEnabledNoEngagementCap[] = { {"BackoffTime", "0h"}, {"BackoffMultiplierBase", "0.0"}, -@@ -4255,7 +4272,7 @@ const FeatureEntry::FeatureVariation +@@ -4183,7 +4200,7 @@ const FeatureEntry::FeatureVariation }; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) const FeatureEntry::FeatureParam kNtpCustomizeChromeAutoOpenOnEveryNTP[] = { {"max_customize_chrome_auto_shown_count", "5"}, {"max_customize_chrome_auto_shown_session_count", "5"}}; -@@ -4333,7 +4350,7 @@ const FeatureEntry::FeatureVariation +@@ -4271,7 +4288,7 @@ const FeatureEntry::FeatureVariation kRefreshTokenBind #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) const FeatureEntry::FeatureParam kProjectsPanelWithoutThreadsVariation[] = { {"include_threads_in_projects_panel", "false"}}; const FeatureEntry::FeatureParam kProjectsPanelWithThreadsVariation[] = { -@@ -4369,7 +4386,7 @@ const FeatureEntry::FeatureVariation kSeamlessSigninVa - kSeamlessSigninCompactSignin, nullptr}}; - #endif // BUILDFLAG(IS_ANDROID) - --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - const FeatureEntry::FeatureParam kProfilePickerTextVariation1[] = { - {"profile-picker-variation", "keep-work-and-life-separate"}}; - const FeatureEntry::FeatureParam kProfilePickerTextVariation2[] = { -@@ -5518,7 +5535,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5476,7 +5493,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableProcessIsolationUiDescription, kOsWin, FEATURE_VALUE_TYPE(features::kProcessIsolationSettings)}, #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"enable-iwa-key-distribution-component", flag_descriptions::kEnableIwaKeyDistributionComponentName, flag_descriptions::kEnableIwaKeyDistributionComponentDescription, -@@ -5716,7 +5733,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5682,7 +5699,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(media::kUseSCContentSharingPicker)}, #endif // BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"pulseaudio-loopback-for-cast", flag_descriptions::kPulseaudioLoopbackForCastName, flag_descriptions::kPulseaudioLoopbackForCastDescription, kOsLinux, -@@ -5731,6 +5748,16 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5697,6 +5714,16 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kWaylandSessionManagementName, flag_descriptions::kWaylandSessionManagementDescription, kOsLinux, FEATURE_VALUE_TYPE(features::kWaylandSessionManagement)}, + +#if BUILDFLAG(IS_BSD) + {"audio-backend", + flag_descriptions::kAudioBackendName, + flag_descriptions::kAudioBackendDescription, kOsLinux, + FEATURE_WITH_PARAMS_VALUE_TYPE( + media::kAudioBackend, + kAudioBackendVariations, + "AudioBackend")}, +#endif #endif // BUILDFLAG(IS_LINUX) #if BUILDFLAG(ENABLE_VR) -@@ -6178,7 +6205,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6133,7 +6160,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kFillOnAccountSelectDescription, kOsAll, FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) {"first-run-desktop-choice-screen-refresh", flag_descriptions::kFirstRunDesktopChoiceScreenRefreshName, flag_descriptions::kFirstRunDesktopChoiceScreenRefreshDescription, -@@ -6498,7 +6525,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6443,7 +6470,7 @@ const FeatureEntry kFeatureEntries[] = { "MlUrlScoring")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) {"contextual-search-box-uses-contextual-search-provider", flag_descriptions::kContextualSearchBoxUsesContextualSearchProviderName, flag_descriptions:: -@@ -6925,7 +6952,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6878,7 +6905,7 @@ const FeatureEntry kFeatureEntries[] = { kVoiceSearchCoherenceComposeboxVariations, "VoiceSearchCoherenceComposeboxVariations")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) {"history-embeddings", flag_descriptions::kHistoryEmbeddingsName, flag_descriptions::kHistoryEmbeddingsDescription, kOsDesktop, FEATURE_VALUE_TYPE(history_embeddings::kHistoryEmbeddings)}, -@@ -7119,7 +7146,7 @@ const FeatureEntry kFeatureEntries[] = { - "NtpRealboxNext")}, +@@ -7125,7 +7152,7 @@ const FeatureEntry kFeatureEntries[] = { + FEATURE_VALUE_TYPE(omnibox::kContextMenuAnimationLimiting)}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"ntp-customize-chrome-auto-open", flag_descriptions::kNtpCustomizeChromeAutoOpenName, flag_descriptions::kNtpCustomizeChromeAutoOpenDescription, kOsDesktop, -@@ -7362,7 +7389,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7366,7 +7393,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(ENABLE_PRINTING) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"cups-ipp-printing-backend", flag_descriptions::kCupsIppPrintingBackendName, flag_descriptions::kCupsIppPrintingBackendDescription, kOsDesktop, -@@ -7587,7 +7614,7 @@ const FeatureEntry kFeatureEntries[] = { - #endif +@@ -7578,7 +7605,7 @@ const FeatureEntry kFeatureEntries[] = { + FEATURE_VALUE_TYPE(media::kHeadlessCaptionEarlyStart)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"enable-input-protection", flag_descriptions::kEnableInputProtectionName, flag_descriptions::kEnableInputProtectionDescription, kOsDesktop, FEATURE_VALUE_TYPE(views::features::kEnableInputProtection)}, -@@ -8184,7 +8211,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8153,7 +8180,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(ash::features::kGesturePropertiesDBusService)}, #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"enable-network-service-sandbox", flag_descriptions::kEnableNetworkServiceSandboxName, flag_descriptions::kEnableNetworkServiceSandboxDescription, -@@ -8651,7 +8678,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8599,7 +8626,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kGlobalVaapiLockDescription, kOsCrOS | kOsLinux, FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)}, -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) { "ui-debug-tools", flag_descriptions::kUIDebugToolsName, -@@ -9097,7 +9124,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9046,7 +9073,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"auto-picture-in-picture-for-video-playback", flag_descriptions::kAutoPictureInPictureForVideoPlaybackName, flag_descriptions::kAutoPictureInPictureForVideoPlaybackDescription, -@@ -9286,7 +9313,7 @@ const FeatureEntry kFeatureEntries[] = { - kIsolateSandboxedIframesGroupingVariations, - "IsolateSandboxedIframes" /* trial name */)}, - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - {"reduce-user-agent-data-linux-platform-version", - flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionName, - flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionDescription, -@@ -9319,7 +9346,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9259,7 +9286,7 @@ const FeatureEntry kFeatureEntries[] = { content_settings::features::kApproximateGeolocationPermission, kApproximateGeolocationPermissionVariations, "ApproximateGeolocationPermission")}, -#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"approximate-geolocation-permission", flag_descriptions::kApproximateGeolocationPermissionName, flag_descriptions::kApproximateGeolocationPermissionDescription, -@@ -9809,7 +9836,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9757,7 +9784,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kRcapsDynamicProfileCountryDescription, kOsAll, FEATURE_VALUE_TYPE(switches::kDynamicProfileCountry)}, -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) {"enable-generic-oidc-auth-profile-management", flag_descriptions::kEnableGenericOidcAuthProfileManagementName, flag_descriptions::kEnableGenericOidcAuthProfileManagementDescription, -@@ -9819,7 +9846,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9767,7 +9794,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"enable-user-navigation-capturing-pwa", flag_descriptions::kPwaNavigationCapturingName, flag_descriptions::kPwaNavigationCapturingDescription, -@@ -10189,7 +10216,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10119,7 +10146,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kResponsiveIframesDescription, kOsAll, FEATURE_VALUE_TYPE(blink::features::kResponsiveIframes)}, -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) {"replace-sync-promos-with-sign-in-promos-desktop", flag_descriptions::kReplaceSyncPromosWithSignInPromosName, flag_descriptions::kReplaceSyncPromosWithSignInPromosDescription, -@@ -10589,7 +10616,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10503,7 +10530,7 @@ const FeatureEntry kFeatureEntries[] = { segmentation_platform::features::kSegmentationSurveyPage)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) {"autofill-enable-buy-now-pay-later", flag_descriptions::kAutofillEnableBuyNowPayLaterName, flag_descriptions::kAutofillEnableBuyNowPayLaterDescription, -@@ -11042,7 +11069,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10962,7 +10989,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(ui::kUseNewEtc1Encoder)}, #endif // !BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"automatic-usb-detach", flag_descriptions::kAutomaticUsbDetachName, flag_descriptions::kAutomaticUsbDetachDescription, kOsAndroid | kOsLinux, FEATURE_VALUE_TYPE(features::kAutomaticUsbDetach)}, -@@ -11065,7 +11092,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10985,7 +11012,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) {"autofill-enable-amount-extraction", flag_descriptions::kAutofillEnableAmountExtractionName, flag_descriptions::kAutofillEnableAmountExtractionDescription, -@@ -11215,7 +11242,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11101,7 +11128,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( feature_engagement::kIPHAutofillCreditCardBenefitFeature)}, -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) {"chrome-web-store-navigation-throttle", flag_descriptions::kChromeWebStoreNavigationThrottleName, flag_descriptions::kChromeWebStoreNavigationThrottleDescription, -@@ -11260,7 +11287,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11141,7 +11168,7 @@ const FeatureEntry kFeatureEntries[] = { supervised_user::kSupervisedUserUseUrlFilteringService)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) {"autofill-enable-amount-extraction-testing", flag_descriptions::kAutofillEnableAmountExtractionTestingName, flag_descriptions::kAutofillEnableAmountExtractionTestingDescription, -@@ -11270,7 +11297,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11151,7 +11178,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"root-scrollbar-follows-browser-theme", flag_descriptions::kRootScrollbarFollowsTheme, flag_descriptions::kRootScrollbarFollowsThemeDescription, -@@ -11501,7 +11528,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11339,7 +11366,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"tab-group-home", tabs::flag_descriptions::kTabGroupHomeName, tabs::flag_descriptions::kTabGroupHomeDescription, kOsDesktop, FEATURE_VALUE_TYPE(tabs::kTabGroupHome)}, -@@ -11550,7 +11577,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11379,7 +11406,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"enable-site-search-allow-user-override-policy", flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyName, flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyDescription, -@@ -11641,7 +11668,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11463,7 +11490,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) {"autofill-enable-buy-now-pay-later-for-klarna", flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaName, flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaDescription, -@@ -11690,7 +11717,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11512,7 +11539,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) {"autofill-enable-buy-now-pay-later-for-externally-linked", flag_descriptions::kAutofillEnableBuyNowPayLaterForExternallyLinkedName, flag_descriptions:: -@@ -12095,7 +12122,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11886,7 +11913,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) {"contextual-suggestion-ui-improvements", flag_descriptions::kContextualSuggestionsUiImprovementsName, flag_descriptions::kContextualSuggestionsUiImprovementsDescription, -@@ -12203,7 +12230,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12017,7 +12044,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kCryptographyComplianceCnsa)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"lens-reinvocation-affordance", flag_descriptions::kLensSearchReinvocationAffordanceName, flag_descriptions::kLensSearchReinvocationAffordanceDescription, -@@ -12248,7 +12275,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12061,7 +12088,7 @@ const FeatureEntry kFeatureEntries[] = { STRING_VALUE_TYPE(variations::switches::kVariationsSeedCorpus, "")}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - {"passkey-unlock-manager", flag_descriptions::kPasskeyUnlockManagerName, - flag_descriptions::kPasskeyUnlockManagerDescription, kOsDesktop, - FEATURE_VALUE_TYPE(device::kPasskeyUnlockManager)}, -@@ -12293,7 +12320,7 @@ const FeatureEntry kFeatureEntries[] = { + {"passkey-unlock-error-ui", flag_descriptions::kPasskeyUnlockErrorUiName, + flag_descriptions::kPasskeyUnlockErrorUiDescription, kOsDesktop, + FEATURE_VALUE_TYPE(device::kPasskeyUnlockErrorUi)}, +@@ -12095,7 +12122,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kHandleMdmErrorsForDasherAccountsDescription, kOsAll, FEATURE_VALUE_TYPE(switches::kHandleMdmErrorsForDasherAccounts)}, -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"disable-u18-feedback-desktop", flag_descriptions::kDisableU18FeedbackDesktopName, flag_descriptions::kDisableU18FeedbackDesktopDescription, -@@ -12301,7 +12328,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12103,7 +12130,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(switches::kDisableU18FeedbackDesktop)}, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"profile-creation-decline-signin-cta-experiment", flag_descriptions::kProfileCreationDeclineSigninCTAExperimentName, flag_descriptions::kProfileCreationDeclineSigninCTAExperimentDescription, -@@ -12315,7 +12342,7 @@ const FeatureEntry kFeatureEntries[] = { - FEATURE_VALUE_TYPE(switches::kSearchSettingsUpdate)}, - #endif - --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - {"show-profile-picker-to-all-users-experiment", - flag_descriptions::kShowProfilePickerToAllUsersExperimentName, - flag_descriptions::kShowProfilePickerToAllUsersExperimentDescription, -@@ -12330,7 +12357,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12124,7 +12151,7 @@ const FeatureEntry kFeatureEntries[] = { enterprise_signals::features::kProfileSignalsReportingEnabled)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"projects-panel", flag_descriptions::kProjectsPanelName, flag_descriptions::kProjectsPanelDescription, kOsDesktop, FEATURE_WITH_PARAMS_VALUE_TYPE(tab_groups::kProjectsPanel, -@@ -12363,7 +12390,7 @@ const FeatureEntry kFeatureEntries[] = { - "AndroidDesktopZoomScaling")}, +@@ -12158,7 +12185,7 @@ const FeatureEntry kFeatureEntries[] = { #endif --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - {"profile-picker-text-variations", - flag_descriptions::kProfilePickerTextVariationsName, - flag_descriptions::kProfilePickerTextVariationsDescription, -@@ -12374,7 +12401,7 @@ const FeatureEntry kFeatureEntries[] = { - #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"lens-overlay-optimization-filter", flag_descriptions::kLensOverlayOptimizationFilterName, flag_descriptions::kLensOverlayOptimizationFilterDescription, kOsDesktop, -@@ -12397,7 +12424,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12185,7 +12212,7 @@ const FeatureEntry kFeatureEntries[] = { MULTI_VALUE_TYPE(kConnectionAllowlistsChoices)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"read-anything-with-readability-enabled", flag_descriptions::kReadAnythingWithReadabilityName, flag_descriptions::kReadAnythingWithReadabilityDescription, kOsDesktop, -@@ -12405,7 +12432,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12193,7 +12220,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"read-anything-omnibox-chip", flag_descriptions::kReadAnythingOmniboxChipName, flag_descriptions::kReadAnythingOmniboxChipDescription, kOsDesktop, -@@ -12434,7 +12461,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12215,7 +12242,7 @@ const FeatureEntry kFeatureEntries[] = { autofill::features::kAutofillDisableBnplCountryCheckForTesting)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - {"infobar-prioritization", flag_descriptions::kInfobarPrioritizationName, - flag_descriptions::kInfobarPrioritizationDescription, kOsDesktop, - FEATURE_VALUE_TYPE(infobars::features::kInfobarPrioritization)}, -@@ -12445,7 +12472,7 @@ const FeatureEntry kFeatureEntries[] = { - FEATURE_VALUE_TYPE(features::kInfobarRefresh)}, - - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"read-anything-immersive-reading-mode", flag_descriptions::kReadAnythingImmersiveReadingModeName, flag_descriptions::kReadAnythingImmersiveReadingModeDescription, -@@ -12458,7 +12485,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12228,7 +12255,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"lens-overlay-non-blocking-privacy-notice", flag_descriptions::kLensOverlayNonBlockingPrivacyNoticeName, flag_descriptions::kLensOverlayNonBlockingPrivacyNoticeDescription, -@@ -12531,7 +12558,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12301,7 +12328,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"enable-your-saved-info-settings-page", flag_descriptions::kYourSavedInfoSettingsPageName, flag_descriptions::kYourSavedInfoSettingsPageDescription, kOsDesktop, -@@ -12706,7 +12733,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12479,7 +12506,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(autofill::features::kAutofillAiWithDataSchema)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"read-anything-line-focus", flag_descriptions::kReadAnythingLineFocusName, flag_descriptions::kReadAnythingLineFocusDescription, kOsDesktop, FEATURE_VALUE_TYPE(features::kReadAnythingLineFocus)}, -@@ -12730,7 +12757,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12503,7 +12530,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(payments::android::kDeduplicateNativePaymentApps)}, #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"password-upload-ui-update", flag_descriptions::kPasswordUploadUiUpdateName, flag_descriptions::kPasswordUploadUiUpdateDescription, -@@ -12772,7 +12799,7 @@ const FeatureEntry kFeatureEntries[] = { - FEATURE_VALUE_TYPE(chrome::android::kAlwaysDrawCompositedToolbarHairline)}, +@@ -12552,7 +12579,7 @@ const FeatureEntry kFeatureEntries[] = { + FEATURE_VALUE_TYPE(chrome::android::kAndroidXrImmersivePlayer)}, #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"saas-usage-reporting", flag_descriptions::kSaasUsageReportingName, flag_descriptions::kSaasUsageReportingDescription, kOsLinux | kOsMac | kOsWin, -@@ -13191,7 +13218,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12983,7 +13010,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(blink::features::kUserMediaElement)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) {"read-anything-readability-select-text", flag_descriptions::kReadAnythingReadabilitySelectTextName, flag_descriptions::kReadAnythingReadabilitySelectTextDescription, diff --git a/www/chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc b/www/chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc index 2477346e85af..38afc55a46bb 100644 --- a/www/chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc +++ b/www/chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc @@ -1,38 +1,38 @@ ---- chrome/browser/background/glic/glic_status_icon.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/background/glic/glic_status_icon.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/background/glic/glic_status_icon.cc -@@ -103,7 +103,7 @@ GlicStatusIcon::GlicStatusIcon(GlicController* control +@@ -104,7 +104,7 @@ GlicStatusIcon::GlicStatusIcon(GlicBackgroundDelegate* GlicStatusIcon::~GlicStatusIcon() { context_menu_ = nullptr; if (status_icon_) { -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) status_icon_->RemoveObserver(this); #endif std::unique_ptr removed_icon = -@@ -124,7 +124,7 @@ void GlicStatusIcon::Init() { +@@ -125,7 +125,7 @@ void GlicStatusIcon::Init() { return; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Set a vector icon for proper theming on Linux. status_icon_->SetIcon( GlicVectorIconManager::GetVectorIcon(IDR_GLIC_BUTTON_VECTOR_ICON)); -@@ -222,7 +222,7 @@ void GlicStatusIcon::UpdateHotkey(const ui::Accelerato +@@ -225,7 +225,7 @@ void GlicStatusIcon::UpdateHotkey(const ui::Accelerato } void GlicStatusIcon::UpdateVisibilityOfExitInContextMenu() { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (context_menu_) { const bool is_visible = GlobalBrowserCollection::GetInstance()->IsEmpty(); const std::optional index = -@@ -275,7 +275,7 @@ std::unique_ptr GlicStatusIcon::C +@@ -278,7 +278,7 @@ std::unique_ptr 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)); diff --git a/www/chromium/files/patch-chrome_browser_browser__features.cc b/www/chromium/files/patch-chrome_browser_browser__features.cc index 4d25f6b7dd7f..3ecc16a0c451 100644 --- a/www/chromium/files/patch-chrome_browser_browser__features.cc +++ b/www/chromium/files/patch-chrome_browser_browser__features.cc @@ -1,29 +1,29 @@ ---- chrome/browser/browser_features.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/browser_features.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/browser_features.cc -@@ -66,7 +66,7 @@ BASE_FEATURE(kCertVerificationNetworkTime, base::FEATU +@@ -62,7 +62,7 @@ BASE_FEATURE(kCertVerificationNetworkTime, base::FEATU BASE_FEATURE(kClearUserDataUponProfileDestruction, base::FEATURE_ENABLED_BY_DEFAULT); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Enables usage of os_crypt_async::SecretPortalKeyProvider. Once // `kSecretPortalKeyProviderUseForEncryption` is enabled, this flag cannot be // disabled without losing data. -@@ -76,7 +76,7 @@ BASE_FEATURE(kDbusSecretPortal, base::FEATURE_ENABLED_ +@@ -72,7 +72,7 @@ BASE_FEATURE(kDbusSecretPortal, base::FEATURE_ENABLED_ // Destroy profiles when their last browser window is closed, instead of when // the browser exits. BASE_FEATURE(kDestroyProfileOnBrowserClose, -#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_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -175,7 +175,7 @@ BASE_FEATURE(kSandboxExternalProtocolBlocked, base::FE +@@ -171,7 +171,7 @@ BASE_FEATURE(kSandboxExternalProtocolBlocked, base::FE BASE_FEATURE(kSandboxExternalProtocolBlockedWarning, base::FEATURE_ENABLED_BY_DEFAULT); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // If true, encrypt new data with the key provided by SecretPortalKeyProvider. // Otherwise, it will only decrypt existing data. BASE_FEATURE(kSecretPortalKeyProviderUseForEncryption, diff --git a/www/chromium/files/patch-chrome_browser_browser__features.h b/www/chromium/files/patch-chrome_browser_browser__features.h index fe31286f1f92..867cc1417f91 100644 --- a/www/chromium/files/patch-chrome_browser_browser__features.h +++ b/www/chromium/files/patch-chrome_browser_browser__features.h @@ -1,20 +1,20 @@ ---- chrome/browser/browser_features.h.orig 2026-03-13 06:02:14 UTC +--- chrome/browser/browser_features.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/browser_features.h -@@ -41,7 +41,7 @@ BASE_DECLARE_FEATURE(kCertificateTransparencyAskBefore +@@ -40,7 +40,7 @@ BASE_DECLARE_FEATURE(kCertificateTransparencyAskBefore BASE_DECLARE_FEATURE(kCertVerificationNetworkTime); BASE_DECLARE_FEATURE(kClearUserDataUponProfileDestruction); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_DECLARE_FEATURE(kDbusSecretPortal); #endif -@@ -86,7 +86,7 @@ BASE_DECLARE_FEATURE(kRestartNetworkServiceUnsandboxed +@@ -85,7 +85,7 @@ BASE_DECLARE_FEATURE(kRestartNetworkServiceUnsandboxed BASE_DECLARE_FEATURE(kSandboxExternalProtocolBlocked); BASE_DECLARE_FEATURE(kSandboxExternalProtocolBlockedWarning); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_DECLARE_FEATURE(kSecretPortalKeyProviderUseForEncryption); #endif diff --git a/www/chromium/files/patch-chrome_browser_browser__process__impl.cc b/www/chromium/files/patch-chrome_browser_browser__process__impl.cc index 2a3f25c06a68..0e997f828fc7 100644 --- a/www/chromium/files/patch-chrome_browser_browser__process__impl.cc +++ b/www/chromium/files/patch-chrome_browser_browser__process__impl.cc @@ -1,47 +1,47 @@ ---- chrome/browser/browser_process_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/browser_process_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/browser_process_impl.cc -@@ -271,7 +271,7 @@ void OnLocalStatePrefsLoaded(); +@@ -270,7 +270,7 @@ void OnLocalStatePrefsLoaded(); #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" #endif -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS) #include "chrome/browser/browser_features.h" #include "components/os_crypt/async/browser/freedesktop_secret_key_provider.h" #include "components/os_crypt/async/browser/secret_portal_key_provider.h" -@@ -290,7 +290,7 @@ void OnLocalStatePrefsLoaded(); - #include "chrome/browser/safe_browsing/safe_browsing_service.h" +@@ -291,7 +291,7 @@ void OnLocalStatePrefsLoaded(); + #include "components/os_crypt/async/common/encryptor.h" #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // How often to check if the persistent instance of Chrome needs to restart // to install an update. static const int kUpdateCheckIntervalHours = 6; -@@ -1309,7 +1309,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySim +@@ -1307,7 +1307,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySim registry->RegisterBooleanPref(prefs::kDevToolsRemoteDebuggingAllowed, true); registry->RegisterBooleanPref(prefs::kDevToolsRemoteDebuggingEnabled, false); -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS) os_crypt_async::SecretPortalKeyProvider::RegisterLocalPrefs(registry); #endif } -@@ -1558,7 +1558,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() { +@@ -1556,7 +1556,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() { local_state(), /*force_protection_level=*/std::nullopt))); #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS) base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); const auto password_store = cmd_line->GetSwitchValueASCII(password_manager::kPasswordStore); -@@ -1897,7 +1897,7 @@ void BrowserProcessImpl::Unpin() { +@@ -1896,7 +1896,7 @@ void BrowserProcessImpl::Unpin() { } // Mac is currently not supported. -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool BrowserProcessImpl::IsRunningInBackground() const { // Check if browser is in the background. diff --git a/www/chromium/files/patch-chrome_browser_browser__process__impl.h b/www/chromium/files/patch-chrome_browser_browser__process__impl.h index f3e865aeae64..51aec3bd1c82 100644 --- a/www/chromium/files/patch-chrome_browser_browser__process__impl.h +++ b/www/chromium/files/patch-chrome_browser_browser__process__impl.h @@ -1,11 +1,11 @@ ---- chrome/browser/browser_process_impl.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/browser_process_impl.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/browser_process_impl.h -@@ -436,7 +436,7 @@ class BrowserProcessImpl : public BrowserProcess, +@@ -435,7 +435,7 @@ class BrowserProcessImpl : public BrowserProcess, std::unique_ptr battery_metrics_; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::RepeatingTimer autoupdate_timer_; // Gets called by autoupdate timer to see if browser needs restart and can be diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc index 943de0196ff9..eda9f37a6618 100644 --- a/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc +++ b/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc @@ -1,29 +1,29 @@ ---- chrome/browser/chrome_browser_interface_binders.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/chrome_browser_interface_binders.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/chrome_browser_interface_binders.cc @@ -84,7 +84,7 @@ #endif // BUILDFLAG(ENABLE_UNHANDLED_TAP) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/screen_ai/screen_ai_service_router.h" #include "chrome/browser/screen_ai/screen_ai_service_router_factory.h" - #include "chrome/browser/web_applications/sub_apps_service_impl.h" -@@ -374,7 +374,7 @@ void BindMediaFoundationPreferences( + #include "chrome/browser/web_applications/sub_apps/sub_apps_service_impl.h" +@@ -377,7 +377,7 @@ void BindMediaFoundationPreferences( #endif // BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) void BindScreenAIAnnotator( content::RenderFrameHost* frame_host, mojo::PendingReceiver receiver) { -@@ -548,7 +548,7 @@ void PopulateChromeFrameBinders( +@@ -551,7 +551,7 @@ void PopulateChromeFrameBinders( #endif // BUILDFLAG(ENABLE_SPEECH_SERVICE) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(blink::features::kSubApps) && !render_frame_host->GetParentOrOuterDocument()) { // The service binder will reject non-primary main frames, but we still need diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc index c82fa0524230..50640efbcaed 100644 --- a/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc +++ b/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc @@ -1,37 +1,36 @@ ---- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/chrome_browser_interface_binders_webui.cc -@@ -69,14 +69,14 @@ - #endif // BUILDFLAG(ENABLE_WEBUI_NTP) +@@ -90,13 +90,13 @@ + #endif // !BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_DESKTOP_ANDROID) #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) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/skills/skills.mojom.h" #include "chrome/browser/ui/webui/skills/skills_ui.h" #endif -@@ -239,7 +239,7 @@ void PopulateChromeWebUIFrameBinders( +@@ -337,7 +337,7 @@ void PopulateChromeWebUIFrameBinders( #endif // 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) RegisterWebUIControllerInterfaceBinder(map); -@@ -251,7 +251,7 @@ void PopulateChromeWebUIFrameBinders( +@@ -349,7 +349,7 @@ void PopulateChromeWebUIFrameBinders( #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) RegisterWebUIControllerInterfaceBinder(map); #endif diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui__parts__desktop.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui__parts__desktop.cc index f04d2a7d9f4f..cac2c70c1be7 100644 --- a/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui__parts__desktop.cc +++ b/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui__parts__desktop.cc @@ -1,47 +1,47 @@ ---- chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc -@@ -147,7 +147,7 @@ +@@ -150,7 +150,7 @@ + #include "ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.mojom.h" #include "ui/webui/resources/js/browser_command/browser_command.mojom.h" - #include "ui/webui/resources/js/tracked_element/tracked_element.mojom.h" // nogncheck crbug.com/40147906 -#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_home/app_home.mojom.h" #include "chrome/browser/ui/webui/app_home/app_home_ui.h" #include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h" -@@ -342,7 +342,7 @@ void PopulateChromeWebUIFrameBindersPartsDesktop( +@@ -347,7 +347,7 @@ void PopulateChromeWebUIFrameBindersPartsDesktop( HistoryClustersSidePanelUI, NewTabPageUI, BookmarksSidePanelUI>(map); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) RegisterWebUIControllerInterfaceBinder(map); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -354,7 +354,7 @@ void PopulateChromeWebUIFrameBindersPartsDesktop( +@@ -365,7 +365,7 @@ void PopulateChromeWebUIFrameBindersPartsDesktop( RegisterWebUIControllerInterfaceBinder< browser_command::mojom::CommandHandlerFactory, -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) WhatsNewUI, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) NewTabPageUI>(map); -@@ -584,7 +584,7 @@ void PopulateChromeWebUIFrameBindersPartsDesktop( +@@ -600,7 +600,7 @@ void PopulateChromeWebUIFrameBindersPartsDesktop( DrivePickerUntrustedHostUI>(map); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) RegisterWebUIControllerInterfaceBinder< app_management::mojom::PageHandlerFactory, WebAppSettingsUI>(map); -@@ -606,7 +606,7 @@ void PopulateChromeWebUIFrameBindersPartsDesktop( +@@ -624,7 +624,7 @@ void PopulateChromeWebUIFrameBindersPartsDesktop( private_ai::PrivateAiInternalsUI>(map); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) RegisterWebUIControllerInterfaceBinder(map); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc index 73d8c63a837c..0b0c29e42645 100644 --- a/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc +++ b/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc @@ -1,170 +1,170 @@ ---- chrome/browser/chrome_browser_main.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/chrome_browser_main.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/chrome_browser_main.cc @@ -173,7 +173,7 @@ #endif #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "sql/database.h" #endif -@@ -199,12 +199,12 @@ +@@ -200,12 +200,12 @@ #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/first_run/upgrade_util_linux.h" #include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #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" -@@ -215,7 +215,7 @@ +@@ -216,7 +216,7 @@ #include "ui/gfx/switches.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/first_run/upgrade_util.h" #endif -@@ -292,7 +292,7 @@ +@@ -293,7 +293,7 @@ #include "chrome/browser/chrome_process_singleton.h" #include "chrome/browser/ui/startup/startup_browser_creator.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/nix/xdg_util.h" #endif #endif // BUILDFLAG(ENABLE_PROCESS_SINGLETON) -@@ -325,7 +325,7 @@ +@@ -326,7 +326,7 @@ #include "chrome/browser/chrome_browser_main_mac.h" #elif BUILDFLAG(IS_CHROMEOS) #include "chrome/browser/ash/main_parts/chrome_browser_main_parts_ash.h" -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/chrome_browser_main_linux.h" #elif BUILDFLAG(IS_ANDROID) #include "chrome/browser/chrome_browser_main_android.h" -@@ -333,7 +333,7 @@ +@@ -334,7 +334,7 @@ #include "chrome/browser/chrome_browser_main_posix.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/chrome_browser_main_extra_parts_linux.h" #elif BUILDFLAG(IS_OZONE) #include "chrome/browser/chrome_browser_main_extra_parts_ozone.h" -@@ -355,7 +355,7 @@ +@@ -356,7 +356,7 @@ namespace { #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) constexpr base::FilePath::CharType kMediaHistoryDatabaseName[] = FILE_PATH_LITERAL("Media History"); -@@ -505,7 +505,7 @@ void ProcessSingletonNotificationCallbackImpl( +@@ -506,7 +506,7 @@ void ProcessSingletonNotificationCallbackImpl( } #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // 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. -@@ -571,7 +571,7 @@ bool ProcessSingletonNotificationCallback( +@@ -572,7 +572,7 @@ bool ProcessSingletonNotificationCallback( // Drop the request if headless mode is in effect or the request is from // a headless Chrome process. -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) if (headless::IsHeadlessMode() || command_line.HasSwitch(switches::kHeadless)) { return false; -@@ -737,7 +737,7 @@ std::unique_ptr ChromeBrows +@@ -738,7 +738,7 @@ std::unique_ptr ChromeBrows #elif BUILDFLAG(IS_CHROMEOS) main_parts = std::make_unique( is_integration_test, startup_data); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) main_parts = std::make_unique( is_integration_test, startup_data); #elif BUILDFLAG(IS_ANDROID) -@@ -767,7 +767,7 @@ std::unique_ptr ChromeBrows +@@ -768,7 +768,7 @@ std::unique_ptr ChromeBrows // Construct additional browser parts. Stages are called in the order in // which they are added. #if defined(TOOLKIT_VIEWS) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) main_parts->AddParts( std::make_unique()); #else -@@ -784,7 +784,7 @@ std::unique_ptr ChromeBrows +@@ -785,7 +785,7 @@ std::unique_ptr ChromeBrows main_parts->AddParts(std::make_unique()); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) main_parts->AddParts(std::make_unique()); #elif BUILDFLAG(IS_OZONE) main_parts->AddParts(std::make_unique()); -@@ -1274,7 +1274,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { +@@ -1276,7 +1276,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) && \ (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_ANDROID)) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) // 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/41321051 . -@@ -1318,7 +1318,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { +@@ -1320,7 +1320,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { #endif // 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) metrics::DesktopSessionDurationTracker::Initialize(); ProfileActivityMetricsRecorder::Initialize(); TouchUIControllerStatsTracker::Initialize( -@@ -1564,7 +1564,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile* +@@ -1566,7 +1566,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile* #endif // BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Delete the media history database if it still exists. // TODO(crbug.com/40177301): Remove this. base::ThreadPool::PostTask( -@@ -1615,7 +1615,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile* +@@ -1617,7 +1617,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile* *UrlLanguageHistogramFactory::GetForBrowserContext(profile)); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) if (headless::IsHeadlessMode()) { headless::ReportHeadlessActionMetrics(); } -@@ -1702,7 +1702,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl( +@@ -1704,7 +1704,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl( #endif // Should be done before starting metrics recording. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // On Linux, the EULA dialog requires Views, so it is shown here rather than // when applying the first-run prefs. if (first_run::IsChromeFirstRun() && master_prefs_->eula_required && -@@ -1738,7 +1738,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl( +@@ -1740,7 +1740,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl( // In headless mode provide alternate SelectFileDialog factory overriding // any platform specific SelectFileDialog implementation that may have been // set. -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) if (headless::IsHeadlessMode()) { headless::HeadlessSelectFileDialogFactory::SetUp(); } diff --git a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc index 1efdf1f9cbaa..ef1fb975efeb 100644 --- a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc +++ b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc @@ -1,183 +1,183 @@ ---- chrome/browser/chrome_content_browser_client.cc.orig 2026-06-17 07:32:12 UTC +--- chrome/browser/chrome_content_browser_client.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/chrome_content_browser_client.cc -@@ -610,7 +610,7 @@ +@@ -612,7 +612,7 @@ #include "third_party/cros_system_api/switches/chrome_switches.h" #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/crash/core/app/crash_switches.h" #include "components/crash/core/app/crashpad.h" #endif -@@ -621,7 +621,7 @@ +@@ -623,7 +623,7 @@ #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/webapps/isolated_web_apps/scheme.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -1521,7 +1521,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePre +@@ -1530,7 +1530,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePre registry->RegisterBooleanPref(prefs::kDataURLWhitespacePreservationEnabled, true); registry->RegisterBooleanPref(prefs::kEnableUnsafeSwiftShader, false); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) registry->RegisterBooleanPref(prefs::kOutOfProcessSystemDnsResolutionEnabled, true); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) -@@ -1797,7 +1797,7 @@ ChromeContentBrowserClient::GetStoragePartitionConfigF +@@ -1806,7 +1806,7 @@ ChromeContentBrowserClient::GetStoragePartitionConfigF #if BUILDFLAG(ENABLE_EXTENSIONS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (content::SiteIsolationPolicy::ShouldUrlUseApplicationIsolationLevel( browser_context, site)) { CHECK(url::Origin::Create(site).scheme() == webapps::kIsolatedAppScheme); -@@ -2694,7 +2694,7 @@ bool ChromeContentBrowserClient::ShouldUrlUseApplicati +@@ -2717,7 +2717,7 @@ bool ChromeContentBrowserClient::ShouldUrlUseApplicati const GURL& url) { #if BUILDFLAG(ENABLE_EXTENSIONS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (!content::AreIsolatedWebAppsEnabled(browser_context)) { return false; -@@ -2801,7 +2801,9 @@ void MaybeAppendBlinkSettingsSwitchForFieldTrial( +@@ -2830,7 +2830,9 @@ void MaybeAppendBlinkSettingsSwitchForFieldTrial( void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( base::CommandLine* command_line, int child_process_id) { +#if !BUILDFLAG(IS_BSD) crash_keys::AppendStringAnnotationsCommandLineSwitch(command_line); +#endif #if BUILDFLAG(IS_MAC) std::unique_ptr client_info = GoogleUpdateSettings::LoadMetricsClientInfo(); -@@ -2810,7 +2812,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin +@@ -2839,7 +2841,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin client_info->client_id); } #elif BUILDFLAG(IS_POSIX) -#if !BUILDFLAG(IS_ANDROID) +#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_BSD) pid_t pid; if (crash_reporter::GetHandlerSocket(nullptr, &pid)) { command_line->AppendSwitchASCII( -@@ -3162,7 +3164,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin +@@ -3191,7 +3193,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin } } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Opt into a hardened stack canary mitigation if it hasn't already been // force-disabled. if (!browser_command_line.HasSwitch(switches::kChangeStackGuardOnFork)) { -@@ -4190,7 +4192,7 @@ GetPreferredColorScheme(const WebPreferences& web_pref +@@ -4213,7 +4215,7 @@ GetPreferredColorScheme(const WebPreferences& web_pref std::optional GetRootScrollbarThemeColor(WebContents* web_contents) { bool root_scrollbar_follows_browser_theme = false; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) root_scrollbar_follows_browser_theme = base::FeatureList::IsEnabled( blink::features::kRootScrollbarFollowsBrowserTheme); #endif -@@ -5220,7 +5222,7 @@ void ChromeContentBrowserClient::GetAdditionalAllowedS +@@ -5249,7 +5251,7 @@ void ChromeContentBrowserClient::GetAdditionalAllowedS additional_allowed_schemes->push_back(content::kChromeUIScheme); additional_allowed_schemes->push_back(content::kChromeUIUntrustedScheme); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) additional_allowed_schemes->push_back(webapps::kIsolatedAppScheme); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -5274,7 +5276,7 @@ void ChromeContentBrowserClient::GetAdditionalFileSyst +@@ -5303,7 +5305,7 @@ void ChromeContentBrowserClient::GetAdditionalFileSyst } } -#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_BSD) void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess( const base::CommandLine& command_line, int child_process_id, -@@ -6171,7 +6173,7 @@ ChromeContentBrowserClient::CreateNonNetworkNavigation +@@ -6206,7 +6208,7 @@ ChromeContentBrowserClient::CreateNonNetworkNavigation } #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (scheme == webapps::kIsolatedAppScheme) { if (content::AreIsolatedWebAppsEnabled(browser_context) && !browser_context->ShutdownStarted()) { -@@ -6243,7 +6245,7 @@ void ChromeContentBrowserClient:: +@@ -6278,7 +6280,7 @@ void ChromeContentBrowserClient:: DCHECK(factories); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (content::AreIsolatedWebAppsEnabled(browser_context) && !browser_context->ShutdownStarted()) { std::optional app_origin; -@@ -6290,7 +6292,7 @@ void ChromeContentBrowserClient:: +@@ -6325,7 +6327,7 @@ void ChromeContentBrowserClient:: DCHECK(factories); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (content::AreIsolatedWebAppsEnabled(browser_context) && !browser_context->ShutdownStarted()) { factories->emplace(webapps::kIsolatedAppScheme, -@@ -6561,7 +6563,7 @@ void ChromeContentBrowserClient:: +@@ -6596,7 +6598,7 @@ void ChromeContentBrowserClient:: #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) { auto* rph = content::RenderProcessHost::FromID(render_process_id); content::BrowserContext* browser_context = rph->GetBrowserContext(); -@@ -7180,7 +7182,7 @@ bool ChromeContentBrowserClient::HandleExternalProtoco +@@ -7236,7 +7238,7 @@ bool ChromeContentBrowserClient::HandleExternalProtoco CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Handle the google-chrome:// scheme (and chromium://). // If the scheme is present, we strip it and navigate to the inner URL. // This avoids launching a new browser instance via the OS handler. -@@ -7309,7 +7311,7 @@ bool ChromeContentBrowserClient::HandleWebUI( +@@ -7383,7 +7385,7 @@ bool ChromeContentBrowserClient::HandleWebUI( } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Rewrite chrome://settings/enhancedAutofill to chrome://settings/autofill. if (url->SchemeIs(content::kChromeUIScheme) && -@@ -7598,7 +7600,7 @@ bool ChromeContentBrowserClient::ShouldSandboxNetworkS +@@ -7672,7 +7674,7 @@ bool ChromeContentBrowserClient::ShouldSandboxNetworkS bool ChromeContentBrowserClient::ShouldRunOutOfProcessSystemDnsResolution() { // This enterprise policy is supported on Android, but the feature will not be // launched there. -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) // This is possibly called before `g_browser_process` is initialized. PrefService* local_state; if (g_browser_process) { -@@ -8024,7 +8026,7 @@ void ChromeContentBrowserClient:: +@@ -8098,7 +8100,7 @@ void ChromeContentBrowserClient:: GrantAdditionalRequestPrivilegesToWorkerProcess(int child_id, const GURL& script_url) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // IWA Service Workers need to be explicitly granted access to their origin // because isolated-app: isn't a web-safe scheme that can be accessed by // default. -@@ -8489,7 +8491,7 @@ ChromeContentBrowserClient::GetAlternativeErrorPageOve +@@ -8563,7 +8565,7 @@ ChromeContentBrowserClient::GetAlternativeErrorPageOve content::BrowserContext* browser_context, int32_t error_code) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (content::AreIsolatedWebAppsEnabled(browser_context) && url.SchemeIs(webapps::kIsolatedAppScheme)) { content::mojom::AlternativeErrorPageOverrideInfoPtr diff --git a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h index dc59792d8096..9cde9a844d38 100644 --- a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h +++ b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h @@ -1,11 +1,11 @@ ---- chrome/browser/chrome_content_browser_client.h.orig 2026-06-17 07:32:12 UTC +--- chrome/browser/chrome_content_browser_client.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/chrome_content_browser_client.h -@@ -577,7 +577,7 @@ class ChromeContentBrowserClient : public content::Con +@@ -585,7 +585,7 @@ class ChromeContentBrowserClient : public content::Con const GURL& site_url) override; std::unique_ptr CreateTracingDelegate() override; bool IsSystemWideTracingEnabled() override; -#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_BSD) void GetAdditionalMappedFilesForChildProcess( const base::CommandLine& command_line, int child_process_id, diff --git a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc index b0646cab03e6..a0cb143169cc 100644 --- a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc +++ b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc @@ -1,38 +1,38 @@ ---- chrome/browser/chrome_content_browser_client_navigation_throttles.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/chrome_content_browser_client_navigation_throttles.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/chrome_content_browser_client_navigation_throttles.cc -@@ -145,7 +145,7 @@ +@@ -146,7 +146,7 @@ #include "chrome/browser/captive_portal/captive_portal_service_factory.h" #endif // BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/browser_switcher/browser_switcher_navigation_throttle.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" -@@ -449,7 +449,7 @@ void CreateAndAddChromeThrottlesForNavigation( +@@ -459,7 +459,7 @@ void CreateAndAddChromeThrottlesForNavigation( TypedNavigationUpgradeThrottle::MaybeCreateAndAdd(registry); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) WebAppSettingsNavigationThrottle::MaybeCreateAndAdd(registry); profile_management::ProfileManagementNavigationThrottle::MaybeCreateAndAdd( registry); -@@ -467,7 +467,7 @@ void CreateAndAddChromeThrottlesForNavigation( +@@ -477,7 +477,7 @@ void CreateAndAddChromeThrottlesForNavigation( #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) enterprise_connectors::DeviceTrustNavigationThrottle::MaybeCreateAndAdd( registry); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || -@@ -521,7 +521,7 @@ void CreateAndAddChromeThrottlesForNavigation( +@@ -531,7 +531,7 @@ void CreateAndAddChromeThrottlesForNavigation( registry, ui_manager); #endif // BUILDFLAG(SAFE_BROWSING_AVAILABLE) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) browser_switcher::BrowserSwitcherNavigationThrottle::MaybeCreateAndAdd( registry); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.cc b/www/chromium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.cc index 3f09ae9eceb5..637185dc09b7 100644 --- a/www/chromium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.cc +++ b/www/chromium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.cc @@ -1,20 +1,20 @@ ---- chrome/browser/component_updater/iwa_key_distribution_component_installer.cc.orig 2026-02-11 09:05:39 UTC +--- chrome/browser/component_updater/iwa_key_distribution_component_installer.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/component_updater/iwa_key_distribution_component_installer.cc -@@ -73,7 +73,7 @@ bool IsComponentSupported() { - // the main IWA feature. - #if BUILDFLAG(IS_WIN) +@@ -72,7 +72,7 @@ bool IsComponentSupported() { + // Key Distribution component is necessary for full IWAs support as it + // involves the IWA allowlist necessary to install IWAs in prod... return base::FeatureList::IsEnabled(features::kIsolatedWebApps); --#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - return base::FeatureList::IsEnabled( - component_updater::kIwaKeyDistributionComponent); - #else -@@ -94,7 +94,7 @@ bool IsOnDemandUpdateSupported() { +-#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // ...however, on Mac/Linux, the component logic is not fully supported. A + // separate flag enables developing and testing both: IWAs and the component + // separately on these systems. +@@ -96,7 +96,7 @@ bool IsOnDemandUpdateSupported() { namespace component_updater { --#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - BASE_FEATURE(kIwaKeyDistributionComponent, - #if BUILDFLAG(IS_CHROMEOS) - base::FEATURE_ENABLED_BY_DEFAULT +-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + BASE_FEATURE(kIwaKeyDistributionComponent, base::FEATURE_DISABLED_BY_DEFAULT); + #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + diff --git a/www/chromium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.h b/www/chromium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.h index efd042e1c70d..8280f6cc51d2 100644 --- a/www/chromium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.h +++ b/www/chromium/files/patch-chrome_browser_component__updater_iwa__key__distribution__component__installer.h @@ -1,11 +1,11 @@ ---- chrome/browser/component_updater/iwa_key_distribution_component_installer.h.orig 2026-01-14 08:33:23 UTC +--- chrome/browser/component_updater/iwa_key_distribution_component_installer.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/component_updater/iwa_key_distribution_component_installer.h @@ -26,7 +26,7 @@ class IwaKeyDistributionInfoProvider; namespace component_updater { --#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_DECLARE_FEATURE(kIwaKeyDistributionComponent); - #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_component__updater_registration.cc b/www/chromium/files/patch-chrome_browser_component__updater_registration.cc index 51fc783630a2..6e643c6c9c84 100644 --- a/www/chromium/files/patch-chrome_browser_component__updater_registration.cc +++ b/www/chromium/files/patch-chrome_browser_component__updater_registration.cc @@ -1,35 +1,35 @@ ---- chrome/browser/component_updater/registration.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/component_updater/registration.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/component_updater/registration.cc -@@ -84,7 +84,7 @@ +@@ -85,7 +85,7 @@ #endif // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) #include "components/component_updater/installer_policies/amount_extraction_heuristic_regexes_component_installer.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -@@ -93,7 +93,7 @@ +@@ -94,7 +94,7 @@ #include "ui/aura/env.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/component_updater/wasm_tts_engine_component_installer.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -219,12 +219,12 @@ void RegisterComponentsForUpdate() { +@@ -220,12 +220,12 @@ void RegisterComponentsForUpdate() { #endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) RegisterAmountExtractionHeuristicRegexesComponent(cus); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) RegisterWasmTtsEngineComponent(cus, g_browser_process->local_state()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_devtools_devtools__policy__dialog.cc b/www/chromium/files/patch-chrome_browser_devtools_devtools__policy__dialog.cc index bb20a17d438e..fe61a8615d31 100644 --- a/www/chromium/files/patch-chrome_browser_devtools_devtools__policy__dialog.cc +++ b/www/chromium/files/patch-chrome_browser_devtools_devtools__policy__dialog.cc @@ -1,11 +1,11 @@ ---- chrome/browser/devtools/devtools_policy_dialog.cc.orig 2026-02-11 09:05:39 UTC +--- chrome/browser/devtools/devtools_policy_dialog.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/devtools/devtools_policy_dialog.cc -@@ -32,7 +32,7 @@ +@@ -33,7 +33,7 @@ namespace { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) constexpr int kIconPadding = 4; #else constexpr int kIconPadding = 2; diff --git a/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc b/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc index cfbc348836f8..89764f701b32 100644 --- a/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc +++ b/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc @@ -1,29 +1,29 @@ ---- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/download/chrome_download_manager_delegate.cc -@@ -2070,7 +2070,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe +@@ -2095,7 +2095,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe bool ChromeDownloadManagerDelegate::IsOpenInBrowserPreferredForFile( const base::FilePath& path) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) if (path.MatchesExtension(FILE_PATH_LITERAL(".pdf"))) { return !download_prefs_->ShouldOpenPdfInSystemReader(); } -@@ -2207,7 +2207,7 @@ void ChromeDownloadManagerDelegate::CheckDownloadAllow +@@ -2232,7 +2232,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) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) // 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()) { -@@ -2285,7 +2285,7 @@ void ChromeDownloadManagerDelegate::CheckSavePackageAl +@@ -2310,7 +2310,7 @@ void ChromeDownloadManagerDelegate::CheckSavePackageAl DCHECK(download_item->IsSavePackageDownload()); #if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_MAC)) && \ + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)) && \ BUILDFLAG(SAFE_BROWSING_AVAILABLE) std::optional settings = safe_browsing::ShouldUploadBinaryForDeepScanning(download_item); diff --git a/www/chromium/files/patch-chrome_browser_download_download__commands.cc b/www/chromium/files/patch-chrome_browser_download_download__commands.cc index a080b0875b5f..3c7b6be5b4d0 100644 --- a/www/chromium/files/patch-chrome_browser_download_download__commands.cc +++ b/www/chromium/files/patch-chrome_browser_download_download__commands.cc @@ -1,20 +1,20 @@ ---- chrome/browser/download/download_commands.cc.orig 2025-10-02 04:28:32 UTC +--- chrome/browser/download/download_commands.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/download/download_commands.cc @@ -27,7 +27,7 @@ #include "ui/base/clipboard/scoped_clipboard_writer.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/browser.h" - #include "chrome/browser/ui/browser_finder.h" #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" -@@ -174,7 +174,7 @@ void DownloadCommands::ExecuteCommand(Command command) + #endif +@@ -173,7 +173,7 @@ void DownloadCommands::ExecuteCommand(Command command) } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) Browser* DownloadCommands::GetBrowser() const { if (!model_) diff --git a/www/chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc b/www/chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc index b2fb3aaf88de..241e8cde3ce5 100644 --- a/www/chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc +++ b/www/chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc @@ -1,47 +1,47 @@ ---- chrome/browser/enterprise/browser_management/browser_management_service.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/enterprise/browser_management/browser_management_service.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/enterprise/browser_management/browser_management_service.cc -@@ -50,7 +50,7 @@ GetManagementStatusProviders(Profile* profile) { +@@ -61,7 +61,7 @@ BrowserManagementService::BrowserManagementService(Pro + management_status_providers().end(), + [](const auto& provider) { return provider->RequiresCache(); })); - 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, -@@ -74,7 +74,7 @@ BrowserManagementService::BrowserManagementService(Pro +@@ -85,7 +85,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 @@ ui::ImageModel* BrowserManagementService::GetManagemen +@@ -94,7 +94,7 @@ ui::ImageModel* BrowserManagementService::GetManagemen } gfx::Image* BrowserManagementService::GetManagementIconForBrowser() { -#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_browser_.IsEmpty() ? nullptr : &management_icon_for_browser_; #else -@@ -96,7 +96,7 @@ void BrowserManagementService::TriggerPolicyStatusChan +@@ -107,7 +107,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::SetBrowserManagementIconForTesting( const gfx::Image& management_icon) { CHECK_IS_TEST(); -@@ -185,7 +185,7 @@ void BrowserManagementService::SetManagementIconForBro +@@ -196,7 +196,7 @@ void BrowserManagementService::SetManagementIconForBro #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/chromium/files/patch-chrome_browser_enterprise_connectors_common.cc b/www/chromium/files/patch-chrome_browser_enterprise_connectors_common.cc index 58484a030bee..a1f9ec43c67d 100644 --- a/www/chromium/files/patch-chrome_browser_enterprise_connectors_common.cc +++ b/www/chromium/files/patch-chrome_browser_enterprise_connectors_common.cc @@ -1,20 +1,20 @@ ---- chrome/browser/enterprise/connectors/common.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/enterprise/connectors/common.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/enterprise/connectors/common.cc -@@ -21,7 +21,7 @@ +@@ -27,7 +27,7 @@ #include "components/user_manager/user.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/enterprise/signin/enterprise_signin_prefs.h" #include "components/prefs/pref_service.h" #endif -@@ -239,7 +239,7 @@ std::string GetProfileEmail(Profile* profile) { +@@ -150,7 +150,7 @@ std::string GetProfileEmail(Profile* profile) { std::string email = GetProfileEmail(IdentityManagerFactory::GetForProfile(profile)); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (email.empty()) { email = profile->GetPrefs()->GetString( enterprise_signin::prefs::kProfileUserEmail); diff --git a/www/chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc b/www/chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc index 5cb88d1361e6..f71d09723273 100644 --- a/www/chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc +++ b/www/chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc @@ -1,11 +1,11 @@ ---- chrome/browser/enterprise/connectors/connectors_service.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/enterprise/connectors/connectors_service.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/enterprise/connectors/connectors_service.cc -@@ -346,7 +346,7 @@ policy::PolicyScope ConnectorsService::GetPolicyScope( +@@ -329,7 +329,7 @@ policy::PolicyScope ConnectorsService::GetPolicyScope( bool ConnectorsService::ConnectorsEnabled() const { 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) // On desktop, the guest profile is actually the primary OTR profile of // the "regular" guest profile. The regular guest profile is never used // directly by users. Also, user are not able to create child OTR profiles diff --git a/www/chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc b/www/chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc index 6b3af5c5557d..74e1bcdd575e 100644 --- a/www/chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc +++ b/www/chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc @@ -1,47 +1,47 @@ ---- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc.orig 2026-03-13 06:02:14 UTC +--- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc @@ -53,7 +53,7 @@ #include "base/strings/utf_string_conversions.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/enterprise/signals/signals_aggregator_factory.h" #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" #include "components/device_signals/core/browser/signals_aggregator.h" @@ -62,7 +62,7 @@ namespace enterprise_connectors { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) using Event = ::chrome::cros::reporting::proto::Event; #endif @@ -162,7 +162,7 @@ void RealtimeReportingClient::ReportPastEvent(const st /*include_profile_user_name=*/false); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void AddCrowdstrikeSignalsToEvent( base::DictValue& event, -@@ -284,7 +284,7 @@ std::string RealtimeReportingClient::GetProfileUserNam +@@ -285,7 +285,7 @@ std::string RealtimeReportingClient::GetProfileUserNam username_ = identity_manager_ ? GetProfileEmail(identity_manager_) : std::string(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (username_.empty()) { username_ = Profile::FromBrowserContext(context_)->GetPrefs()->GetString( enterprise_signin::prefs::kProfileUserEmail); -@@ -341,7 +341,7 @@ std::string RealtimeReportingClient::GetBrowserClientI +@@ -342,7 +342,7 @@ std::string RealtimeReportingClient::GetBrowserClientI return client_id; } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(notyet) void RealtimeReportingClient::MaybeCollectDeviceSignalsAndReportEvent( Event event, policy::CloudPolicyClient* client, diff --git a/www/chromium/files/patch-chrome_browser_enterprise_remote__commands_user__remote__commands__factory.cc b/www/chromium/files/patch-chrome_browser_enterprise_remote__commands_user__remote__commands__factory.cc index ab16331c3db1..a4cece10a1d5 100644 --- a/www/chromium/files/patch-chrome_browser_enterprise_remote__commands_user__remote__commands__factory.cc +++ b/www/chromium/files/patch-chrome_browser_enterprise_remote__commands_user__remote__commands__factory.cc @@ -1,11 +1,11 @@ ---- chrome/browser/enterprise/remote_commands/user_remote_commands_factory.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/enterprise/remote_commands/user_remote_commands_factory.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/enterprise/remote_commands/user_remote_commands_factory.cc @@ -22,7 +22,7 @@ UserRemoteCommandsFactory::BuildJobForType( switch (type) { case enterprise_management::RemoteCommand_Type_BROWSER_CLEAR_BROWSING_DATA: return std::make_unique(profile_); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - case enterprise_management::RemoteCommand_Type_EXTENSION_UPDATE_CHECK: + case enterprise_management:: + RemoteCommand_Type_BROWSER_EXTENSION_UPDATE_CHECK: return std::make_unique(profile_); - #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service.cc b/www/chromium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service.cc index 7a2a83163f71..ead78ece2192 100644 --- a/www/chromium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service.cc +++ b/www/chromium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service.cc @@ -1,20 +1,20 @@ ---- chrome/browser/enterprise/reporting/cloud_profile_reporting_service.cc.orig 2026-04-09 06:05:42 UTC +--- chrome/browser/enterprise/reporting/cloud_profile_reporting_service.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/enterprise/reporting/cloud_profile_reporting_service.cc @@ -41,7 +41,7 @@ #include "chrome/browser/enterprise/reporting/reporting_delegate_factory_desktop.h" #endif -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/enterprise/reporting/saas_usage/saas_usage_reporting_delegate_factory_desktop.h" #include "components/enterprise/browser/reporting/reporting_features.h" #include "components/enterprise/browser/reporting/saas_usage/saas_usage_report_scheduler.h" -@@ -122,7 +122,7 @@ void CloudProfileReportingService::CreateReportSchedul +@@ -123,7 +123,7 @@ void CloudProfileReportingService::CreateReportSchedul #endif report_scheduler_ = std::make_unique(std::move(params)); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(kSaasUsageReporting)) { auto saas_usage_reporting_delegate_factory = SaasUsageReportingDelegateFactoryDesktop::CreateForProfile(profile_); diff --git a/www/chromium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc b/www/chromium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc index 086f27ee6c0b..b19e8e65b9d9 100644 --- a/www/chromium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc +++ b/www/chromium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc @@ -1,20 +1,38 @@ ---- chrome/browser/enterprise/signals/signals_aggregator_factory.cc.orig 2025-10-02 04:28:32 UTC +--- chrome/browser/enterprise/signals/signals_aggregator_factory.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/enterprise/signals/signals_aggregator_factory.cc -@@ -49,7 +49,7 @@ +@@ -54,7 +54,7 @@ #include "components/device_signals/core/browser/settings_client.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "components/device_signals/core/browser/agent_signals_collector.h" #include "components/device_signals/core/browser/crowdstrike_client.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -113,7 +113,7 @@ SignalsAggregatorFactory::BuildServiceInstanceForBrows +@@ -93,7 +93,7 @@ SignalsAggregatorFactory::SignalsAggregatorFactory() + #endif // !BUILDFLAG(IS_ANDROID) + DependsOn(UserPermissionServiceFactory::GetInstance()); + 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) + DependsOn(ProfileNetworkContextServiceFactory::GetInstance()); + #endif + } +@@ -121,7 +121,7 @@ SignalsAggregatorFactory::BuildServiceInstanceForBrows service_host)); #endif // !BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) collectors.push_back(std::make_unique( device_signals::CrowdStrikeClient::Create())); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +@@ -132,7 +132,7 @@ SignalsAggregatorFactory::BuildServiceInstanceForBrows + CreateSettingsClient())); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + if (enterprise_signals::features::IsCertificateCollectionEnabled()) { + auto* profile_network_service = + ProfileNetworkContextServiceFactory::GetForContext(profile); diff --git a/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn b/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn index 4f6588ed87b8..e9317a709256 100644 --- a/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn +++ b/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn @@ -1,13 +1,13 @@ ---- chrome/browser/extensions/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/extensions/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/extensions/BUILD.gn -@@ -1507,6 +1507,10 @@ source_set("extensions") { +@@ -1524,6 +1524,10 @@ source_set("extensions") { ] } + if (is_bsd) { + sources -= [ "api/image_writer_private/removable_storage_provider_linux.cc" ] + } + if (enable_pdf) { deps += [ "//chrome/browser/pdf", diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc b/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc index 8932437021c5..4440f5413c13 100644 --- a/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc +++ b/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc @@ -1,47 +1,47 @@ ---- chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc -@@ -38,7 +38,7 @@ - #include "components/reporting/util/statusor.h" - #endif +@@ -29,7 +29,7 @@ + #include "components/enterprise/connectors/core/reporting_constants.h" + #include "google_apis/gaia/gaia_id.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 #include "base/strings/string_util.h" -@@ -154,7 +154,7 @@ api::enterprise_reporting_private::ContextInfo ToConte +@@ -324,7 +324,7 @@ api::enterprise_reporting_private::ContextInfo ToConte } bool AllowClientCertificateReportingForUsers() { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return base::FeatureList::IsEnabled( enterprise_signals::features::kAllowClientCertificateReportingForUsers); #else -@@ -167,7 +167,7 @@ bool IsProfilePrefManaged(Profile* profile, std::strin +@@ -337,7 +337,7 @@ bool IsProfilePrefManaged(Profile* profile, std::strin return pref && pref->IsManaged(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) device_signals::SignalsAggregationRequest CreateAggregationRequest( device_signals::SignalName signal_name) { -@@ -229,7 +229,7 @@ EnterpriseReportingPrivateGetDeviceIdFunction:: +@@ -399,7 +399,7 @@ EnterpriseReportingPrivateGetDeviceIdFunction:: // getPersistentSecret -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) EnterpriseReportingPrivateGetPersistentSecretFunction:: EnterpriseReportingPrivateGetPersistentSecretFunction() = default; -@@ -669,7 +669,7 @@ void EnterpriseReportingPrivateEnqueueRecordFunction:: +@@ -716,7 +716,7 @@ void EnterpriseReportingPrivateGetCertificateFunction: + Respond(WithArguments(ret.ToValue())); } - #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // getFileSystemInfo diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h b/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h index 048a9551288c..71d7cd81c6f2 100644 --- a/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h +++ b/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h @@ -1,29 +1,29 @@ ---- chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.h.orig 2023-03-09 06:31:50 UTC +--- chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.h -@@ -20,7 +20,7 @@ - #include "components/reporting/proto/synced/record.pb.h" - #include "components/reporting/proto/synced/record_constants.pb.h" - #include "components/reporting/util/statusor.h" --#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +@@ -16,7 +16,7 @@ + #include "chrome/browser/extensions/api/enterprise_reporting_private/chrome_desktop_report_request_helper.h" + #include "chrome/common/extensions/api/enterprise_reporting_private.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 "base/time/time.h" #include "components/device_signals/core/browser/signals_types.h" - #endif // BUILDFLAG(IS_CHROMEOS) -@@ -56,7 +56,7 @@ class EnterpriseReportingPrivateGetDeviceIdFunction : + #endif +@@ -52,7 +52,7 @@ class EnterpriseReportingPrivateGetDeviceIdFunction : ~EnterpriseReportingPrivateGetDeviceIdFunction() override; }; -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) class EnterpriseReportingPrivateGetPersistentSecretFunction : public ExtensionFunction { -@@ -266,7 +266,7 @@ class EnterpriseReportingPrivateEnqueueRecordFunction - - #endif +@@ -211,7 +211,7 @@ class EnterpriseReportingPrivateGetCertificateFunction + client_cert_fetcher_; + }; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) class EnterpriseReportingPrivateGetFileSystemInfoFunction : public ExtensionFunction { diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc b/www/chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc index 710aa0f35183..72c56b6a9dc6 100644 --- a/www/chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc +++ b/www/chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc @@ -1,11 +1,11 @@ ---- chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc -@@ -663,7 +663,7 @@ void PasswordsPrivateDelegateImpl::OnFetchingFamilyMem +@@ -662,7 +662,7 @@ void PasswordsPrivateDelegateImpl::OnFetchingFamilyMem } void PasswordsPrivateDelegateImpl::OsReauthTimeoutCall() { -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) PasswordsPrivateEventRouter* router = PasswordsPrivateEventRouterFactory::GetForProfile(profile_); if (router) { diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc b/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc index de800b600358..d62629065d31 100644 --- a/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc +++ b/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc @@ -1,29 +1,29 @@ ---- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/extensions/api/settings_private/prefs_util.cc -@@ -223,7 +223,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist +@@ -233,7 +233,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist (*s_allowlist)[autofill::prefs::kAutofillPaymentCardBenefits] = settings_api::PrefType::kBoolean; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) (*s_allowlist)[autofill::prefs::kAutofillBnplEnabled] = settings_api::PrefType::kBoolean; (*s_allowlist)[autofill::prefs::kAutofillAiIdentityEntitiesEnabled] = -@@ -259,7 +259,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist +@@ -273,7 +273,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist (*s_allowlist)[tab_groups::prefs::kAutoPinNewTabGroups] = settings_api::PrefType::kBoolean; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) (*s_allowlist)[::prefs::kUseCustomChromeFrame] = settings_api::PrefType::kBoolean; #endif -@@ -278,7 +278,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist +@@ -293,7 +293,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist (*s_allowlist)[::prefs::kPinnedActions] = settings_api::PrefType::kList; (*s_allowlist)[themes::prefs::kPolicyThemeColor] = settings_api::PrefType::kNumber; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) (*s_allowlist)[::prefs::kSystemTheme] = settings_api::PrefType::kNumber; #endif (*s_allowlist)[::prefs::kHomePage] = settings_api::PrefType::kUrl; diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc b/www/chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc index b75f25e285c4..9ca80178445c 100644 --- a/www/chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc +++ b/www/chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc @@ -1,11 +1,11 @@ ---- chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/extensions/api/tabs/tabs_api.cc -@@ -1365,7 +1365,7 @@ ExtensionFunction::ResponseValue WindowsCreateFunction +@@ -1367,7 +1367,7 @@ ExtensionFunction::ResponseValue WindowsCreateFunction // 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. -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))&& BUILDFLAG(SUPPORTS_OZONE_X11) if (new_window->GetBrowserForMigrationOnly()->initial_show_state() == ui::mojom::WindowShowState::kMinimized) { new_window->GetWindow()->Minimize(); diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc b/www/chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc index f58ed6ff85dd..6419bf985c02 100644 --- a/www/chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc +++ b/www/chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc @@ -1,11 +1,11 @@ ---- chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -1101,7 +1101,7 @@ void WebstorePrivateBeginInstallWithManifest3Function: +@@ -1173,7 +1173,7 @@ void WebstorePrivateBeginInstallWithManifest3Function: #if BUILDFLAG(IS_CHROMEOS) RequestExtensionApproval(contents); return; -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Shows a parental permission dialog directly bypassing the extension // install dialog view. The parental permission dialog contains a superset // of data from the extension install dialog: requested extension diff --git a/www/chromium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc b/www/chromium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc index 93dbbc04c838..359538606c04 100644 --- a/www/chromium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc +++ b/www/chromium/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 2026-06-04 10:12:25 UTC +--- chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc -@@ -412,7 +412,7 @@ GenerateBlockPaths(bool should_normalize_file_path) { +@@ -413,7 +413,7 @@ GenerateBlockPaths(bool should_normalize_file_path) { 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. BlockPath::CreateAbsolute(FILE_PATH_LITERAL("/dev"), BlockType::kBlockAllChildren), diff --git a/www/chromium/files/patch-chrome_browser_flag__descriptions.h b/www/chromium/files/patch-chrome_browser_flag__descriptions.h index 6ae2edbc27c7..32d0b296a8c0 100644 --- a/www/chromium/files/patch-chrome_browser_flag__descriptions.h +++ b/www/chromium/files/patch-chrome_browser_flag__descriptions.h @@ -1,21 +1,21 @@ ---- chrome/browser/flag_descriptions.h.orig 2026-06-17 07:32:12 UTC +--- chrome/browser/flag_descriptions.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/flag_descriptions.h -@@ -8588,6 +8588,18 @@ inline constexpr char kAndroidEntraSsoDescription[] = - "Enables native support for Entra SSO on Android provided by selected " - "Authentication Brokers."; +@@ -8514,6 +8514,18 @@ inline constexpr char kEnableDlpFileSystemApiDescripti + "Enable DLP upload scan support for FileSystem API-backed cloud storage on " + "ChromeOS."; +#if BUILDFLAG(IS_BSD) +inline constexpr char kAudioBackendName[] = + "Audio Backend"; +inline constexpr char kAudioBackendDescription[] = +#if BUILDFLAG(IS_OPENBSD) + "Select the desired audio backend to use. The default is sndio."; +#elif BUILDFLAG(IS_FREEBSD) + "Select the desired audio backend to use. The default will automatically " + "enumerate through the supported backends."; +#endif +#endif + // ============================================================================ // Don't just add flags to the end, put them in the alphabetical order. // ============================================================================ diff --git a/www/chromium/files/patch-chrome_browser_glic_glic__settings__util__desktop.cc b/www/chromium/files/patch-chrome_browser_glic_glic__settings__util__desktop.cc new file mode 100644 index 000000000000..27a64af7b693 --- /dev/null +++ b/www/chromium/files/patch-chrome_browser_glic_glic__settings__util__desktop.cc @@ -0,0 +1,11 @@ +--- chrome/browser/glic/glic_settings_util_desktop.cc.orig 2026-07-01 06:24:19 UTC ++++ chrome/browser/glic/glic_settings_util_desktop.cc +@@ -108,7 +108,7 @@ std::string_view GetPlatformHelpSuffix() { + return "_mac"; + #elif BUILDFLAG(IS_CHROMEOS) + return "_chromeos"; +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return "_linux"; + #else + return ""; diff --git a/www/chromium/files/patch-chrome_browser_glic_host_glic__page__handler.cc b/www/chromium/files/patch-chrome_browser_glic_host_glic__page__handler.cc index 22e02674052a..0a9830548018 100644 --- a/www/chromium/files/patch-chrome_browser_glic_host_glic__page__handler.cc +++ b/www/chromium/files/patch-chrome_browser_glic_host_glic__page__handler.cc @@ -1,11 +1,11 @@ ---- chrome/browser/glic/host/glic_page_handler.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/glic/host/glic_page_handler.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/glic/host/glic_page_handler.cc -@@ -194,7 +194,7 @@ mojom::FormFactor GetGlicFormFactor(ui::DeviceFormFact +@@ -187,7 +187,7 @@ namespace { constexpr mojom::Platform kPlatform = mojom::Platform::kMacOS; #elif BUILDFLAG(IS_WIN) constexpr mojom::Platform kPlatform = mojom::Platform::kWindows; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) constexpr mojom::Platform kPlatform = mojom::Platform::kLinux; #elif BUILDFLAG(IS_CHROMEOS) constexpr mojom::Platform kPlatform = mojom::Platform::kChromeOS; diff --git a/www/chromium/files/patch-chrome_browser_glic_public_features.cc b/www/chromium/files/patch-chrome_browser_glic_public_features.cc index 1fd80bf010ce..86a233b61db8 100644 --- a/www/chromium/files/patch-chrome_browser_glic_public_features.cc +++ b/www/chromium/files/patch-chrome_browser_glic_public_features.cc @@ -1,11 +1,11 @@ ---- chrome/browser/glic/public/features.cc.orig 2026-06-17 07:32:12 UTC +--- chrome/browser/glic/public/features.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/glic/public/features.cc -@@ -67,7 +67,7 @@ BASE_FEATURE(kGlicCreateTabAdjacent, base::FEATURE_ENA +@@ -64,7 +64,7 @@ BASE_FEATURE(kGlicCreateTabAdjacent, base::FEATURE_ENA // When off, disables both live mode and the glic floating panel. BASE_FEATURE(kGlicLiveMode, -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_DISABLED_BY_DEFAULT #else base::FEATURE_ENABLED_BY_DEFAULT diff --git a/www/chromium/files/patch-chrome_browser_glic_service_glic__instance__impl.cc b/www/chromium/files/patch-chrome_browser_glic_service_glic__instance__impl.cc index 0b39d43cce06..2eee2cf26fae 100644 --- a/www/chromium/files/patch-chrome_browser_glic_service_glic__instance__impl.cc +++ b/www/chromium/files/patch-chrome_browser_glic_service_glic__instance__impl.cc @@ -1,20 +1,20 @@ ---- chrome/browser/glic/service/glic_instance_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/glic/service/glic_instance_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/glic/service/glic_instance_impl.cc @@ -18,7 +18,7 @@ #include "chrome/browser/actor/actor_keyed_service_factory.h" #include "chrome/browser/background/glic/glic_launcher_configuration.h" #include "chrome/browser/browser_process.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/reporting/saas_usage/saas_usage_reporting_controller_factory.h" #endif #include "chrome/browser/glic/common/future_browser_features.h" -@@ -141,7 +141,7 @@ EmbedderKey CreateSidePanelEmbedderKey(tabs::TabInterf +@@ -132,7 +132,7 @@ EmbedderKey CreateSidePanelEmbedderKey(tabs::TabInterf enterprise_reporting::SaasUsageReportingController* GetSaasUsageReportingController(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) return enterprise_reporting::SaasUsageReportingControllerFactory:: GetForProfile(profile); #else diff --git a/www/chromium/files/patch-chrome_browser_global__features.cc b/www/chromium/files/patch-chrome_browser_global__features.cc index 0939c6e67214..2b378dd5b3e5 100644 --- a/www/chromium/files/patch-chrome_browser_global__features.cc +++ b/www/chromium/files/patch-chrome_browser_global__features.cc @@ -1,38 +1,38 @@ ---- chrome/browser/global_features.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/global_features.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/global_features.cc -@@ -36,7 +36,7 @@ +@@ -38,7 +38,7 @@ #include "chrome/browser/background/glic/glic_background_mode_manager.h" // nogncheck #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // 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/default_browser/default_browser_manager.h" -@@ -164,7 +164,7 @@ void GlobalFeatures::PostBrowserProcessInit() { - - void GlobalFeatures::PostBrowserProcessInitCore() { +@@ -175,7 +175,7 @@ void GlobalFeatures::PostBrowserProcessInitCore() { + *g_browser_process, g_browser_process); + } system_permissions_platform_handle_ = CreateSystemPermissionsPlatformHandle(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // TODO(crbug.com/463742800): Migrate WhatsNewRegistry (and other non-core // features) to Init(). whats_new_registry_ = CreateWhatsNewRegistry(); -@@ -238,7 +238,7 @@ void GlobalFeatures::PostMainMessageLoopRun() { +@@ -249,7 +249,7 @@ void GlobalFeatures::PostMainMessageLoopRun() { application_advanced_protection_status_detector_.reset(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) DefaultBrowserPromptManager::GetInstance()->CloseAllPrompts( DefaultBrowserPromptManager::CloseReason::kDismiss); #endif -@@ -257,7 +257,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle( +@@ -268,7 +268,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle( return system_permission_settings::PlatformHandle::Create(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr GlobalFeatures::CreateWhatsNewRegistry() { return whats_new::CreateWhatsNewRegistry(); diff --git a/www/chromium/files/patch-chrome_browser_global__features.h b/www/chromium/files/patch-chrome_browser_global__features.h index 9411c5fb46f5..18214811ca5c 100644 --- a/www/chromium/files/patch-chrome_browser_global__features.h +++ b/www/chromium/files/patch-chrome_browser_global__features.h @@ -1,38 +1,38 @@ ---- chrome/browser/global_features.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/global_features.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/global_features.h -@@ -19,7 +19,7 @@ class GlobalBrowserCollection; +@@ -23,7 +23,7 @@ class GlobalBrowserCollection; namespace system_permission_settings { class PlatformHandle; } // namespace system_permission_settings -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) namespace whats_new { class WhatsNewRegistry; } // namespace whats_new -@@ -133,7 +133,7 @@ class GlobalFeatures { +@@ -137,7 +137,7 @@ class GlobalFeatures { system_permissions_platform_handle() { return system_permissions_platform_handle_.get(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) whats_new::WhatsNewRegistry* whats_new_registry() { return whats_new_registry_.get(); } -@@ -205,7 +205,7 @@ class GlobalFeatures { +@@ -209,7 +209,7 @@ class GlobalFeatures { virtual std::unique_ptr CreateSystemPermissionsPlatformHandle(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) virtual std::unique_ptr CreateWhatsNewRegistry(); #endif virtual std::unique_ptr -@@ -221,7 +221,7 @@ class GlobalFeatures { +@@ -225,7 +225,7 @@ class GlobalFeatures { std::unique_ptr system_permissions_platform_handle_; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr whats_new_registry_; std::unique_ptr diff --git a/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc b/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc index 009aefb9571f..c20b20692180 100644 --- a/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc +++ b/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc @@ -1,11 +1,11 @@ ---- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/media/webrtc/webrtc_log_uploader.cc -@@ -95,7 +95,7 @@ std::string GetLogUploadProduct(WebRtcLogUploadSite si +@@ -97,7 +97,7 @@ std::string GetLogUploadProduct(WebRtcLogUploadSite si const char product[] = "Chrome"; #elif BUILDFLAG(IS_MAC) const char product[] = "Chrome_Mac"; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #if !defined(ADDRESS_SANITIZER) const char product[] = "Chrome_Linux"; #else diff --git a/www/chromium/files/patch-chrome_browser_metrics_BUILD.gn b/www/chromium/files/patch-chrome_browser_metrics_BUILD.gn index bd9ae0fb84fc..e1a80b774e11 100644 --- a/www/chromium/files/patch-chrome_browser_metrics_BUILD.gn +++ b/www/chromium/files/patch-chrome_browser_metrics_BUILD.gn @@ -1,38 +1,38 @@ ---- chrome/browser/metrics/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/metrics/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/metrics/BUILD.gn -@@ -197,7 +197,7 @@ source_set("metrics") { +@@ -210,7 +210,7 @@ source_set("metrics") { ] } - if (is_linux || is_chromeos) { + if (!is_bsd && (is_linux || is_chromeos)) { public += [ "bluetooth_metrics_provider.h" ] } -@@ -208,7 +208,7 @@ source_set("metrics") { +@@ -221,7 +221,7 @@ source_set("metrics") { ] } - if (is_win || is_android || is_linux) { + if (!is_bsd && (is_win || is_android || is_linux)) { public += [ "chrome_metrics_service_crash_reporter.h" ] } -@@ -456,7 +456,7 @@ source_set("impl") { +@@ -473,7 +473,7 @@ source_set("impl") { sources += [ "structured/chrome_structured_metrics_delegate.cc" ] } - if (is_linux || is_chromeos) { + if (!is_bsd && (is_linux || is_chromeos)) { sources += [ "bluetooth_metrics_provider.cc" ] } -@@ -471,7 +471,7 @@ source_set("impl") { +@@ -488,7 +488,7 @@ source_set("impl") { deps += [ "//chrome/browser/updates:update_metrics" ] } - if (is_win || is_android || is_linux) { + if (!is_bsd && (is_win || is_android || is_linux)) { sources += [ "chrome_metrics_service_crash_reporter.cc" ] } diff --git a/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc b/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc index 096aaebf6e1c..869410f8343d 100644 --- a/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc +++ b/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc @@ -1,52 +1,52 @@ ---- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc -@@ -83,7 +83,7 @@ +@@ -84,7 +84,7 @@ #endif #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #if defined(__GLIBC__) #include #endif // defined(__GLIBC__) -@@ -109,7 +109,7 @@ +@@ -110,7 +110,7 @@ #include "chrome/installer/util/taskbar_util.h" #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/metrics/pressure/pressure_metrics_reporter.h" #endif // BUILDFLAG(IS_LINUX) -@@ -120,7 +120,7 @@ +@@ -121,7 +121,7 @@ #include "components/user_manager/user_manager.h" #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/power_metrics/system_power_monitor.h" #endif -@@ -944,7 +944,7 @@ void RecordStartupMetrics() { +@@ -939,7 +939,7 @@ void RecordStartupMetrics() { // Record whether Chrome is the default browser or not. // Disabled on Linux due to hanging browser tests, see crbug.com/40770414. -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) shell_integration::DefaultWebClientState default_state = shell_integration::GetDefaultBrowser(); base::UmaHistogramEnumeration("DefaultBrowser.State", default_state, -@@ -1186,11 +1186,11 @@ void ChromeBrowserMainExtraPartsMetrics::PostBrowserSt +@@ -1194,11 +1194,11 @@ void ChromeBrowserMainExtraPartsMetrics::PostBrowserSt std::make_unique(); #endif // !BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) pressure_metrics_reporter_ = std::make_unique(); #endif // BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) power_metrics::SystemPowerMonitor::Initialize(); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc b/www/chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc index 6d1d7da32918..a6d985a0300c 100644 --- a/www/chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc +++ b/www/chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc @@ -1,83 +1,83 @@ ---- chrome/browser/metrics/chrome_metrics_service_client.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/metrics/chrome_metrics_service_client.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/metrics/chrome_metrics_service_client.cc -@@ -210,7 +210,7 @@ +@@ -201,7 +201,7 @@ #include "chrome/browser/metrics/power/power_metrics_provider_mac.h" #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "components/metrics/motherboard_metrics_provider.h" #endif -@@ -222,7 +222,7 @@ +@@ -213,7 +213,7 @@ #include "chrome/browser/metrics/bluetooth_metrics_provider.h" #endif // BUILDFLAG(IS_LINUX) || 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) #include "chrome/browser/updates/update_metrics_provider.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -551,7 +551,7 @@ void ChromeMetricsServiceClient::RegisterPrefs(PrefReg +@@ -542,7 +542,7 @@ void ChromeMetricsServiceClient::RegisterPrefs(PrefReg #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) metrics::structured::StructuredMetricsService::RegisterPrefs(registry); #if !BUILDFLAG(IS_CHROMEOS) -@@ -748,7 +748,7 @@ void ChromeMetricsServiceClient::Initialize() { +@@ -739,7 +739,7 @@ void ChromeMetricsServiceClient::Initialize() { this, local_state); } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) metrics::structured::Recorder::GetInstance()->SetUiTaskRunner( base::SequencedTaskRunner::GetCurrentDefault()); #endif -@@ -808,7 +808,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic +@@ -799,7 +799,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic metrics_service_->RegisterMetricsProvider( std::make_unique()); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) metrics_service_->RegisterMetricsProvider( std::make_unique()); #endif -@@ -908,7 +908,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic +@@ -899,7 +899,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic std::make_unique()); #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) metrics_service_->RegisterMetricsProvider( std::make_unique()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -1027,7 +1027,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic +@@ -1009,7 +1009,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic std::make_unique()); #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) metrics_service_->RegisterMetricsProvider( metrics::CreateDesktopSessionMetricsProvider()); metrics_service_->RegisterMetricsProvider( -@@ -1233,7 +1233,7 @@ bool ChromeMetricsServiceClient::RegisterForProfileEve +@@ -1215,7 +1215,7 @@ bool ChromeMetricsServiceClient::RegisterForProfileEve } #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // This creates the DesktopProfileSessionDurationsServices if it didn't exist // already. metrics::DesktopProfileSessionDurationsServiceFactory::GetForBrowserContext( -@@ -1584,7 +1584,7 @@ void ChromeMetricsServiceClient::CreateStructuredMetri +@@ -1590,7 +1590,7 @@ void ChromeMetricsServiceClient::CreateStructuredMetri recorder = std::make_unique( cros_system_profile_provider_.get()); -#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) // Make sure that Structured Metrics recording delegates have been created // before the service is created. This is handled in other places for ChromeOS diff --git a/www/chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc b/www/chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc index d0a59e71c427..2b83bd6a7feb 100644 --- a/www/chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc +++ b/www/chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc @@ -1,29 +1,38 @@ ---- chrome/browser/metrics/power/process_monitor.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/metrics/power/process_monitor.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/metrics/power/process_monitor.cc -@@ -66,7 +66,7 @@ ProcessMonitor::Metrics SampleMetrics(base::ProcessMet +@@ -68,7 +68,7 @@ class ProcessMetricsDelegateImpl : public ProcessMetri + } + + #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ +- BUILDFLAG(IS_AIX) ++ BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) + int GetIdleWakeupsPerSecond() override { + return process_metrics_->GetIdleWakeupsPerSecond(); + } +@@ -105,7 +105,7 @@ ProcessMonitor::Metrics SampleMetrics(ProcessMetricsDe process_metrics.GetPlatformIndependentCPUUsage()); #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_AIX) + BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) metrics.idle_wakeups = process_metrics.GetIdleWakeupsPerSecond(); #endif #if BUILDFLAG(IS_MAC) -@@ -84,7 +84,7 @@ void ScaleMetrics(ProcessMonitor::Metrics* metrics, do +@@ -123,7 +123,7 @@ void ScaleMetrics(ProcessMonitor::Metrics* metrics, do } #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_AIX) + BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) metrics->idle_wakeups *= factor; #endif -@@ -159,7 +159,7 @@ ProcessMonitor::Metrics& operator+=(ProcessMonitor::Me +@@ -207,7 +207,7 @@ ProcessMonitor::Metrics& operator+=(ProcessMonitor::Me } #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_AIX) + BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) lhs.idle_wakeups += rhs.idle_wakeups; #endif diff --git a/www/chromium/files/patch-chrome_browser_metrics_power_process__monitor.h b/www/chromium/files/patch-chrome_browser_metrics_power_process__monitor.h index 18cb363747d0..3d7236b0a11d 100644 --- a/www/chromium/files/patch-chrome_browser_metrics_power_process__monitor.h +++ b/www/chromium/files/patch-chrome_browser_metrics_power_process__monitor.h @@ -1,11 +1,20 @@ ---- chrome/browser/metrics/power/process_monitor.h.orig 2026-04-09 06:05:42 UTC +--- chrome/browser/metrics/power/process_monitor.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/metrics/power/process_monitor.h -@@ -88,7 +88,7 @@ class ProcessMonitor : public content::BrowserChildPro +@@ -47,7 +47,7 @@ class ProcessMetricsDelegate { + GetPlatformIndependentCPUUsage() = 0; + + #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ +- BUILDFLAG(IS_AIX) ++ BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) + virtual int GetIdleWakeupsPerSecond() = 0; + #endif + +@@ -109,7 +109,7 @@ class ProcessMonitor : public content::BrowserChildPro std::optional cpu_usage; #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_AIX) + BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) // Returns the number of average idle cpu wakeups per second since the last // time the metric was sampled. int idle_wakeups = 0; diff --git a/www/chromium/files/patch-chrome_browser_net_profile__network__context__service.cc b/www/chromium/files/patch-chrome_browser_net_profile__network__context__service.cc index cddbd7657591..567ccb5e0a86 100644 --- a/www/chromium/files/patch-chrome_browser_net_profile__network__context__service.cc +++ b/www/chromium/files/patch-chrome_browser_net_profile__network__context__service.cc @@ -1,29 +1,29 @@ ---- chrome/browser/net/profile_network_context_service.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/net/profile_network_context_service.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/net/profile_network_context_service.cc -@@ -146,7 +146,7 @@ +@@ -145,7 +145,7 @@ #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) #include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h" #include "chrome/browser/policy/chrome_browser_policy_connector.h" #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" -@@ -322,7 +322,7 @@ void UpdateCookieSettings(Profile* profile, ContentSet +@@ -321,7 +321,7 @@ void UpdateCookieSettings(Profile* profile, ContentSet } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) std::unique_ptr GetWrappedCertStore( Profile* profile, std::unique_ptr platform_store) { -@@ -1286,7 +1286,7 @@ ProfileNetworkContextService::CreateClientCertStore() +@@ -1290,7 +1290,7 @@ ProfileNetworkContextService::CreateClientCertStore() std::make_unique( base::BindRepeating(&CreateCryptoModuleBlockingPasswordDelegate, kCryptoModulePasswordClientAuth)); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return GetWrappedCertStore(profile_, std::move(store)); #else return store; diff --git a/www/chromium/files/patch-chrome_browser_net_system__network__context__manager.cc b/www/chromium/files/patch-chrome_browser_net_system__network__context__manager.cc index bd2eda42a64a..dcc064d07e62 100644 --- a/www/chromium/files/patch-chrome_browser_net_system__network__context__manager.cc +++ b/www/chromium/files/patch-chrome_browser_net_system__network__context__manager.cc @@ -1,138 +1,138 @@ ---- chrome/browser/net/system_network_context_manager.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/net/system_network_context_manager.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/net/system_network_context_manager.cc @@ -138,7 +138,7 @@ enum class NetworkSandboxState { // The global instance of the SystemNetworkContextManager. SystemNetworkContextManager* g_system_network_context_manager = nullptr; -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Whether kerberos library loading will work in the network service due to the // sandbox. bool g_network_service_will_allow_gssapi_library_load = false; @@ -146,7 +146,7 @@ bool g_network_service_will_allow_gssapi_library_load const char* kGssapiDesiredPref = #if BUILDFLAG(IS_CHROMEOS) ash::prefs::kKerberosEnabled; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) prefs::kReceivedHttpAuthNegotiateHeader; #endif #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) @@ -192,7 +192,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut auth_dynamic_params->basic_over_http_enabled = local_state->GetBoolean(prefs::kBasicAuthOverHttpEnabled); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) auth_dynamic_params->delegate_by_kdc_policy = local_state->GetBoolean(prefs::kAuthNegotiateDelegateByKdcPolicy); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) @@ -207,7 +207,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut local_state->GetString(prefs::kAuthAndroidNegotiateAccountType); #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auth_dynamic_params->allow_gssapi_library_load = local_state->GetBoolean(kGssapiDesiredPref); #endif // BUILDFLAG(IS_CHROMEOS) @@ -217,7 +217,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut void OnNewHttpAuthDynamicParams( network::mojom::HttpAuthDynamicParamsPtr& params) { -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // The kerberos library is incompatible with the network service sandbox, so // if library loading is now enabled, the network service needs to be // restarted. It will be restarted unsandboxed because is @@ -265,11 +265,11 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal() // it is not always initialized. CHECK_IS_TEST(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto* local_state = g_browser_process->local_state(); #endif -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // The network service sandbox and the kerberos library are incompatible. // If kerberos is enabled by policy, disable the network service sandbox. if (g_network_service_will_allow_gssapi_library_load || @@ -285,7 +285,7 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal() } #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (local_state && local_state->HasPrefPath(prefs::kNetworkServiceSandboxEnabled)) { return local_state->GetBoolean(prefs::kNetworkServiceSandboxEnabled) @@ -590,7 +590,7 @@ void SystemNetworkContextManager::DeleteInstance() { g_system_network_context_manager = nullptr; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) SystemNetworkContextManager::GssapiLibraryLoadObserver:: GssapiLibraryLoadObserver(SystemNetworkContextManager* owner) : owner_(owner) {} @@ -649,7 +649,7 @@ SystemNetworkContextManager::SystemNetworkContextManag pref_change_registrar_.Add(prefs::kAllHttpAuthSchemesAllowedForOrigins, auth_pref_callback); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) pref_change_registrar_.Add(prefs::kAuthNegotiateDelegateByKdcPolicy, auth_pref_callback); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) @@ -663,7 +663,7 @@ SystemNetworkContextManager::SystemNetworkContextManag auth_pref_callback); #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) pref_change_registrar_.Add(kGssapiDesiredPref, auth_pref_callback); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) @@ -735,7 +735,7 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe registry->RegisterStringPref(prefs::kAuthNegotiateDelegateAllowlist, std::string()); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) registry->RegisterBooleanPref(prefs::kAuthNegotiateDelegateByKdcPolicy, false); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) -@@ -762,11 +762,11 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe +@@ -765,11 +765,11 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe registry->RegisterListPref(prefs::kExplicitlyAllowedNetworkPorts); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) registry->RegisterBooleanPref(prefs::kNetworkServiceSandboxEnabled, true); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) registry->RegisterBooleanPref(prefs::kReceivedHttpAuthNegotiateHeader, false); #endif // BUILDFLAG(IS_LINUX) -@@ -823,7 +823,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea +@@ -826,7 +826,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea OnNewHttpAuthDynamicParams(http_auth_dynamic_params); network_service->ConfigureHttpAuthPrefs(std::move(http_auth_dynamic_params)); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) gssapi_library_loader_observer_.Install(network_service); #endif // BUILDFLAG(IS_LINUX) -@@ -1069,7 +1069,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab +@@ -1072,7 +1072,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab break; } -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!enabled) { g_network_service_will_allow_gssapi_library_load = true; } diff --git a/www/chromium/files/patch-chrome_browser_page__load__metrics_page__load__metrics__initialize.cc b/www/chromium/files/patch-chrome_browser_page__load__metrics_page__load__metrics__initialize.cc index ce7a66eb5954..80f86f67afd8 100644 --- a/www/chromium/files/patch-chrome_browser_page__load__metrics_page__load__metrics__initialize.cc +++ b/www/chromium/files/patch-chrome_browser_page__load__metrics_page__load__metrics__initialize.cc @@ -1,20 +1,20 @@ ---- chrome/browser/page_load_metrics/page_load_metrics_initialize.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/page_load_metrics/page_load_metrics_initialize.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/page_load_metrics/page_load_metrics_initialize.cc @@ -69,7 +69,7 @@ #include "url/gurl.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/webapps/isolated_web_apps/scheme.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -361,7 +361,7 @@ bool PageLoadMetricsEmbedder::IsInternalWebUI(const GU +@@ -353,7 +353,7 @@ bool PageLoadMetricsEmbedder::IsInternalWebUI(const GU bool PageLoadMetricsEmbedder::ShouldObserveScheme(std::string_view scheme) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return scheme == webapps::kIsolatedAppScheme; #else // !(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS)) diff --git a/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc b/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc index 3a803542215a..bd3168921b64 100644 --- a/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc +++ b/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc @@ -1,38 +1,38 @@ ---- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2026-06-15 11:53:21 UTC +--- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/password_manager/chrome_password_manager_client.cc -@@ -698,7 +698,7 @@ void ChromePasswordManagerClient::ContinueShowKeyboard +@@ -699,7 +699,7 @@ void ChromePasswordManagerClient::ContinueShowKeyboard bool ChromePasswordManagerClient::IsReauthBeforeFillingRequired( device_reauth::DeviceAuthenticator* authenticator) { #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (!GetLocalStatePrefs() || !GetPrefs() || !authenticator) { return false; } -@@ -983,7 +983,7 @@ void ChromePasswordManagerClient::NotifyUserCredential +@@ -982,7 +982,7 @@ void ChromePasswordManagerClient::NotifyUserCredential } void ChromePasswordManagerClient::NotifyKeychainError() { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) PasswordsClientUIDelegate* manage_passwords_ui_controller = PasswordsClientUIDelegateFromWebContents(web_contents()); if (manage_passwords_ui_controller) { -@@ -2068,7 +2068,7 @@ void ChromePasswordManagerClient::HideFillingUI() { +@@ -2065,7 +2065,7 @@ void ChromePasswordManagerClient::HideFillingUI() { bool ChromePasswordManagerClient::IsPasswordManagementEnabledForCurrentPage( const GURL& url) const { #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (IsPasswordManagerForUrlDisallowedByPolicy(url)) { return false; } -@@ -2107,7 +2107,7 @@ bool ChromePasswordManagerClient::IsPasswordManagement +@@ -2104,7 +2104,7 @@ bool ChromePasswordManagerClient::IsPasswordManagement } #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool ChromePasswordManagerClient::IsPasswordManagerForUrlDisallowedByPolicy( const GURL& url) const { if (!GetPrefs() || !GetPrefs()->HasPrefPath( diff --git a/www/chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc b/www/chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc index 9d1fea86b25e..f04c3e8fe854 100644 --- a/www/chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc +++ b/www/chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc @@ -1,224 +1,251 @@ ---- chrome/browser/policy/configuration_policy_handler_list_factory.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/policy/configuration_policy_handler_list_factory.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -253,7 +253,7 @@ +@@ -261,7 +261,7 @@ #include "components/spellcheck/browser/pref_names.h" #endif // BUILDFLAG(ENABLE_SPELLCHECK) -#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/browser_switcher/browser_switcher_prefs.h" #include "chrome/browser/enterprise/idle/action.h" #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" -@@ -627,7 +627,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -271,7 +271,7 @@ + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include "components/enterprise/network_header_injection/core/http_header_injection_policy_handler.h" + #endif + +@@ -651,7 +651,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 }, -@@ -984,7 +984,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1017,7 +1017,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::LIST }, #endif // BUILDFLAG(ENABLE_EXTENSIONS_CORE) #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 }, -@@ -996,7 +996,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1029,7 +1029,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::LIST }, #endif // #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) // || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) { key::kFullscreenAllowed, prefs::kFullscreenAllowed, base::Value::Type::BOOLEAN }, -@@ -1888,7 +1888,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1921,7 +1921,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::INTEGER}, #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) { key::kGSSAPILibraryName, prefs::kGSSAPILibraryName, base::Value::Type::STRING }, -@@ -1950,7 +1950,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -1983,7 +1983,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) { key::kNetworkServiceSandboxEnabled, prefs::kNetworkServiceSandboxEnabled, base::Value::Type::BOOLEAN }, -@@ -1970,12 +1970,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2003,12 +2003,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = prefs::kTotalMemoryLimitMb, base::Value::Type::INTEGER }, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) { key::kBackgroundModeEnabled, prefs::kBackgroundModeEnabled, base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) { key::kUnmanagedDeviceSignalsConsentFlowEnabled, device_signals::prefs::kUnmanagedDeviceSignalsConsentFlowEnabled, base::Value::Type::BOOLEAN }, -@@ -1983,7 +1983,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2016,7 +2016,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = prefs::kProfileSeparationDomainExceptionList, base::Value::Type::LIST }, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) { key::kDefaultBrowserSettingEnabled, prefs::kDefaultBrowserSettingEnabled, base::Value::Type::BOOLEAN }, -@@ -1995,7 +1995,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2028,7 +2028,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) \ - || BUILDFLAG(IS_CHROMEOS) + || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) { key::kAutomatedPasswordChangeSettings, optimization_guide::prefs::kAutomatedPasswordChangeEnterprisePolicyAllowed, base::Value::Type::INTEGER }, -@@ -2099,7 +2099,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2132,7 +2132,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::BOOLEAN }, #endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) { key::kAlternativeBrowserPath, browser_switcher::prefs::kAlternativeBrowserPath, base::Value::Type::STRING }, -@@ -2207,7 +2207,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2240,7 +2240,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) { key::kAuthNegotiateDelegateByKdcPolicy, prefs::kAuthNegotiateDelegateByKdcPolicy, base::Value::Type::BOOLEAN }, -@@ -2284,7 +2284,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2317,7 +2317,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = ash::prefs::kUrlParameterToAutofillSAMLUsername, base::Value::Type::STRING }, #endif // BUILDFLAG(IS_CHROMEOS) -#if 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_BSD) { key::kNTPFooterExtensionAttributionEnabled, prefs::kNTPFooterExtensionAttributionEnabled, base::Value::Type::BOOLEAN }, -@@ -2324,7 +2324,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2357,7 +2357,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = prefs::kAndroidEntraSSOEnabled, base::Value::Type::INTEGER }, #endif -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) { key::kOutOfProcessSystemDnsResolutionEnabled, prefs::kOutOfProcessSystemDnsResolutionEnabled, base::Value::Type::BOOLEAN }, -@@ -2367,7 +2367,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2400,7 +2400,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = base::Value::Type::INTEGER }, #endif #if BUILDFLAG(ENABLE_EXTENSIONS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) { key::kExtensionInstallTypeBlocklist, extensions::pref_names::kExtensionInstallTypeBlocklist, base::Value::Type::LIST}, -@@ -2395,7 +2395,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2428,7 +2428,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = optimization_guide::prefs::kFindsEnterprisePolicyAllowed, base::Value::Type::INTEGER}, #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) { key::kChromeForTestingAllowed, prefs::kChromeForTestingAllowed, base::Value::Type::BOOLEAN }, -@@ -2480,7 +2480,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2511,7 +2511,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = policy_prefs::kBuiltInAIAPIsEnabled, base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) { key::kNTPFooterManagementNoticeEnabled, prefs::kNTPFooterManagementNoticeEnabled, base::Value::Type::BOOLEAN }, -@@ -2491,7 +2491,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = +@@ -2522,7 +2522,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = { key::kGeminiActOnWebSettings, glic::prefs::kGlicActuationOnWeb, base::Value::Type::INTEGER }, -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) { key::kEnableProxyOverrideRulesForAllUsers, proxy_config::prefs::kEnableProxyOverrideRulesForAllUsers, base::Value::Type::INTEGER }, -@@ -2668,7 +2668,7 @@ std::unique_ptr BuildH +@@ -2703,7 +2703,7 @@ std::unique_ptr BuildH // Policies for all platforms - End #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) handlers->AddHandler(std::make_unique( key::kMemorySaverModeSavings, performance_manager::user_tuning::prefs::kMemorySaverModeAggressiveness, -@@ -2939,7 +2939,7 @@ std::unique_ptr BuildH +@@ -2857,7 +2857,7 @@ std::unique_ptr BuildH + SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, + SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)); + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + handlers->AddHandler( + std::make_unique< + enterprise_custom_headers::HttpHeaderInjectionPolicyHandler>( +@@ -2982,7 +2982,7 @@ std::unique_ptr BuildH key::kBrowsingDataLifetime, browsing_data::prefs::kBrowsingDataLifetime, chrome_schema)); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) handlers->AddHandler(std::make_unique()); handlers->AddHandler(std::make_unique()); handlers->AddHandler(std::make_unique()); -@@ -3040,7 +3040,7 @@ std::unique_ptr BuildH +@@ -3083,7 +3083,7 @@ std::unique_ptr BuildH std::vector> signin_legacy_policies; #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_LINUX) + BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) signin_legacy_policies.push_back(std::make_unique( key::kForceBrowserSignin, prefs::kForceBrowserSignin, base::Value::Type::BOOLEAN)); -@@ -3057,7 +3057,7 @@ std::unique_ptr BuildH +@@ -3100,7 +3100,7 @@ std::unique_ptr BuildH base::Value::Type::BOOLEAN))); #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || // BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) handlers->AddHandler(std::make_unique( std::make_unique( key::kSecuritySignalsClientCertificatesSelectors, -@@ -3430,7 +3430,7 @@ std::unique_ptr BuildH +@@ -3471,7 +3471,7 @@ std::unique_ptr BuildH #endif #if BUILDFLAG(ENABLE_SPELLCHECK) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) handlers->AddHandler(std::make_unique()); handlers->AddHandler( std::make_unique( -@@ -3438,7 +3438,7 @@ std::unique_ptr BuildH +@@ -3479,7 +3479,7 @@ std::unique_ptr BuildH #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) #endif // BUILDFLAG(ENABLE_SPELLCHECK) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) handlers->AddHandler(std::make_unique( key::kAllowSystemNotifications, prefs::kAllowSystemNotifications, base::Value::Type::BOOLEAN)); -@@ -3491,7 +3491,7 @@ std::unique_ptr BuildH +@@ -3532,7 +3532,7 @@ std::unique_ptr BuildH std::vector gen_ai_default_policies; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) gen_ai_default_policies.emplace_back( key::kHelpMeWriteSettings, optimization_guide::prefs::kComposeEnterprisePolicyAllowed); +@@ -3659,7 +3659,7 @@ std::unique_ptr BuildH + glic::prefs::kGlicActuationOnWebBlockedForURLs)); + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + handlers->AddHandler(std::make_unique( + key::kGeminiEnterpriseSettings, glic::prefs::kGlicGeminiEnterpriseSettings, + chrome_schema, SCHEMA_ALLOW_UNKNOWN, diff --git a/www/chromium/files/patch-chrome_browser_policy_policy__value__and__status__aggregator.cc b/www/chromium/files/patch-chrome_browser_policy_policy__value__and__status__aggregator.cc index d06a877bd1a8..0c9d04da919a 100644 --- a/www/chromium/files/patch-chrome_browser_policy_policy__value__and__status__aggregator.cc +++ b/www/chromium/files/patch-chrome_browser_policy_policy__value__and__status__aggregator.cc @@ -1,11 +1,11 @@ ---- chrome/browser/policy/policy_value_and_status_aggregator.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/policy/policy_value_and_status_aggregator.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/policy/policy_value_and_status_aggregator.cc -@@ -53,7 +53,7 @@ +@@ -54,7 +54,7 @@ #include "chrome/browser/policy/value_provider/extension_policies_value_provider.h" #endif // 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) #include "components/policy/core/common/cloud/profile_cloud_policy_manager.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_prefs_browser__prefs.cc b/www/chromium/files/patch-chrome_browser_prefs_browser__prefs.cc index 519e53c9058f..f77368065ced 100644 --- a/www/chromium/files/patch-chrome_browser_prefs_browser__prefs.cc +++ b/www/chromium/files/patch-chrome_browser_prefs_browser__prefs.cc @@ -1,68 +1,68 @@ ---- chrome/browser/prefs/browser_prefs.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/prefs/browser_prefs.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/prefs/browser_prefs.cc -@@ -328,7 +328,7 @@ +@@ -336,7 +336,7 @@ #include "chrome/browser/devtools/devtools_window.h" #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 -@@ -514,11 +514,11 @@ +@@ -524,11 +524,11 @@ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/device_signals/core/browser/pref_names.h" // nogncheck due to crbug.com/40147906 #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/browser_switcher/browser_switcher_prefs.h" #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" #endif -@@ -546,7 +546,7 @@ +@@ -556,7 +556,7 @@ #include "chrome/browser/sessions/session_service_log.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/color/system_theme.h" #endif -@@ -1536,7 +1536,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) +@@ -1444,7 +1444,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) on_device_translation::RegisterLocalStatePrefs(registry); #endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) WhatsNewUI::RegisterLocalStatePrefs(registry); #endif -@@ -1699,7 +1699,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) +@@ -1608,7 +1608,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) #endif // BUILDFLAG(ENABLE_PDF_SAVE_TO_DRIVE) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) registry->RegisterBooleanPref(prefs::kChromeForTestingAllowed, true); #endif -@@ -2102,13 +2102,13 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync +@@ -2019,13 +2019,13 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) device_signals::RegisterProfilePrefs(registry); ntp_tiles::EnterpriseShortcutsManagerImpl::RegisterProfilePrefs(registry); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // 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) browser_switcher::BrowserSwitcherPrefs::RegisterProfilePrefs(registry); enterprise_signin::RegisterProfilePrefs(registry); #endif diff --git a/www/chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc b/www/chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc index 2eb8cab0ba8f..08fd080c935e 100644 --- a/www/chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc +++ b/www/chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc @@ -1,29 +1,29 @@ ---- chrome/browser/printing/print_backend_service_manager.cc.orig 2026-02-11 09:05:39 UTC +--- chrome/browser/printing/print_backend_service_manager.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/printing/print_backend_service_manager.cc @@ -35,7 +35,7 @@ #include "printing/printing_context.h" #include "printing/printing_features.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "content/public/common/content_switches.h" #include "ui/linux/linux_ui.h" #endif -@@ -885,7 +885,7 @@ PrintBackendServiceManager::GetServiceFromBundle( +@@ -871,7 +871,7 @@ PrintBackendServiceManager::GetServiceFromBundle( << remote_id << "`"; std::vector extra_switches; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (auto* linux_ui = ui::LinuxUi::instance()) { extra_switches = linux_ui->GetCmdLineFlagsForCopy(); } -@@ -1071,7 +1071,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate +@@ -1043,7 +1043,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate return kNoClientsRegisteredResetOnIdleTimeout; case ClientType::kQueryWithUi: -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // No need to update if there were other query with UI clients. if (HasQueryWithUiClientForRemoteId(remote_id)) { return std::nullopt; diff --git a/www/chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc b/www/chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc index 8fd8f095b43f..72c4956a5189 100644 --- a/www/chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc +++ b/www/chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc @@ -1,210 +1,205 @@ ---- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -33,7 +33,7 @@ - #include "chrome/browser/autofill/autocomplete_history_manager_factory.h" +@@ -313,7 +313,7 @@ + #include "ui/webui/buildflags.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/autofill/at_memory_promo_tracker_factory.h" #endif - -@@ -412,7 +412,7 @@ + #if BUILDFLAG(IS_WIN) +@@ -417,7 +417,7 @@ #endif #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h" #include "chrome/browser/enterprise/client_certificates/certificate_store_factory.h" #include "chrome/browser/enterprise/idle/idle_service_factory.h" -@@ -462,7 +462,7 @@ +@@ -467,7 +467,7 @@ #endif #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #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/ui/tabs/saved_tab_groups/collaboration_messaging_observer_factory.h" -@@ -473,11 +473,11 @@ +@@ -480,11 +480,11 @@ #include "chrome/browser/webauthn/passkey_unlock_manager_factory.h" #include "device/fido/public/features.h" #endif -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/policy/messaging_layer/util/manual_test_heartbeat_event_factory.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/browser_switcher/browser_switcher_service_factory.h" #include "chrome/browser/enterprise/reporting/saas_usage/saas_usage_reporting_controller_factory.h" #include "chrome/browser/enterprise/signin/enterprise_signin_service_factory.h" -@@ -565,7 +565,7 @@ +@@ -572,7 +572,7 @@ #include "chrome/browser/sessions/session_service_factory.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include "chrome/browser/gapis/gapis_service_factory.h" #include "components/gapis/features.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) -@@ -706,7 +706,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -718,7 +718,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #if !BUILDFLAG(IS_ANDROID) AutoPictureInPictureHatsServiceFactory::GetInstance(); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) AccountsPolicyManagerFactory::GetInstance(); search_integrity::SearchIntegrityFactory::GetInstance(); #endif -@@ -803,7 +803,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -817,7 +817,7 @@ void ChromeBrowserMainExtraPartsProfiles:: DiceBoundSessionCookieServiceFactory::GetInstance(); #endif #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) browser_switcher::BrowserSwitcherServiceFactory::GetInstance(); #endif browser_sync::UserEventServiceFactory::GetInstance(); -@@ -867,7 +867,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -881,7 +881,7 @@ void ChromeBrowserMainExtraPartsProfiles:: collaboration::comments::CommentsServiceFactory::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(); -@@ -884,7 +884,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -898,7 +898,7 @@ void ChromeBrowserMainExtraPartsProfiles:: contextual_tasks::ContextualTasksUiServiceFactory::GetInstance(); ContentIndexProviderFactory::GetInstance(); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) glic::ContextualCueingServiceFactory::GetInstance(); #endif ContextualSearchServiceFactory::GetInstance(); -@@ -943,11 +943,11 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -950,7 +950,7 @@ void ChromeBrowserMainExtraPartsProfiles:: + #endif enterprise_connectors::ConnectorsServiceFactory::GetInstance(); - enterprise_connectors::ReportingEventRouterFactory::GetInstance(); #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) enterprise_connectors::DeviceTrustConnectorServiceFactory::GetInstance(); enterprise_connectors::DeviceTrustServiceFactory::GetInstance(); #endif +@@ -959,7 +959,7 @@ void ChromeBrowserMainExtraPartsProfiles:: + enterprise_connectors::ExtensionInstallEventRouterFactory::GetInstance(); + enterprise_connectors::ExtensionTelemetryEventRouterFactory::GetInstance(); + #endif -#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)) && \ +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)) && \ BUILDFLAG(ENTERPRISE_LOCAL_CONTENT_ANALYSIS) && \ BUILDFLAG(SAFE_BROWSING_AVAILABLE) enterprise_connectors::LocalBinaryUploadServiceFactory::GetInstance(); -@@ -960,7 +960,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -981,7 +981,7 @@ void ChromeBrowserMainExtraPartsProfiles:: enterprise_groups::EnterpriseGroupsProfileHandlerFactory::GetInstance(); #endif #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) enterprise_idle::IdleServiceFactory::GetInstance(); enterprise_signals::SignalsAggregatorFactory::GetInstance(); #endif -@@ -968,14 +968,14 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -989,14 +989,14 @@ void ChromeBrowserMainExtraPartsProfiles:: enterprise_reporting::CloudProfileReportingServiceFactory::GetInstance(); #endif enterprise_reporting::LegacyTechServiceFactory::GetInstance(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) enterprise_reporting::SaasUsageReportingControllerFactory::GetInstance(); #endif #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) enterprise_signals::UserPermissionServiceFactory::GetInstance(); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) enterprise_signin::EnterpriseSigninServiceFactory::GetInstance(); #endif #if BUILDFLAG(ENABLE_SESSION_SERVICE) -@@ -1022,7 +1022,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1043,7 +1043,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #if BUILDFLAG(IS_CHROMEOS) GalleryWatchManager::EnsureFactoryBuilt(); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(gapis::kEnableGapis)) { GapisServiceFactory::GetInstance(); } -@@ -1119,7 +1119,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1140,7 +1140,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #if BUILDFLAG(IS_ANDROID) MerchantViewerDataManagerFactory::GetInstance(); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) metrics::DesktopProfileSessionDurationsServiceFactory::GetInstance(); #endif ProfileMetricsServiceFactory::GetInstance(); -@@ -1127,7 +1127,7 @@ void ChromeBrowserMainExtraPartsProfiles:: - MicrosoftAuthServiceFactory::GetInstance(); - #endif - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - multistep_filter::MultistepFilterServiceFactory::GetInstance(); - #endif - #if !BUILDFLAG(IS_ANDROID) -@@ -1217,7 +1217,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1237,7 +1237,7 @@ void ChromeBrowserMainExtraPartsProfiles:: PasswordCounterFactory::GetInstance(); #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) PasswordManagerBlocklistPolicyFactory::GetInstance(); #endif PasswordManagerSettingsServiceFactory::GetInstance(); -@@ -1263,7 +1263,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1288,7 +1288,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #if BUILDFLAG(IS_CHROMEOS) policy::PolicyCertServiceFactory::GetInstance(); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) policy::ProfileTokenPolicyWebSigninServiceFactory::GetInstance(); #endif policy::UserCloudPolicyInvalidatorFactory::GetInstance(); -@@ -1273,7 +1273,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1298,7 +1298,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #else policy::UserPolicySigninServiceFactory::GetInstance(); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) policy::UserPolicyOidcSigninServiceFactory::GetInstance(); #endif PredictionModelHandlerProviderFactory::GetInstance(); -@@ -1294,7 +1294,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1319,7 +1319,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) ProfileStatisticsFactory::GetInstance(); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) ProfileTokenWebSigninInterceptorFactory::GetInstance(); OidcAuthenticationSigninInterceptorFactory::GetInstance(); #endif -@@ -1314,7 +1314,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1341,7 +1341,7 @@ void ChromeBrowserMainExtraPartsProfiles:: ReduceAcceptLanguageFactory::GetInstance(); RendererUpdaterFactory::GetInstance(); regional_capabilities::RegionalCapabilitiesServiceFactory::GetInstance(); -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) reporting::ManualTestHeartbeatEventFactory::GetInstance(); #endif RevokedPermissionsOSNotificationDisplayManagerFactory::GetInstance(); -@@ -1508,7 +1508,7 @@ void ChromeBrowserMainExtraPartsProfiles:: +@@ -1538,7 +1538,7 @@ void ChromeBrowserMainExtraPartsProfiles:: #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) autofill::AtMemoryPromoTrackerFactory::GetInstance(); #endif diff --git a/www/chromium/files/patch-chrome_browser_profiles_profile__impl.cc b/www/chromium/files/patch-chrome_browser_profiles_profile__impl.cc index 7a325f489c69..ac6820fb5a57 100644 --- a/www/chromium/files/patch-chrome_browser_profiles_profile__impl.cc +++ b/www/chromium/files/patch-chrome_browser_profiles_profile__impl.cc @@ -1,58 +1,67 @@ ---- chrome/browser/profiles/profile_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/profiles/profile_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/profiles/profile_impl.cc -@@ -264,7 +264,7 @@ +@@ -266,7 +266,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_service.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include "chrome/browser/gapis/gapis_service_factory.h" #include "components/gapis/gapis_service.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) -@@ -273,6 +273,10 @@ +@@ -275,6 +275,10 @@ #include "chrome/browser/themes/theme_service_factory.h" #endif // !BUILDFLAG(IS_ANDROID) +#if BUILDFLAG(IS_BSD) +#include "sandbox/policy/sandbox.h" +#endif + using bookmarks::BookmarkModel; using content::BrowserThread; using content::DownloadManagerDelegate; -@@ -609,7 +613,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async +@@ -627,7 +631,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async policy_provider = GetUserCloudPolicyManagerAsh(); #else // !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) - ProfileManager* profile_manager = g_browser_process->profile_manager(); - ProfileAttributesEntry* entry = - profile_manager->GetProfileAttributesStorage() -@@ -792,7 +796,7 @@ void ProfileImpl::DoFinalInit(CreateMode create_mode) + if (GetTestingCloudPolicyManagerFactory()) { + auto result = GetTestingCloudPolicyManagerFactory().Run(this); + if (std::holds_alternative< +@@ -646,7 +650,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + + if (!cloud_policy_manager) { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + ProfileAttributesEntry* entry = nullptr; + if (g_browser_process->profile_manager()) { + entry = g_browser_process->profile_manager() +@@ -833,7 +837,7 @@ void ProfileImpl::DoFinalInit(CreateMode create_mode) } #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) // Bootstrap and initialize the Gapis service. if (gapis::GapisService* gapis_service = GapisServiceFactory::GetForProfile(this)) { -@@ -888,7 +892,17 @@ void ProfileImpl::DoFinalInit(CreateMode create_mode) +@@ -929,7 +933,17 @@ void ProfileImpl::DoFinalInit(CreateMode create_mode) } base::FilePath ProfileImpl::last_selected_directory() { +#if BUILDFLAG(IS_OPENBSD) + // If unveil(2) is used, force the file dialog directory to something we + // know is available. + auto* sandbox = sandbox::policy::SandboxLinux::GetInstance(); + if (sandbox->unveil_initialized()) + return GetPrefs()->GetFilePath(prefs::kDownloadDefaultDirectory); + else + return GetPrefs()->GetFilePath(prefs::kSelectFileLastDirectory); +#else return GetPrefs()->GetFilePath(prefs::kSelectFileLastDirectory); +#endif } void ProfileImpl::set_last_selected_directory(const base::FilePath& path) { diff --git a/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc b/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc index 3a16c2199caf..f8d22f08a33c 100644 --- a/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc +++ b/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc @@ -1,20 +1,20 @@ ---- chrome/browser/renderer_context_menu/render_view_context_menu.cc.orig 2026-06-10 07:57:19 UTC +--- chrome/browser/renderer_context_menu/render_view_context_menu.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/renderer_context_menu/render_view_context_menu.cc -@@ -267,7 +267,7 @@ +@@ -277,7 +277,7 @@ #include "url/origin.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/webapps/isolated_web_apps/scheme.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -5168,7 +5168,7 @@ void RenderViewContextMenu::OpenLinkInSplitView() { - #endif // !BUILDFLAG(IS_ANDROID) +@@ -5745,7 +5745,7 @@ void RenderViewContextMenu::AppendRevisedTextSelection + } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool RenderViewContextMenu::IsLinkToIsolatedWebApp() const { // Using `unfiltered_link_url`, because `link_url` is being replaced with // about:blank#blocked if the source is a normal site. diff --git a/www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc b/www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc index e802689057f7..34e1ccb2e9ee 100644 --- a/www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc +++ b/www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc @@ -1,44 +1,44 @@ ---- chrome/browser/renderer_preferences_util.cc.orig 2026-02-11 09:05:39 UTC +--- chrome/browser/renderer_preferences_util.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/renderer_preferences_util.cc @@ -37,12 +37,12 @@ #include "ui/base/ui_base_features.h" #include "ui/native_theme/native_theme.h" -#if defined(USE_AURA) && BUILDFLAG(IS_LINUX) +#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) #include "chrome/browser/themes/theme_service.h" #include "chrome/browser/themes/theme_service_factory.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/linux/linux_ui.h" #endif -@@ -111,7 +111,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc +@@ -109,7 +109,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc Profile* profile) { const PrefService* pref_service = profile->GetPrefs(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) content::UpdateFontRendererPreferencesFromSystemSettings(prefs); #endif prefs->focus_ring_color = BUILDFLAG(IS_MAC) ? SkColorSetRGB(0x00, 0x5F, 0xCC) -@@ -125,7 +125,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc +@@ -123,7 +123,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc prefs->inactive_selection_fg_color = SK_ColorBLACK; #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (auto* linux_ui_theme = ui::LinuxUiTheme::GetForProfile(profile)) { if (ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme()) { linux_ui_theme->GetFocusRingColor(&prefs->focus_ring_color); -@@ -142,7 +142,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc +@@ -140,7 +140,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc #endif // BUILDFLAG(IS_LINUX) #endif // BUILDFLAG(USE_AURA) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (auto* linux_ui = ui::LinuxUi::instance()) { prefs->middle_click_paste_allowed = linux_ui->PrimaryPasteEnabled(); } diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc b/www/chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc index 1a8ff13fccaf..8f66ec2cb579 100644 --- a/www/chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc +++ b/www/chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc @@ -1,11 +1,11 @@ ---- chrome/browser/safe_browsing/chrome_password_protection_service.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/safe_browsing/chrome_password_protection_service.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/safe_browsing/chrome_password_protection_service.cc -@@ -1316,7 +1316,7 @@ std::string ChromePasswordProtectionService::GetOrgani +@@ -1385,7 +1385,7 @@ std::string ChromePasswordProtectionService::GetOrgani ReusedPasswordAccountType password_type) const { if (base::FeatureList::IsEnabled( safe_browsing::kEnterprisePasswordReuseUiRefresh)) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return GetPrefs()->GetString(prefs::kEnterpriseCustomLabelForProfile); #else return std::string(); diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__pref__change__handler.cc b/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__pref__change__handler.cc index c76bea5bc8cc..4dea38b76000 100644 --- a/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__pref__change__handler.cc +++ b/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__pref__change__handler.cc @@ -1,29 +1,29 @@ ---- chrome/browser/safe_browsing/safe_browsing_pref_change_handler.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/safe_browsing/safe_browsing_pref_change_handler.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/safe_browsing/safe_browsing_pref_change_handler.cc @@ -19,7 +19,7 @@ #include "content/public/browser/web_contents.h" #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/browser_window/public/browser_window_features.h" #include "chrome/browser/ui/browser_window/public/browser_window_interface.h" #include "chrome/browser/ui/browser_window/public/profile_browser_collection.h" -@@ -74,7 +74,7 @@ bool SafeBrowsingPrefChangeHandler::SuppressNotificati - void SafeBrowsingPrefChangeHandler:: - MaybeShowEnhancedProtectionSettingChangeNotification() { +@@ -74,7 +74,7 @@ void SafeBrowsingPrefChangeHandler:: + MaybeShowEnhancedProtectionSettingChangeNotification( + content::WebContents* web_contents) { #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) if (!profile_ || !base::FeatureList::IsEnabled(safe_browsing::kEsbAsASyncedSetting)) { return; -@@ -249,7 +249,7 @@ void SafeBrowsingPrefChangeHandler:: +@@ -260,7 +260,7 @@ void SafeBrowsingPrefChangeHandler:: } #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) void SafeBrowsingPrefChangeHandler::SetToastControllerForTesting( ToastController* controller) { toast_controller_for_testing_ = controller; diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__pref__change__handler.h b/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__pref__change__handler.h index 2ba759945afa..18e154e23d47 100644 --- a/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__pref__change__handler.h +++ b/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__pref__change__handler.h @@ -1,29 +1,29 @@ ---- chrome/browser/safe_browsing/safe_browsing_pref_change_handler.h.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/safe_browsing/safe_browsing_pref_change_handler.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/safe_browsing/safe_browsing_pref_change_handler.h @@ -21,7 +21,7 @@ #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/toasts/toast_controller.h" #endif -@@ -64,7 +64,7 @@ class SafeBrowsingPrefChangeHandler { - virtual void MaybeShowEnhancedProtectionSettingChangeNotification(); +@@ -72,7 +72,7 @@ class SafeBrowsingPrefChangeHandler { + } #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) void SetToastControllerForTesting(ToastController* controller); #endif -@@ -77,7 +77,7 @@ class SafeBrowsingPrefChangeHandler { +@@ -85,7 +85,7 @@ class SafeBrowsingPrefChangeHandler { raw_ptr profile_; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) raw_ptr toast_controller_for_testing_ = nullptr; #endif diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__service.cc b/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__service.cc index 742ec5f7a1c5..86ec877ca4af 100644 --- a/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__service.cc +++ b/www/chromium/files/patch-chrome_browser_safe__browsing_safe__browsing__service.cc @@ -1,20 +1,20 @@ ---- chrome/browser/safe_browsing/safe_browsing_service.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/safe_browsing/safe_browsing_service.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/safe_browsing/safe_browsing_service.cc -@@ -80,7 +80,7 @@ +@@ -81,7 +81,7 @@ #include "services/preferences/public/mojom/tracked_preference_validation_delegate.mojom.h" #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include "chrome/browser/safe_browsing/security_settings_bundle_toast_helper.h" #endif -@@ -186,7 +186,7 @@ void TriggerSecuritySettingsBundleToastIfNeeded( +@@ -187,7 +187,7 @@ void TriggerSecuritySettingsBundleToastIfNeeded( } #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) if (GetSecurityBundleSetting(*profile->GetPrefs()) == SecuritySettingsBundleSetting::ENHANCED) { SecuritySettingsBundleToastHelper::GetForProfile(profile.get()) diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_security__settings__bundle__pref__change__handler.cc b/www/chromium/files/patch-chrome_browser_safe__browsing_security__settings__bundle__pref__change__handler.cc index 58bfd2d2b5bf..682d1958312e 100644 --- a/www/chromium/files/patch-chrome_browser_safe__browsing_security__settings__bundle__pref__change__handler.cc +++ b/www/chromium/files/patch-chrome_browser_safe__browsing_security__settings__bundle__pref__change__handler.cc @@ -1,29 +1,29 @@ ---- chrome/browser/safe_browsing/security_settings_bundle_pref_change_handler.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/safe_browsing/security_settings_bundle_pref_change_handler.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/safe_browsing/security_settings_bundle_pref_change_handler.cc @@ -11,7 +11,7 @@ #include "components/safe_browsing/core/common/safe_browsing_prefs.h" #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include "chrome/browser/safe_browsing/security_settings_bundle_toast_helper.h" - #include "chrome/browser/ui/browser_finder.h" #include "chrome/browser/ui/browser_window/public/browser_window_features.h" + #include "chrome/browser/ui/browser_window/public/browser_window_interface.h" @@ -33,7 +33,7 @@ SecuritySettingsBundlePrefChangeHandler:: void SecuritySettingsBundlePrefChangeHandler:: MaybeShowEnhancedBundleSettingChangeNotification() { #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) if (!profile_ || !base::FeatureList::IsEnabled(safe_browsing::kBundledSecuritySettings)) { return; @@ -59,7 +59,7 @@ void SecuritySettingsBundlePrefChangeHandler:: } #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) void SecuritySettingsBundlePrefChangeHandler::SetToastControllerForTesting( ToastController* controller) { toast_controller_for_testing_ = controller; diff --git a/www/chromium/files/patch-chrome_browser_sessions_session__restore.cc b/www/chromium/files/patch-chrome_browser_sessions_session__restore.cc index c1321c453166..8f7702070b79 100644 --- a/www/chromium/files/patch-chrome_browser_sessions_session__restore.cc +++ b/www/chromium/files/patch-chrome_browser_sessions_session__restore.cc @@ -1,20 +1,20 @@ ---- chrome/browser/sessions/session_restore.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/sessions/session_restore.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/sessions/session_restore.cc -@@ -117,7 +117,7 @@ +@@ -122,7 +122,7 @@ #include "ui/wm/core/scoped_animation_disabler.h" #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) #include "chrome/browser/ui/webui/whats_new/whats_new_fetcher.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -1217,7 +1217,7 @@ class SessionRestoreImpl : public BrowserCollectionObs +@@ -1291,7 +1291,7 @@ class SessionRestoreImpl : public BrowserCollectionObs bool is_first_tab = true; for (const auto& startup_tab : startup_tabs) { const GURL& url = startup_tab.url; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (url == whats_new::GetWebUIStartupURL()) { whats_new::StartWhatsNewFetch(browser); continue; diff --git a/www/chromium/files/patch-chrome_browser_signin_chrome__signin__client.cc b/www/chromium/files/patch-chrome_browser_signin_chrome__signin__client.cc index 7177c8c612f5..f28ef9ad71d8 100644 --- a/www/chromium/files/patch-chrome_browser_signin_chrome__signin__client.cc +++ b/www/chromium/files/patch-chrome_browser_signin_chrome__signin__client.cc @@ -1,11 +1,11 @@ ---- chrome/browser/signin/chrome_signin_client.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/signin/chrome_signin_client.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/signin/chrome_signin_client.cc -@@ -142,7 +142,7 @@ signin_metrics::ProfileSignout kAlwaysAllowedSignoutSo +@@ -160,7 +160,7 @@ signin_metrics::ProfileSignout kAlwaysAllowedSignoutSo std::string HatsSurveyTriggerForAccessPoint( signin_metrics::AccessPoint access_point) { switch (access_point) { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) case signin_metrics::AccessPoint::kAddressBubble: return kHatsSurveyTriggerIdentityAddressBubbleSignin; case signin_metrics::AccessPoint::kAvatarBubbleSignIn: diff --git a/www/chromium/files/patch-chrome_browser_signin_signin__util.cc b/www/chromium/files/patch-chrome_browser_signin_signin__util.cc index 7a17ccfe81fa..0605ebd01098 100644 --- a/www/chromium/files/patch-chrome_browser_signin_signin__util.cc +++ b/www/chromium/files/patch-chrome_browser_signin_signin__util.cc @@ -1,29 +1,29 @@ ---- chrome/browser/signin/signin_util.cc.orig 2026-03-13 06:02:14 UTC +--- chrome/browser/signin/signin_util.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/signin/signin_util.cc @@ -49,7 +49,7 @@ #include "services/network/public/mojom/cookie_manager.mojom.h" #include "ui/base/l10n/l10n_util.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - #include "chrome/browser/ui/browser_finder.h" #include "chrome/browser/ui/dialogs/browser_dialogs.h" #include "components/strings/grit/components_strings.h" -@@ -100,7 +100,7 @@ CookiesMover::CookiesMover(base::WeakPtr sour + #include "ui/base/interaction/element_identifier.h" +@@ -99,7 +99,7 @@ CookiesMover::CookiesMover(base::WeakPtr sour CookiesMover::~CookiesMover() = default; void CookiesMover::StartMovingCookies() { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) bool allow_cookies_to_be_moved = base::FeatureList::IsEnabled( profile_management::features::kThirdPartyProfileManagement); #else -@@ -402,7 +402,7 @@ bool IsSyncingUserSelectableTypesAllowedByPolicy( +@@ -401,7 +401,7 @@ bool IsSyncingUserSelectableTypesAllowedByPolicy( return true; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) bool HasExplicitlyDisabledHistorySync( const syncer::SyncService* sync_service, const signin::IdentityManager* identity_manager) { diff --git a/www/chromium/files/patch-chrome_browser_supervised__user_supervised__user__browser__utils.cc b/www/chromium/files/patch-chrome_browser_supervised__user_supervised__user__browser__utils.cc index 2ce0ed2cc749..175ff236ce63 100644 --- a/www/chromium/files/patch-chrome_browser_supervised__user_supervised__user__browser__utils.cc +++ b/www/chromium/files/patch-chrome_browser_supervised__user_supervised__user__browser__utils.cc @@ -1,20 +1,20 @@ ---- chrome/browser/supervised_user/supervised_user_browser_utils.cc.orig 2025-12-05 10:12:50 UTC +--- chrome/browser/supervised_user/supervised_user_browser_utils.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/supervised_user/supervised_user_browser_utils.cc -@@ -40,7 +40,7 @@ +@@ -38,7 +38,7 @@ #include "chrome/browser/ash/profiles/profile_helper.h" #include "components/user_manager/user.h" #include "components/user_manager/user_type.h" -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #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" -@@ -157,7 +157,7 @@ void AssertChildStatusOfTheUser(Profile* profile, bool +@@ -155,7 +155,7 @@ void AssertChildStatusOfTheUser(Profile* profile, bool #endif } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) std::string CreateReauthenticationInterstitialForYouTube( content::NavigationHandle& navigation_handle) { content::WebContents* web_contents = navigation_handle.GetWebContents(); diff --git a/www/chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc b/www/chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc index 1be00ee460a9..bb0ef618b2f2 100644 --- a/www/chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc +++ b/www/chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc @@ -1,11 +1,11 @@ ---- chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc.orig 2026-01-14 08:33:23 UTC +--- chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc -@@ -193,7 +193,7 @@ void SupervisedUserExtensionsDelegateImpl::RequestExte +@@ -198,7 +198,7 @@ void SupervisedUserExtensionsDelegateImpl::RequestExte return; } } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) CHECK(contents.value()); content::WebContents* web_contents = contents.value().get(); // Always invoke the parent permission dialog. diff --git a/www/chromium/files/patch-chrome_browser_sync_device__info__sync__client__impl.cc b/www/chromium/files/patch-chrome_browser_sync_device__info__sync__client__impl.cc index 7cf03027105b..3fcdf59dac7e 100644 --- a/www/chromium/files/patch-chrome_browser_sync_device__info__sync__client__impl.cc +++ b/www/chromium/files/patch-chrome_browser_sync_device__info__sync__client__impl.cc @@ -1,11 +1,11 @@ ---- chrome/browser/sync/device_info_sync_client_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/sync/device_info_sync_client_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/sync/device_info_sync_client_impl.cc -@@ -38,7 +38,7 @@ DeviceInfoSyncClientImpl::~DeviceInfoSyncClientImpl() +@@ -39,7 +39,7 @@ DeviceInfoSyncClientImpl::~DeviceInfoSyncClientImpl() std::string DeviceInfoSyncClientImpl::GetSigninScopedDeviceId() const { // Since the local sync backend is currently only supported on Windows, Mac and // Linux don't even check the pref on other os-es. -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) syncer::SyncPrefs prefs(profile_->GetPrefs()); if (prefs.IsLocalSyncEnabled()) { return "local_device"; diff --git a/www/chromium/files/patch-chrome_browser_sync_sync__service__factory.cc b/www/chromium/files/patch-chrome_browser_sync_sync__service__factory.cc index 14494f6c24b5..c3e772eb513c 100644 --- a/www/chromium/files/patch-chrome_browser_sync_sync__service__factory.cc +++ b/www/chromium/files/patch-chrome_browser_sync_sync__service__factory.cc @@ -1,20 +1,20 @@ ---- chrome/browser/sync/sync_service_factory.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/sync/sync_service_factory.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/sync/sync_service_factory.cc -@@ -139,7 +139,7 @@ namespace { +@@ -138,7 +138,7 @@ namespace { tab_groups::TabGroupSyncService* GetTabGroupSyncService(Profile* profile) { CHECK(profile); #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) tab_groups::TabGroupSyncService* service = tab_groups::TabGroupSyncServiceFactory::GetForProfile(profile); CHECK(service); -@@ -430,7 +430,7 @@ std::unique_ptr BuildSyncService( +@@ -424,7 +424,7 @@ std::unique_ptr BuildSyncService( bool local_sync_backend_enabled = false; // Only check the local sync backend pref on the supported platforms of // Windows, Mac and Linux. -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) syncer::SyncPrefs prefs(profile->GetPrefs()); local_sync_backend_enabled = prefs.IsLocalSyncEnabled(); base::UmaHistogramBoolean("Sync.Local.Enabled2", local_sync_backend_enabled); diff --git a/www/chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h b/www/chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h index cd6c1b8f07c2..19a7d65990fb 100644 --- a/www/chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h +++ b/www/chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h @@ -1,11 +1,11 @@ ---- chrome/browser/ui/actions/chrome_action_id.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/actions/chrome_action_id.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/actions/chrome_action_id.h -@@ -542,7 +542,7 @@ +@@ -543,7 +543,7 @@ #if BUILDFLAG(IS_CHROMEOS) #define CHROME_PLATFORM_SPECIFIC_ACTION_IDS \ E(kToggleMultitaskMenu, IDC_TOGGLE_MULTITASK_MENU) -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #define CHROME_PLATFORM_SPECIFIC_ACTION_IDS \ E(kUseSystemTitleBar, IDC_USE_SYSTEM_TITLE_BAR) \ E(kRestoreWindow, IDC_RESTORE_WINDOW) diff --git a/www/chromium/files/patch-chrome_browser_ui_autofill_chrome__autofill__client.cc b/www/chromium/files/patch-chrome_browser_ui_autofill_chrome__autofill__client.cc index 627b68e32da2..ccd6830b06b7 100644 --- a/www/chromium/files/patch-chrome_browser_ui_autofill_chrome__autofill__client.cc +++ b/www/chromium/files/patch-chrome_browser_ui_autofill_chrome__autofill__client.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/autofill/chrome_autofill_client.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/autofill/chrome_autofill_client.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/autofill/chrome_autofill_client.cc -@@ -315,7 +315,7 @@ ChromeAutofillClient::~ChromeAutofillClient() { +@@ -321,7 +321,7 @@ ChromeAutofillClient::~ChromeAutofillClient() { } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) ChromeAutofillClient::AtMemoryPromoObserver::AtMemoryPromoObserver( ChromeAutofillClient* client) : content::WebContentsObserver(client->web_contents()), client_(*client) {} diff --git a/www/chromium/files/patch-chrome_browser_ui_autofill_chrome__autofill__client.h b/www/chromium/files/patch-chrome_browser_ui_autofill_chrome__autofill__client.h index 709d9817fe27..fe7c63836e9f 100644 --- a/www/chromium/files/patch-chrome_browser_ui_autofill_chrome__autofill__client.h +++ b/www/chromium/files/patch-chrome_browser_ui_autofill_chrome__autofill__client.h @@ -1,20 +1,20 @@ ---- chrome/browser/ui/autofill/chrome_autofill_client.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/autofill/chrome_autofill_client.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/autofill/chrome_autofill_client.h -@@ -121,7 +121,7 @@ class ChromeAutofillClient : public ContentAutofillCli +@@ -124,7 +124,7 @@ class ChromeAutofillClient : public ContentAutofillCli ~ChromeAutofillClient() override; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) void ShowAutofillAtMemoryPromo(); #endif -@@ -394,7 +394,7 @@ class ChromeAutofillClient : public ContentAutofillCli +@@ -414,7 +414,7 @@ class ChromeAutofillClient : public ContentAutofillCli std::unique_ptr actor_key_metrics_recorder_; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) class AtMemoryPromoObserver : public content::WebContentsObserver { public: explicit AtMemoryPromoObserver(ChromeAutofillClient* client); diff --git a/www/chromium/files/patch-chrome_browser_ui_browser.h b/www/chromium/files/patch-chrome_browser_ui_browser.h index cf93c70d5351..e4e6e2a0a20c 100644 --- a/www/chromium/files/patch-chrome_browser_ui_browser.h +++ b/www/chromium/files/patch-chrome_browser_ui_browser.h @@ -1,11 +1,11 @@ ---- chrome/browser/ui/browser.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/browser.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/browser.h -@@ -250,7 +250,7 @@ class Browser : public TabStripModelObserver, +@@ -242,7 +242,7 @@ class Browser : public TabStripModelObserver, std::optional display_id; #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // When the browser window is shown, the desktop environment is notified // using this ID. In response, the desktop will stop playing the "waiting // for startup" animation (if any). diff --git a/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc b/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc index ef1316eb025c..e056635990fb 100644 --- a/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc +++ b/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc @@ -1,74 +1,90 @@ ---- chrome/browser/ui/browser_command_controller.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/browser_command_controller.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/browser_command_controller.cc -@@ -160,7 +160,7 @@ +@@ -168,7 +168,7 @@ #include "components/user_manager/user_manager.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/base/ime/text_edit_commands.h" #include "ui/base/ime/text_input_flags.h" #include "ui/linux/linux_ui.h" -@@ -170,7 +170,7 @@ +@@ -178,7 +178,7 @@ #include "ui/ozone/public/ozone_platform.h" #endif -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/shortcuts/desktop_shortcuts_utils.h" #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -@@ -464,7 +464,7 @@ bool BrowserCommandController::IsReservedCommandOrKey( +@@ -477,7 +477,7 @@ bool BrowserCommandController::IsReservedCommandOrKey( #endif } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // If this key was registered by the user as a content editing hotkey, then // it is not reserved. auto* linux_ui = ui::LinuxUi::instance(); -@@ -779,7 +779,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -792,7 +792,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo break; #endif --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) case IDC_MINIMIZE_WINDOW: browser_->window()->Minimize(); break; -@@ -1019,7 +1019,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -805,7 +805,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo + + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + case IDC_USE_SYSTEM_TITLE_BAR: { + PrefService* prefs = profile()->GetPrefs(); + prefs->SetBoolean(prefs::kUseCustomChromeFrame, +@@ -1059,7 +1059,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo break; case IDC_CREATE_SHORTCUT: base::RecordAction(base::UserMetricsAction("CreateShortcut")); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) chrome::CreateDesktopShortcutForActiveWebContents(browser_); #else web_app::CreateWebAppFromCurrentWebContents( -@@ -1216,7 +1216,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -1274,7 +1274,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) case IDC_CHROME_WHATS_NEW: #if BUILDFLAG(GOOGLE_CHROME_BRANDING) && \ - (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)) + (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) ShowChromeWhatsNew(browser_); break; #else -@@ -1616,7 +1616,7 @@ void BrowserCommandController::InitCommandState() { +@@ -1674,13 +1674,13 @@ 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 --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) command_updater_.UpdateCommandEnabled(IDC_MINIMIZE_WINDOW, true); command_updater_.UpdateCommandEnabled(IDC_MAXIMIZE_WINDOW, true); command_updater_.UpdateCommandEnabled(IDC_RESTORE_WINDOW, true); -@@ -2000,7 +2000,7 @@ void BrowserCommandController::UpdateCommandsForTabSta + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + bool use_system_title_bar = true; + #if BUILDFLAG(IS_OZONE) + use_system_title_bar = ui::OzonePlatform::GetInstance() +@@ -2066,7 +2066,7 @@ void BrowserCommandController::UpdateCommandsForTabSta bool can_create_web_app = web_app::CanCreateWebApp(browser_); command_updater_.UpdateCommandEnabled(IDC_INSTALL_PWA, can_create_web_app); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) command_updater_.UpdateCommandEnabled( IDC_CREATE_SHORTCUT, shortcuts::CanCreateDesktopShortcut(current_web_contents)); diff --git a/www/chromium/files/patch-chrome_browser_ui_browser__commands.cc b/www/chromium/files/patch-chrome_browser_ui_browser__commands.cc index 4dce23be8406..f10d886602ad 100644 --- a/www/chromium/files/patch-chrome_browser_ui_browser__commands.cc +++ b/www/chromium/files/patch-chrome_browser_ui_browser__commands.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/browser_commands.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/browser_commands.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/browser_commands.cc -@@ -1168,7 +1168,7 @@ void NewTabToRight(BrowserWindowInterface* browser) { +@@ -1233,7 +1233,7 @@ void NewTabToRight(BrowserWindowInterface* browser) { } void NewTabFromClipboardURL(BrowserWindowInterface* browser) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (ui::Clipboard::IsSupportedClipboardBuffer( ui::ClipboardBuffer::kSelection)) { ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); -@@ -2440,7 +2440,7 @@ void OpenUpdateChromeDialog(BrowserWindowInterface* br +@@ -2529,7 +2529,7 @@ void OpenUpdateChromeDialog(BrowserWindowInterface* br ShowOutdatedUpgradeBubble(browser, browser, /*auto_update_enabled=*/false); } else { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(features::kFewerUpdateConfirmations)) { chrome::AttemptRelaunch(); return; diff --git a/www/chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc b/www/chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc index e053b83d8c8c..a0f3f08ef206 100644 --- a/www/chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc +++ b/www/chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/browser_ui_prefs.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/browser_ui_prefs.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/browser_ui_prefs.cc @@ -91,7 +91,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry registry->RegisterTimePref(prefs::kPinInfoBarLastShown, base::Time()); registry->RegisterIntegerPref(prefs::kPinInfoBarTimesShown, 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, std::string()); registry->RegisterStringPref(prefs::kEnterpriseLogoUrlForBrowser, @@ -112,7 +112,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry user_prefs::PrefRegistrySyncable::SYNCABLE_PREF; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) registry->RegisterIntegerPref(prefs::kSessionRestoreInfoBarTimesShown, 0); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) -@@ -230,7 +230,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry +@@ -234,7 +234,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry registry->RegisterDictionaryPref(prefs::kHttpsUpgradeFallbacks); registry->RegisterDictionaryPref(prefs::kHttpsUpgradeNavigations); registry->RegisterBooleanPref(prefs::kHttpsOnlyModeAutoEnabled, false); -#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::kEnterpriseLogoUrlForProfile, std::string()); registry->RegisterStringPref(prefs::kEnterpriseCustomLabelForProfile, diff --git a/www/chromium/files/patch-chrome_browser_ui_browser__window_internal_browser__window__features.cc b/www/chromium/files/patch-chrome_browser_ui_browser__window_internal_browser__window__features.cc index 872dc01d6373..f375ca0d5196 100644 --- a/www/chromium/files/patch-chrome_browser_ui_browser__window_internal_browser__window__features.cc +++ b/www/chromium/files/patch-chrome_browser_ui_browser__window_internal_browser__window__features.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/browser_window/internal/browser_window_features.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/browser_window/internal/browser_window_features.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/browser_window/internal/browser_window_features.cc -@@ -206,7 +206,7 @@ +@@ -213,7 +213,7 @@ #include "chrome/browser/ui/startup/default_browser_prompt/pin_infobar/pin_infobar_controller.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/views/session_restore_infobar/session_restore_infobar_controller.h" #endif -@@ -540,7 +540,7 @@ void BrowserWindowFeatures::Init(BrowserWindowInterfac +@@ -577,7 +577,7 @@ void BrowserWindowFeatures::Init(BrowserWindowInterfac call_to_action_lock_ = GetUserDataFactory().CreateInstance(*browser, browser); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) profile_customization_bubble_sync_controller_ = std::make_unique(browser, profile); diff --git a/www/chromium/files/patch-chrome_browser_ui_browser__window_public_browser__window__features.h b/www/chromium/files/patch-chrome_browser_ui_browser__window_public_browser__window__features.h index 41b19dad47d2..893c90b98a96 100644 --- a/www/chromium/files/patch-chrome_browser_ui_browser__window_public_browser__window__features.h +++ b/www/chromium/files/patch-chrome_browser_ui_browser__window_public_browser__window__features.h @@ -1,29 +1,29 @@ ---- chrome/browser/ui/browser_window/public/browser_window_features.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/browser_window/public/browser_window_features.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/browser_window/public/browser_window_features.h -@@ -121,7 +121,7 @@ class PinInfoBarController; +@@ -122,7 +122,7 @@ class PinInfoBarController; } // namespace default_browser #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) class ProfileCustomizationBubbleSyncController; namespace session_restore_infobar { class SessionRestoreInfobarController; -@@ -445,7 +445,7 @@ class BrowserWindowFeatures { +@@ -450,7 +450,7 @@ class BrowserWindowFeatures { return browser_select_file_dialog_controller_.get(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ProfileCustomizationBubbleSyncController* profile_customization_bubble_sync_controller() { return profile_customization_bubble_sync_controller_.get(); -@@ -647,7 +647,7 @@ class BrowserWindowFeatures { +@@ -656,7 +656,7 @@ class BrowserWindowFeatures { std::unique_ptr browser_select_file_dialog_controller_; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr profile_customization_bubble_sync_controller_; diff --git a/www/chromium/files/patch-chrome_browser_ui_hats_survey__config.cc b/www/chromium/files/patch-chrome_browser_ui_hats_survey__config.cc index ded2547fd0a8..88a1055ad4da 100644 --- a/www/chromium/files/patch-chrome_browser_ui_hats_survey__config.cc +++ b/www/chromium/files/patch-chrome_browser_ui_hats_survey__config.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/hats/survey_config.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/hats/survey_config.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/hats/survey_config.cc -@@ -579,7 +579,7 @@ std::vector GetAllSurveyConfigs() +@@ -581,7 +581,7 @@ std::vector GetAllSurveyConfigs() &features::kHappinessTrackingSurveysForWallpaperSearch, kHatsSurveyTriggerWallpaperSearch); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::vector identity_string_psd_fields{ "Channel", "Chrome Version", "Number of Chrome Profiles", "Number of Google Accounts", "Sign-in Status"}; diff --git a/www/chromium/files/patch-chrome_browser_ui_omnibox_omnibox__pedal__implementations.cc b/www/chromium/files/patch-chrome_browser_ui_omnibox_omnibox__pedal__implementations.cc index 6240334eb9d0..8df64c20ebfe 100644 --- a/www/chromium/files/patch-chrome_browser_ui_omnibox_omnibox__pedal__implementations.cc +++ b/www/chromium/files/patch-chrome_browser_ui_omnibox_omnibox__pedal__implementations.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/omnibox/omnibox_pedal_implementations.cc.orig 2026-04-09 06:05:42 UTC +--- chrome/browser/ui/omnibox/omnibox_pedal_implementations.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/omnibox/omnibox_pedal_implementations.cc -@@ -2002,7 +2002,7 @@ const gfx::VectorIcon& GetSharingHubVectorIcon() { - return omnibox::kShareMacChromeRefreshIcon; - #elif BUILDFLAG(IS_WIN) - return omnibox::kShareWinChromeRefreshIcon; +@@ -2009,7 +2009,7 @@ const gfx::VectorIcon& GetSharingHubVectorIcon() { + return features::IsRoundedIconsEnabled() + ? omnibox::kShareWindowsIcon + : omnibox::kShareWinChromeRefreshOldIcon; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - return omnibox::kShareLinuxChromeRefreshIcon; - #else - return omnibox::kShareChromeRefreshIcon; + return features::IsRoundedIconsEnabled() + ? omnibox::kSendIcon + : omnibox::kShareLinuxChromeRefreshOldIcon; diff --git a/www/chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc b/www/chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc index e35f8c2dcca8..66d2a4797ee4 100644 --- a/www/chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc +++ b/www/chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/passwords/manage_passwords_ui_controller.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/passwords/manage_passwords_ui_controller.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/passwords/manage_passwords_ui_controller.cc -@@ -117,7 +117,7 @@ namespace { +@@ -118,7 +118,7 @@ namespace { using Logger = autofill::SavePasswordProgressLogger; -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Should be kept in sync with constant declared in // bubble_controllers/relaunch_chrome_bubble_controller.cc. constexpr int kMaxNumberOfTimesKeychainErrorBubbleIsShown = 3; -@@ -623,7 +623,7 @@ void ManagePasswordsUIController::OnBiometricAuthBefor +@@ -624,7 +624,7 @@ void ManagePasswordsUIController::OnBiometricAuthBefor } void ManagePasswordsUIController::OnKeychainError() { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) CHECK(!dialog_controller_); PrefService* prefs = Profile::FromBrowserContext(web_contents()->GetBrowserContext()) diff --git a/www/chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc b/www/chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc index e804504ab249..9d9bbed890f6 100644 --- a/www/chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc +++ b/www/chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/signin/signin_view_controller.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/signin/signin_view_controller.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/signin/signin_view_controller.cc -@@ -498,7 +498,7 @@ void SigninViewController::ShowModalSyncConfirmationDi +@@ -489,7 +489,7 @@ void SigninViewController::ShowModalSyncConfirmationDi GetOnModalDialogClosedCallback()); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void SigninViewController::ShowModalHistorySyncOptInDialog( bool should_close_modal_dialog, HistorySyncOptinHelper::FlowCompletedCallback callback) { -@@ -515,7 +515,7 @@ void SigninViewController::ShowModalHistorySyncOptInDi +@@ -506,7 +506,7 @@ void SigninViewController::ShowModalHistorySyncOptInDi void SigninViewController::ShowModalManagedUserNoticeDialog( std::unique_ptr create_param) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) CloseModalSignin(); dialog_ = std::make_unique( SigninViewControllerDelegate::CreateManagedUserNoticeDelegate( diff --git a/www/chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc b/www/chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc index a5602fb43407..444ec004dd7a 100644 --- a/www/chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc +++ b/www/chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/startup/infobar_utils.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/startup/infobar_utils.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/startup/infobar_utils.cc -@@ -45,7 +45,7 @@ +@@ -46,7 +46,7 @@ #include "chrome/browser/ui/startup/default_browser_prompt/pin_infobar/pin_infobar_controller.h" #endif -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/views/session_restore_infobar/session_restore_infobar_controller.h" #include "chrome/browser/ui/views/session_restore_infobar/session_restore_infobar_model.h" #endif -@@ -219,7 +219,7 @@ void AddInfoBarsIfNecessary(BrowserWindowInterface* br +@@ -222,7 +222,7 @@ void AddInfoBarsIfNecessary(BrowserWindowInterface* br return; } -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(features::kSessionRestoreInfobar)) { auto* session_restore_infobar_controller = session_restore_infobar::SessionRestoreInfobarController::From(browser); diff --git a/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc b/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc index 18e8c90ebcf3..d39dd83e4ff2 100644 --- a/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc +++ b/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc @@ -1,38 +1,38 @@ ---- chrome/browser/ui/startup/startup_browser_creator.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/startup/startup_browser_creator.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/startup/startup_browser_creator.cc -@@ -134,7 +134,7 @@ +@@ -133,7 +133,7 @@ #include "chrome/credential_provider/common/gcp_strings.h" #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/headless/headless_mode_util.h" #include "chrome/browser/ui/startup/web_app_info_recorder_utils.h" #include "components/headless/policy/headless_mode_policy.h" -@@ -980,7 +980,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl( +@@ -979,7 +979,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl( TRACE_EVENT0("startup", "StartupBrowserCreator::ProcessCmdLineImpl"); ComputeAndRecordLaunchMode(command_line); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) if (headless::IsHeadlessMode() && headless::HeadlessModePolicy::IsHeadlessModeDisabled( g_browser_process->local_state())) { -@@ -1063,7 +1063,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl( +@@ -1062,7 +1062,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl( silent_launch = true; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Writes open and installed web apps to the specified file without // launching a new browser window or tab. if (base::FeatureList::IsEnabled(features::kListWebAppsSwitch) && -@@ -1284,7 +1284,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl( +@@ -1283,7 +1283,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl( CHECK_EQ(profile_info.mode, StartupProfileMode::kBrowserWindow) << "Failed launch with app: couldn't pick a profile"; std::string app_id = command_line.GetSwitchValueASCII(switches::kAppId); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // If Chrome Apps are deprecated and |app_id| is a Chrome App, display the // deprecation UI instead of launching the app. if (apps::OpenDeprecatedApplicationPrompt(privacy_safe_profile, app_id)) { diff --git a/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc b/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc index 1b837949a89b..3749294c7daf 100644 --- a/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc +++ b/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc @@ -1,56 +1,56 @@ ---- chrome/browser/ui/startup/startup_browser_creator_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/startup/startup_browser_creator_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/startup/startup_browser_creator_impl.cc -@@ -66,7 +66,7 @@ - #include "content/public/browser/storage_partition.h" +@@ -67,7 +67,7 @@ #include "content/public/common/content_switches.h" + #include "url/origin.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/display/screen.h" #endif -@@ -88,7 +88,7 @@ +@@ -89,7 +89,7 @@ #include "chrome/browser/ui/browser_window/public/profile_browser_collection.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/search_integrity/search_integrity.h" #include "chrome/browser/search_integrity/search_integrity_factory.h" #include "chrome/browser/ui/webui/whats_new/whats_new_fetcher.h" -@@ -160,7 +160,7 @@ Browser* GetExistingBrowserForOpenBehavior( +@@ -161,7 +161,7 @@ Browser* GetExistingBrowserForOpenBehavior( BrowserCollection::Order::kActivation); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const bool match_original_profiles = process_startup == chrome::startup::IsProcessStartup::kYes; display::Screen* const screen = display::Screen::Get(); -@@ -247,7 +247,7 @@ void StartupBrowserCreatorImpl::Launch( +@@ -248,7 +248,7 @@ void StartupBrowserCreatorImpl::Launch( DCHECK(profile); 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) // Check for DSE integrity if flag is enabled. if (base::FeatureList::IsEnabled(features::kDseIntegrity)) { if (auto* search_integrity_service = -@@ -318,7 +318,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser( +@@ -319,7 +319,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser( // at the state of the MessageLoop. Browser::CreateParams params = Browser::CreateParams(profile_, false); params.creation_source = Browser::CreationSource::kStartupCreator; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) params.startup_id = command_line_->GetSwitchValueASCII("desktop-startup-id"); #endif -@@ -348,7 +348,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser( +@@ -349,7 +349,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser( continue; } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Start the What's New fetch but don't add the tab at this point. The tab // will open as the foreground tab only if the remote content can be // retrieved successfully. This prevents needing to automatically close the diff --git a/www/chromium/files/patch-chrome_browser_ui_startup_url__util.cc b/www/chromium/files/patch-chrome_browser_ui_startup_url__util.cc index 90c09d6e7f0a..3a3b5d202637 100644 --- a/www/chromium/files/patch-chrome_browser_ui_startup_url__util.cc +++ b/www/chromium/files/patch-chrome_browser_ui_startup_url__util.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/startup/url_util.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/startup/url_util.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/startup/url_util.cc @@ -13,7 +13,7 @@ #include "url/gurl.h" #include "url/url_constants.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/headless/headless_mode_util.h" #endif -@@ -39,7 +39,7 @@ bool ValidateLaunchUrl(const GURL& url) { +@@ -59,7 +59,7 @@ bool ValidateLaunchUrlWebUnsafe(const GURL& url) { #endif // BUILDFLAG(IS_CHROMEOS) bool url_scheme_is_chrome = false; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // In Headless mode, allow any URL pattern that matches chrome:// scheme if // the user explicitly allowed it. if (headless::IsHeadlessMode() && url.SchemeIs(content::kChromeUIScheme)) { diff --git a/www/chromium/files/patch-chrome_browser_ui_tabs_public_tab__features.h b/www/chromium/files/patch-chrome_browser_ui_tabs_public_tab__features.h index ccc4c498a06b..225c2f44b343 100644 --- a/www/chromium/files/patch-chrome_browser_ui_tabs_public_tab__features.h +++ b/www/chromium/files/patch-chrome_browser_ui_tabs_public_tab__features.h @@ -1,29 +1,29 @@ ---- chrome/browser/ui/tabs/public/tab_features.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/tabs/public/tab_features.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/tabs/public/tab_features.h -@@ -155,7 +155,7 @@ class TabContextualizationController; +@@ -157,7 +157,7 @@ class TabContextualizationController; } // namespace lens #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) namespace wallet { class ChromeWalletablePassClient; } // namespace wallet -@@ -563,7 +563,7 @@ class TabFeatures { +@@ -558,7 +558,7 @@ class TabFeatures { skills_ui_tab_controller_; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) std::unique_ptr walletable_pass_client_; #endif -@@ -574,7 +574,7 @@ class TabFeatures { +@@ -569,7 +569,7 @@ class TabFeatures { std::unique_ptr skills_update_observer_; #endif // !BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) std::unique_ptr saas_usage_navigation_observer_; #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) diff --git a/www/chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc b/www/chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc index de3a90872072..1aae23b04cfe 100644 --- a/www/chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc +++ b/www/chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc @@ -1,38 +1,38 @@ ---- chrome/browser/ui/tabs/tab_features.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/tabs/tab_features.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/tabs/tab_features.cc -@@ -101,7 +101,7 @@ +@@ -103,7 +103,7 @@ #include "components/multistep_filter/core/features.h" #include "components/skills/features.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/contextual_tasks/contextual_tasks_tab_visit_tracker.h" #include "chrome/browser/record_replay/chrome_record_replay_client.h" #include "chrome/browser/ui/views/location_bar/record_replay_page_action_controller.h" -@@ -485,7 +485,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro +@@ -503,7 +503,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(); -@@ -562,7 +562,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro +@@ -590,7 +590,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro std::make_unique(tab); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(enterprise_reporting::kSaasUsageReporting)) { saas_usage_navigation_observer_ = std::make_unique( -@@ -571,7 +571,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro +@@ -599,7 +599,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro #endif #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(multistep_filter::kMultistepFilter)) { filter_ui_controller_ = GetUserDataFactory() diff --git a/www/chromium/files/patch-chrome_browser_ui_ui__features.cc b/www/chromium/files/patch-chrome_browser_ui_ui__features.cc index 22b4c74b32dd..7b132f1fada3 100644 --- a/www/chromium/files/patch-chrome_browser_ui_ui__features.cc +++ b/www/chromium/files/patch-chrome_browser_ui_ui__features.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/ui_features.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/ui_features.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/ui_features.cc -@@ -42,7 +42,7 @@ BASE_FEATURE(kMenuSimplification, base::FEATURE_DISABL - BASE_FEATURE(kTabGroupColorRefresh, base::FEATURE_DISABLED_BY_DEFAULT); - BASE_FEATURE(kWebuiRefresh2026, base::FEATURE_DISABLED_BY_DEFAULT); +@@ -82,7 +82,7 @@ bool IsWebuiRefresh2026Enabled() { + base::FeatureList::IsEnabled(kWebuiRefresh2026); + } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kDseIntegrity, base::FEATURE_ENABLED_BY_DEFAULT); // Enables the feature to remove the last confirmation dialog when relaunching // to update Chrome. -@@ -231,7 +231,7 @@ BASE_FEATURE(kManagedProfileRequiredInterstitial, +@@ -283,7 +283,7 @@ BASE_FEATURE(kManagedProfileRequiredInterstitial, BASE_FEATURE(kViewsJSAppModalDialog, base::FEATURE_DISABLED_BY_DEFAULT); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) BASE_FEATURE(kUsePortalAccentColor, base::FEATURE_ENABLED_BY_DEFAULT); #endif -@@ -352,7 +352,7 @@ bool IsBookmarkTabGroupConversionEnabled() { +@@ -399,7 +399,7 @@ bool IsBookmarkTabGroupConversionEnabled() { return base::FeatureList::IsEnabled(kBookmarkTabGroupConversion); } -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kSessionRestoreInfobar, base::FEATURE_DISABLED_BY_DEFAULT); BASE_FEATURE_PARAM(bool, diff --git a/www/chromium/files/patch-chrome_browser_ui_ui__features.h b/www/chromium/files/patch-chrome_browser_ui_ui__features.h index 96b823855d1b..5a3be4aa16e0 100644 --- a/www/chromium/files/patch-chrome_browser_ui_ui__features.h +++ b/www/chromium/files/patch-chrome_browser_ui_ui__features.h @@ -1,29 +1,29 @@ ---- chrome/browser/ui/ui_features.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/ui_features.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/ui_features.h -@@ -23,7 +23,7 @@ BASE_DECLARE_FEATURE(kAllowEyeDropperWGCScreenCapture) +@@ -28,7 +28,7 @@ BASE_DECLARE_FEATURE(kCreateNewTabGroupAppMenuTopLevel - BASE_DECLARE_FEATURE(kCreateNewTabGroupAppMenuTopLevel); + BASE_DECLARE_FEATURE(kCtrlTabMru); -#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(kDseIntegrity); BASE_DECLARE_FEATURE(kFewerUpdateConfirmations); #endif -@@ -64,7 +64,7 @@ BASE_DECLARE_FEATURE_PARAM(int, +@@ -74,7 +74,7 @@ BASE_DECLARE_FEATURE_PARAM(int, BASE_DECLARE_FEATURE_PARAM(int, kSeparateDefaultAndPinPromptMessageVersion); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // When enabled, user may see the session restore UI flow. BASE_DECLARE_FEATURE(kSessionRestoreInfobar); -@@ -243,7 +243,7 @@ BASE_DECLARE_FEATURE(kManagedProfileRequiredInterstiti +@@ -260,7 +260,7 @@ BASE_DECLARE_FEATURE(kManagedProfileRequiredInterstiti BASE_DECLARE_FEATURE(kViewsJSAppModalDialog); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) BASE_DECLARE_FEATURE(kUsePortalAccentColor); #endif diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame__view__layout__linux.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame__view__layout__linux.cc index c46c8487e59d..e6b320026fc9 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame__view__layout__linux.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame__view__layout__linux.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/frame/browser_frame_view_layout_linux.cc.orig 2025-05-28 14:55:43 UTC +--- chrome/browser/ui/views/frame/browser_frame_view_layout_linux.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/browser_frame_view_layout_linux.cc -@@ -55,7 +55,7 @@ gfx::Insets BrowserFrameViewLayoutLinux::RestoredFrame +@@ -54,7 +54,7 @@ gfx::Insets BrowserFrameViewLayoutLinux::RestoredFrame OpaqueBrowserFrameViewLayout::RestoredFrameBorderInsets()); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const bool tiled = delegate_->IsTiled(); #else const bool tiled = false; diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc index 94a9787b5615..7d4587329c6b 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/views/frame/browser_view.cc.orig 2026-06-10 07:57:19 UTC +--- chrome/browser/ui/views/frame/browser_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/browser_view.cc -@@ -2376,7 +2376,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating +@@ -2380,7 +2380,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating } void BrowserView::TabDraggingStatusChanged(bool is_dragging) { -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) UpdateFastResizeForContentViews(is_dragging); if (!is_dragging) { -@@ -5716,7 +5716,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() { +@@ -5663,7 +5663,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() { } void BrowserView::MaybeShowSupervisedUserProfileSignInIPH() { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!ShouldShowAvatarToolbarIPH()) { return; } -@@ -5727,7 +5727,7 @@ void BrowserView::MaybeShowSupervisedUserProfileSignIn +@@ -5674,7 +5674,7 @@ void BrowserView::MaybeShowSupervisedUserProfileSignIn } void BrowserView::MaybeShowSignInBenefitsIPH() { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!ShouldShowAvatarToolbarIPH()) { return; } diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__widget.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__widget.cc index eae92a727540..613572e125f5 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__widget.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__widget.cc @@ -1,47 +1,47 @@ ---- chrome/browser/ui/views/frame/browser_widget.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/frame/browser_widget.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/browser_widget.cc -@@ -52,7 +52,7 @@ +@@ -53,7 +53,7 @@ #include "ui/aura/window.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/linux/linux_ui.h" #endif -@@ -86,7 +86,7 @@ class ThemeChangedObserver : public views::WidgetObser +@@ -87,7 +87,7 @@ class ThemeChangedObserver : public views::WidgetObser }; bool IsUsingLinuxSystemTheme(Profile* profile) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme(); #else return false; -@@ -205,7 +205,7 @@ void BrowserWidget::InitBrowserWidget() { +@@ -206,7 +206,7 @@ void BrowserWidget::InitBrowserWidget() { Init(std::move(params)); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) SelectNativeTheme(); #else SetNativeTheme(ui::NativeTheme::GetInstanceForNativeUi()); -@@ -532,7 +532,7 @@ void BrowserWidget::OnMenuClosed() { +@@ -534,7 +534,7 @@ void BrowserWidget::OnMenuClosed() { } void BrowserWidget::SelectNativeTheme() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Use the regular NativeTheme instance if running incognito mode, regardless // of system theme (gtk, qt etc). ui::NativeTheme* native_theme = ui::NativeTheme::GetInstanceForNativeUi(); -@@ -573,7 +573,7 @@ void BrowserWidget::OnTouchUiChanged() { +@@ -575,7 +575,7 @@ void BrowserWidget::OnTouchUiChanged() { bool BrowserWidget::RegenerateFrameOnThemeChange( BrowserThemeChangeType theme_change_type) { bool need_regenerate = false; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // System and user theme changes can both change frame buttons, so the frame // always needs to be regenerated on Linux. need_regenerate = true; diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_contents__web__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_contents__web__view.cc new file mode 100644 index 000000000000..9505096382a2 --- /dev/null +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_contents__web__view.cc @@ -0,0 +1,11 @@ +--- chrome/browser/ui/views/frame/contents_web_view.cc.orig 2026-07-01 06:24:19 UTC ++++ chrome/browser/ui/views/frame/contents_web_view.cc +@@ -171,7 +171,7 @@ void ContentsWebView::SetWebContents(content::WebConte + } + } + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + void ContentsWebView::DidGetUserInteraction(const blink::WebInputEvent& event) { + // If the user interacts with the web contents, ensure it is activated. + // This handles cases where the native window does not receive a focus diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_contents__web__view.h b/www/chromium/files/patch-chrome_browser_ui_views_frame_contents__web__view.h new file mode 100644 index 000000000000..f207c9c1dea3 --- /dev/null +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_contents__web__view.h @@ -0,0 +1,11 @@ +--- chrome/browser/ui/views/frame/contents_web_view.h.orig 2026-07-01 06:24:19 UTC ++++ chrome/browser/ui/views/frame/contents_web_view.h +@@ -68,7 +68,7 @@ class ContentsWebView : public views::WebView, + // This allows the browser to force focus synchronization in split view even + // when native OS focus gets stuck on a different window (like a permission + // prompt). +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + void DidGetUserInteraction(const blink::WebInputEvent& event) override; + #endif + diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_horizontal__tab__strip__region__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_horizontal__tab__strip__region__view.cc index f6ad1317fb81..ac42575949fd 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_horizontal__tab__strip__region__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_horizontal__tab__strip__region__view.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/frame/horizontal_tab_strip_region_view.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/views/frame/horizontal_tab_strip_region_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/horizontal_tab_strip_region_view.cc -@@ -326,7 +326,7 @@ HorizontalTabStripRegionView::HorizontalTabStripRegion +@@ -333,7 +333,7 @@ HorizontalTabStripRegionView::HorizontalTabStripRegion new_tab_button_->GetViewAccessibility().SetName( l10n_util::GetStringUTF16(IDS_ACCNAME_NEWTAB)); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // On Linux, middle-clicking the New Tab Button triggers // paste and navigate, either to URLs or to search queries. new_tab_button_->SetTriggerableEventFlags( diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_layout_browser__view__tabbed__layout__impl.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_layout_browser__view__tabbed__layout__impl.cc index 513eada248ec..d97f881da334 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_layout_browser__view__tabbed__layout__impl.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_layout_browser__view__tabbed__layout__impl.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/frame/layout/browser_view_tabbed_layout_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/frame/layout/browser_view_tabbed_layout_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/layout/browser_view_tabbed_layout_impl.cc -@@ -170,7 +170,7 @@ int BrowserViewTabbedLayoutImpl::GetHorizontalTabStrip +@@ -250,7 +250,7 @@ int BrowserViewTabbedLayoutImpl::GetHorizontalTabStrip } bool BrowserViewTabbedLayoutImpl::AvoidCrackingForFractionalDisplay() const { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // This is primarily an issue on Linux and Windows; add other platforms here // as needed. if (auto* const widget = views().browser_view->GetWidget()) { diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_multi__contents__view__drop__target__controller.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_multi__contents__view__drop__target__controller.cc index a8f4b31d1dca..488b76294ed0 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_multi__contents__view__drop__target__controller.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_multi__contents__view__drop__target__controller.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.cc.orig 2026-02-11 09:05:39 UTC +--- chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.cc -@@ -35,7 +35,7 @@ static constexpr base::TimeDelta kShowNudgeDelay = bas +@@ -36,7 +36,7 @@ static constexpr base::TimeDelta kShowNudgeDelay = bas static constexpr int kDropTargetHideForOSWidth = #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) 32; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) 50; #else 0; diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc index d45ab029b689..7cb901496038 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc @@ -1,38 +1,38 @@ ---- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig 2026-04-09 06:05:42 UTC +--- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/opaque_browser_frame_view.cc -@@ -58,7 +58,7 @@ +@@ -60,7 +60,7 @@ #include "ui/views/window/vector_icons/vector_icons.h" #include "ui/views/window/window_shape.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "ui/views/controls/menu/menu_runner.h" #endif -@@ -588,7 +588,7 @@ bool OpaqueBrowserFrameView::IsFrameCondensed() const +@@ -599,7 +599,7 @@ bool OpaqueBrowserFrameView::IsFrameCondensed() const OpaqueBrowserFrameView::FrameButtonStyle OpaqueBrowserFrameView::GetFrameButtonStyle() const { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return FrameButtonStyle::kMdButton; #else return FrameButtonStyle::kImageButton; -@@ -607,7 +607,7 @@ bool OpaqueBrowserFrameView::ShouldDrawRestoredFrameSh +@@ -618,7 +618,7 @@ bool OpaqueBrowserFrameView::ShouldDrawRestoredFrameSh return false; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool OpaqueBrowserFrameView::IsTiled() const { return browser_widget()->tiled(); } -@@ -848,7 +848,7 @@ gfx::Rect OpaqueBrowserFrameView::GetIconBounds() cons +@@ -862,7 +862,7 @@ gfx::Rect OpaqueBrowserFrameView::GetIconBounds() cons } void OpaqueBrowserFrameView::WindowIconPressed() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Chrome OS doesn't show the window icon, and Windows handles this on its own // due to the hit test being HTSYSMENU. menu_runner_ = std::make_unique( diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc index 1bbaffd2bf59..a2f6ead94029 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/system_menu_model_builder.cc -@@ -87,7 +87,7 @@ void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuM +@@ -131,7 +131,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser + } + #endif // BUILDFLAG(IS_WIN) - void SystemMenuModelBuilder::BuildSystemMenuForBrowserWindow( - ui::SimpleMenuModel* model) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - 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); -@@ -177,7 +177,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser + AddItemWithIconMaybe(model, IDC_MINIMIZE_WINDOW, IDS_MINIMIZE_WINDOW_MENU, + views::kChromeMinimizeIcon); + AddItemWithIconMaybe(model, IDC_MAXIMIZE_WINDOW, IDS_MAXIMIZE_WINDOW_MENU, +@@ -231,7 +231,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser model->AddSeparator(ui::NORMAL_SEPARATOR); model->AddItemWithStringId(IDC_TASK_MANAGER_CONTEXT_MENU, IDS_TASK_MANAGER); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) model->AddSeparator(ui::NORMAL_SEPARATOR); bool supports_server_side_decorations = true; #if BUILDFLAG(IS_OZONE) && !BUILDFLAG(IS_CHROMEOS) -@@ -252,7 +252,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo +@@ -315,7 +315,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo model->AddSeparator(ui::NORMAL_SEPARATOR); model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) model->AddSeparator(ui::NORMAL_SEPARATOR); model->AddItemWithStringId(IDC_CLOSE_WINDOW, IDS_CLOSE); #endif diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc index e25f1b865f10..348cfdf0fffc 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/frame/system_menu_model_delegate.cc -@@ -31,7 +31,7 @@ +@@ -32,7 +32,7 @@ #include "chromeos/ui/frame/desks/move_to_desks_menu_model.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/common/pref_names.h" #endif -@@ -43,7 +43,7 @@ SystemMenuModelDelegate::SystemMenuModelDelegate( +@@ -51,7 +51,7 @@ SystemMenuModelDelegate::SystemMenuModelDelegate( SystemMenuModelDelegate::~SystemMenuModelDelegate() = default; bool SystemMenuModelDelegate::IsCommandIdChecked(int command_id) const { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (command_id == IDC_USE_SYSTEM_TITLE_BAR) { PrefService* prefs = browser_->profile()->GetPrefs(); return !prefs->GetBoolean(prefs::kUseCustomChromeFrame); -@@ -69,7 +69,7 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int c +@@ -98,7 +98,7 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int c } bool SystemMenuModelDelegate::IsCommandIdVisible(int command_id) const { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool is_maximized = browser_->window()->IsMaximized(); switch (command_id) { case IDC_MAXIMIZE_WINDOW: diff --git a/www/chromium/files/patch-chrome_browser_ui_views_location__bar_location__bar__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_location__bar_location__bar__view.cc index 52a3a47afa12..7b45c9c19077 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_location__bar_location__bar__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_location__bar_location__bar__view.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/location_bar/location_bar_view.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/location_bar/location_bar_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/location_bar/location_bar_view.cc -@@ -1922,7 +1922,7 @@ void LocationBarView::OnPopupStateChanged(OmniboxPopup +@@ -1929,7 +1929,7 @@ void LocationBarView::OnPopupStateChanged(OmniboxPopup } } -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (new_state != OmniboxPopupState::kNone) { // Close any overlapping user education bubbles when any popup opens. // It's not great for promos to overlap the omnibox if the user opens the diff --git a/www/chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc b/www/chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc index 6ae0610da8ae..b40d37359f82 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/views/passwords/password_bubble_view_base.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/passwords/password_bubble_view_base.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/passwords/password_bubble_view_base.cc -@@ -44,7 +44,7 @@ +@@ -43,7 +43,7 @@ #include "ui/base/metadata/metadata_impl_macros.h" #include "ui/views/controls/button/button.h" -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/views/passwords/password_relaunch_chrome_view.h" #endif -@@ -161,7 +161,7 @@ PasswordBubbleViewBase* PasswordBubbleViewBase::Create +@@ -160,7 +160,7 @@ PasswordBubbleViewBase* PasswordBubbleViewBase::Create } else if (model_state == password_manager::ui::NOTIFY_RECEIVED_SHARED_CREDENTIALS) { view = new SharedPasswordsNotificationView(web_contents, anchor_view); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) } else if (model_state == password_manager::ui::KEYCHAIN_ERROR_STATE) { view = new RelaunchChromeView( web_contents, anchor_view, diff --git a/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc b/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc index 459c65300495..d0acb04c575d 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/profiles/avatar_toolbar_button.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/profiles/avatar_toolbar_button.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/profiles/avatar_toolbar_button.cc -@@ -440,7 +440,7 @@ void AvatarToolbarButton::MaybeShowProfileSwitchIPH() +@@ -466,7 +466,7 @@ void AvatarToolbarButton::MaybeShowProfileSwitchIPH() state_manager_->MaybeShowProfileSwitchIPH(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void AvatarToolbarButton::MaybeShowSupervisedUserSignInIPH() { state_manager_->MaybeShowSupervisedUserSignInIPH(); } diff --git a/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h b/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h index d8d4172c8dfd..b87f0dccf6f8 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h +++ b/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/profiles/avatar_toolbar_button.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/profiles/avatar_toolbar_button.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/profiles/avatar_toolbar_button.h -@@ -67,7 +67,7 @@ class AvatarToolbarButton : public ToolbarButton, - // void UpdateIcon() also overrides ToolbarButton - void UpdateText() override; +@@ -70,7 +70,7 @@ class AvatarToolbarButton : public ToolbarButton, + void SetAnnounceCallbackForTesting( + base::OnceCallback callback) override; void MaybeShowProfileSwitchIPH() override; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void MaybeShowSupervisedUserSignInIPH() override; void MaybeShowSignInBenefitsIPH() override; #endif diff --git a/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button__state__manager.cc b/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button__state__manager.cc index f23b198b8c0e..06a894f13b38 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button__state__manager.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button__state__manager.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/profiles/avatar_toolbar_button_state_manager.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/profiles/avatar_toolbar_button_state_manager.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/profiles/avatar_toolbar_button_state_manager.cc -@@ -2488,7 +2488,7 @@ void AvatarToolbarButtonStateManager::MaybeShowProfile +@@ -2506,7 +2506,7 @@ void AvatarToolbarButtonStateManager::MaybeShowProfile } } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void AvatarToolbarButtonStateManager::MaybeShowSupervisedUserSignInIPH() { if (!base::FeatureList::IsEnabled( feature_engagement::kIPHSupervisedUserProfileSigninFeature)) { diff --git a/www/chromium/files/patch-chrome_browser_ui_views_profiles_first__run__flow__controller.cc b/www/chromium/files/patch-chrome_browser_ui_views_profiles_first__run__flow__controller.cc index 8de1c55da9fa..a9617d6cdd5a 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_profiles_first__run__flow__controller.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_profiles_first__run__flow__controller.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/views/profiles/first_run_flow_controller.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/profiles/first_run_flow_controller.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/profiles/first_run_flow_controller.cc -@@ -61,7 +61,7 @@ +@@ -67,7 +67,7 @@ #include "chrome/installer/util/shell_util.h" #endif -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/check_deref.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/global_features.h" -@@ -637,7 +637,7 @@ std::string FirstRunFlowController::GetHatsSurveyTrigg +@@ -760,7 +760,7 @@ std::string FirstRunFlowController::GetHatsSurveyTrigg } void FirstRunFlowController::MaybeTriggerHatsSurvey() { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // No variations seed is available on Mac and Linux at the very first run of // Chrome. Check the locale manually to make sure the survey is enabled for // only eligible users. Do the locale check before the feature check to avoid diff --git a/www/chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc index 24063456eb62..c90903b5ecd2 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/views/profiles/profile_menu_view.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/profiles/profile_menu_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/profiles/profile_menu_view.cc -@@ -111,7 +111,7 @@ +@@ -110,7 +110,7 @@ #include "ui/views/accessibility/view_accessibility.h" #include "ui/views/widget/widget.h" -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" #endif -@@ -594,7 +594,7 @@ void ProfileMenuView::SetMenuTitleForAccessibility() { +@@ -593,7 +593,7 @@ void ProfileMenuView::SetMenuTitleForAccessibility() { case signin_util::SignedInState::kSignedOut: case signin_util::SignedInState::kWebOnlySignedIn: { 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/chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc index dde21fa0afc6..79dc66aea5c1 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc @@ -1,47 +1,47 @@ ---- chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc.orig 2026-06-17 07:32:12 UTC +--- chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc @@ -219,7 +219,7 @@ BrowserView* GetBrowserViewForContext(const TabDragCon void UpdateSystemDnDDragImage(TabDragContext* attached_context, const gfx::ImageSkia& image) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) VLOG(1) << __func__ << " image size=" << image.size().ToString(); aura::Window* root_window = attached_context->GetWidget()->GetNativeWindow()->GetRootWindow(); @@ -429,7 +429,7 @@ TabDragController::Liveness TabDragController::Init( // synchronous on desktop Linux, so use that. // - ChromeOS Ash // Releasing capture on Ash cancels gestures so avoid it. -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) ref->can_release_capture_ = false; #endif ref->start_point_in_screen_ = -@@ -1039,7 +1039,7 @@ TabDragController::Liveness TabDragController::DragBro +@@ -1051,7 +1051,7 @@ TabDragController::Liveness TabDragController::DragBro CHECK_EQ(SetCapture(target_context), Liveness::kAlive); } -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) // 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. -@@ -2277,7 +2277,7 @@ void TabDragController::CompleteDrag() { +@@ -2303,7 +2303,7 @@ void TabDragController::CompleteDrag() { } // If source window was maximized - maximize the new window as well. -#if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_MAC) +#if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_BSD) // Keeping maximized state breaks snap to Grid on Windows when dragging // tabs from maximized windows. TODO:(crbug.com/41321838) Explore doing this // for other desktop OS's. kMaximizedStateRetainedOnTabDrag in -@@ -2705,7 +2705,7 @@ TabDragController::Liveness TabDragController::GetLoca +@@ -2724,7 +2724,7 @@ TabDragController::Liveness TabDragController::GetLoca } } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Exclude windows which are pending deletion via Browser::TabStripEmpty(). // These windows can be returned in the Linux Aura port because the browser // window which was used for dragging is not hidden once all of its tabs are diff --git a/www/chromium/files/patch-chrome_browser_ui_views_tabs_hovercard_tab__hover__card__bubble__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_hovercard_tab__hover__card__bubble__view.cc index 38f7c4db6487..835f92ebe4cb 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_hovercard_tab__hover__card__bubble__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_hovercard_tab__hover__card__bubble__view.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/tabs/hovercard/tab_hover_card_bubble_view.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/tabs/hovercard/tab_hover_card_bubble_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/tabs/hovercard/tab_hover_card_bubble_view.cc -@@ -674,7 +674,7 @@ TabHoverCardBubbleView::TabHoverCardBubbleView( +@@ -678,7 +678,7 @@ TabHoverCardBubbleView::TabHoverCardBubbleView( // not become active. Setting this to false creates the need to explicitly // hide the hovercard on press, touch, and keyboard events. SetCanActivate(false); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) set_accept_events(false); #endif diff --git a/www/chromium/files/patch-chrome_browser_ui_views_tabs_projects_projects__panel__tab__groups__item__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_projects_projects__panel__tab__groups__item__view.cc index 352bd26f2c7b..6754aca9e1f9 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_projects_projects__panel__tab__groups__item__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_projects_projects__panel__tab__groups__item__view.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/tabs/projects/projects_panel_tab_groups_item_view.cc.orig 2026-04-09 06:05:42 UTC +--- chrome/browser/ui/views/tabs/projects/projects_panel_tab_groups_item_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/tabs/projects/projects_panel_tab_groups_item_view.cc -@@ -243,7 +243,7 @@ void ProjectsPanelTabGroupsItemView::OnMouseEntered( +@@ -249,7 +249,7 @@ void ProjectsPanelTabGroupsItemView::OnMouseEntered( void ProjectsPanelTabGroupsItemView::OnMouseExited( const ui::MouseEvent& event) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Bypasses the synchronous IsMouseHovered() check which can be stale on Linux // Wayland/X11 due to asynchronous cursor updates during mouse exit events. UpdateHoverStateForced(/*is_hovered=*/false); diff --git a/www/chromium/files/patch-chrome_browser_ui_views_tabs_projects_projects__panel__thread__item__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_projects_projects__panel__thread__item__view.cc index f1d6e5e59437..dd3b08aa0f26 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_projects_projects__panel__thread__item__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_projects_projects__panel__thread__item__view.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/tabs/projects/projects_panel_thread_item_view.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/views/tabs/projects/projects_panel_thread_item_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/tabs/projects/projects_panel_thread_item_view.cc -@@ -116,7 +116,7 @@ void ProjectsPanelThreadItemView::OnMouseEntered(const +@@ -117,7 +117,7 @@ void ProjectsPanelThreadItemView::OnMouseEntered(const } void ProjectsPanelThreadItemView::OnMouseExited(const ui::MouseEvent& event) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Bypasses the synchronous IsMouseHovered() check which can be stale on Linux // Wayland/X11 due to asynchronous cursor updates during mouse exit events. UpdateHoverStateForced(/*is_hovered=*/false); diff --git a/www/chromium/files/patch-chrome_browser_ui_views_tabs_shared_drop__arrow.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_shared_drop__arrow.cc index d5818b74a799..f1c871e4563b 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_shared_drop__arrow.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_shared_drop__arrow.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/tabs/shared/drop_arrow.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/views/tabs/shared/drop_arrow.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/tabs/shared/drop_arrow.cc -@@ -76,7 +76,7 @@ DropArrow::~DropArrow() { +@@ -81,7 +81,7 @@ DropArrow::~DropArrow() { // static void DropArrow::MaybeAdjustDisplayBounds(gfx::Rect& display_bounds) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // On Linux, `GetBoundsInScreen` returns coordinates relative to the browser // window (plus shadow elevation outsets) rather than the screen. To handle // this, we adjust the display bounds by the difference between the drop arrow diff --git a/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc index 943ffdfdd40e..ad1e1b624cf5 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/tabs/tab.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/tabs/tab.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/tabs/tab.cc -@@ -1249,7 +1249,7 @@ void Tab::MaybeUpdateHoverStatus(const ui::MouseEvent& +@@ -1281,7 +1281,7 @@ void Tab::MaybeUpdateHoverStatus(const ui::MouseEvent& return; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Move the hit test area for hovering up so that it is not overlapped by tab // hover cards when they are shown. // TODO(crbug.com/41467565): Once Linux/CrOS widget transparency is solved, diff --git a/www/chromium/files/patch-chrome_browser_ui_views_tabs_vertical_vertical__tab__group__header__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_vertical_vertical__tab__group__header__view.cc index b32f25619bb1..c18eaeff128d 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_vertical_vertical__tab__group__header__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_vertical_vertical__tab__group__header__view.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/tabs/vertical/vertical_tab_group_header_view.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/tabs/vertical/vertical_tab_group_header_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/tabs/vertical/vertical_tab_group_header_view.cc -@@ -323,7 +323,7 @@ void VerticalTabGroupHeaderView::OnMouseEntered(const +@@ -329,7 +329,7 @@ void VerticalTabGroupHeaderView::OnMouseEntered(const } void VerticalTabGroupHeaderView::OnMouseExited(const ui::MouseEvent& event) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Bypasses the synchronous IsMouseHovered() check which can be stale on Linux // Wayland/X11 due to asynchronous cursor updates during mouse exit events. SetEditorBubbleButtonVisibilityOnHover(/*is_hovered=*/false); diff --git a/www/chromium/files/patch-chrome_browser_ui_views_task__manager__search__bar__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_task__manager__search__bar__view.cc index a02063d172c1..f3deec183af2 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_task__manager__search__bar__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_task__manager__search__bar__view.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/task_manager_search_bar_view.cc.orig 2026-02-11 09:05:39 UTC +--- chrome/browser/ui/views/task_manager_search_bar_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/task_manager_search_bar_view.cc -@@ -29,7 +29,7 @@ TaskManagerSearchBarView::TaskManagerSearchBarView( - const gfx::Insets& margins, - Delegate& delegate) - : delegate_(delegate) +@@ -28,7 +28,7 @@ namespace task_manager { + namespace { + + ui::ColorId GetTextfieldPlaceholderTextColor() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - , - textfield_placeholder_color_id_(kColorTaskManagerSearchBarPlaceholderText) - #endif + return kColorTaskManagerSearchBarPlaceholderText; + #else + return ui::kColorTextfieldForegroundPlaceholder; diff --git a/www/chromium/files/patch-chrome_browser_ui_views_toolbar_avatar__toolbar__button__interface.h b/www/chromium/files/patch-chrome_browser_ui_views_toolbar_avatar__toolbar__button__interface.h index 53516d0276f5..f99a192c2aa3 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_toolbar_avatar__toolbar__button__interface.h +++ b/www/chromium/files/patch-chrome_browser_ui_views_toolbar_avatar__toolbar__button__interface.h @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/toolbar/avatar_toolbar_button_interface.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/toolbar/avatar_toolbar_button_interface.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/toolbar/avatar_toolbar_button_interface.h -@@ -76,7 +76,7 @@ class AvatarToolbarButtonInterface { +@@ -83,7 +83,7 @@ class AvatarToolbarButtonInterface { // Attempts showing the In-Product-Help for profile Switching. virtual void MaybeShowProfileSwitchIPH() = 0; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Attempts showing the In-Product-Help when a supervised user signs-in in a // profile. virtual void MaybeShowSupervisedUserSignInIPH() = 0; diff --git a/www/chromium/files/patch-chrome_browser_ui_views_toolbar_toolbar__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_toolbar_toolbar__view.cc index b87cb47ddd87..ecc953f86929 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_toolbar_toolbar__view.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_toolbar_toolbar__view.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/toolbar/toolbar_view.cc.orig 2026-06-10 07:57:19 UTC +--- chrome/browser/ui/views/toolbar/toolbar_view.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/toolbar/toolbar_view.cc -@@ -396,7 +396,7 @@ void ToolbarView::Init() { +@@ -397,7 +397,7 @@ void ToolbarView::Init() { } std::unique_ptr media_button; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) media_button = std::make_unique( browser_view_, std::make_unique(browser_)); diff --git a/www/chromium/files/patch-chrome_browser_ui_views_toolbar_webui__avatar__toolbar__button.cc b/www/chromium/files/patch-chrome_browser_ui_views_toolbar_webui__avatar__toolbar__button.cc index 786e7be33403..602ae3eed45e 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_toolbar_webui__avatar__toolbar__button.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_toolbar_webui__avatar__toolbar__button.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/toolbar/webui_avatar_toolbar_button.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/toolbar/webui_avatar_toolbar_button.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/toolbar/webui_avatar_toolbar_button.cc -@@ -104,7 +104,7 @@ void WebUIAvatarToolbarButton::MaybeShowProfileSwitchI +@@ -136,7 +136,7 @@ void WebUIAvatarToolbarButton::MaybeShowProfileSwitchI } } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void WebUIAvatarToolbarButton::MaybeShowSupervisedUserSignInIPH() { if (state_manager_ && delegate_->GetView()->GetWidget()) { state_manager_->MaybeShowSupervisedUserSignInIPH(); diff --git a/www/chromium/files/patch-chrome_browser_ui_views_toolbar_webui__avatar__toolbar__button.h b/www/chromium/files/patch-chrome_browser_ui_views_toolbar_webui__avatar__toolbar__button.h index cd8c08e0cd38..afcc1bc13c1b 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_toolbar_webui__avatar__toolbar__button.h +++ b/www/chromium/files/patch-chrome_browser_ui_views_toolbar_webui__avatar__toolbar__button.h @@ -1,11 +1,11 @@ ---- chrome/browser/ui/views/toolbar/webui_avatar_toolbar_button.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/toolbar/webui_avatar_toolbar_button.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/toolbar/webui_avatar_toolbar_button.h -@@ -44,7 +44,7 @@ class WebUIAvatarToolbarButton : public AvatarToolbarB - explicit_action) override; +@@ -48,7 +48,7 @@ class WebUIAvatarToolbarButton : public AvatarToolbarB + bool should_announce) override; bool HasExplicitButtonState() const override; void MaybeShowProfileSwitchIPH() override; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void MaybeShowSupervisedUserSignInIPH() override; void MaybeShowSignInBenefitsIPH() override; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc b/www/chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc index 2ba5253e8372..1602e4cae49c 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc @@ -1,20 +1,20 @@ ---- chrome/browser/ui/views/user_education/browser_user_education_service.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/user_education/browser_user_education_service.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/user_education/browser_user_education_service.cc -@@ -1293,7 +1293,7 @@ void MaybeRegisterChromeFeaturePromos( +@@ -1449,7 +1449,7 @@ void MaybeRegisterChromeFeaturePromos( "Triggered when a shared tab becomes the active tab."))); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // kIPHSupervisedUserProfileSigninFeature: registry.RegisterFeature(std::move( FeaturePromoSpecification::CreateForCustomAction( -@@ -1581,7 +1581,7 @@ void MaybeRegisterChromeFeaturePromos( +@@ -1755,7 +1755,7 @@ void MaybeRegisterChromeFeaturePromos( "Triggered to inform users of the availability of the " "new translate screen feature on the Lens Overlay."))); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // kIPHDesktopPWAsLinkCapturingLaunch: registry.RegisterFeature(std::move( FeaturePromoSpecification::CreateForCustomAction( diff --git a/www/chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc b/www/chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc index a8b4ad940473..997c73b0b67a 100644 --- a/www/chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc +++ b/www/chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc @@ -1,83 +1,83 @@ ---- chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc @@ -568,7 +568,7 @@ std::string GetFileExtension(FileExtension file_extens } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) SiteConfig GetSiteConfigurationFromAppName(const std::string& app_name) { SiteConfig config; bool is_app_found = false; -@@ -2261,7 +2261,7 @@ void WebAppIntegrationTestDriver::DeletePlatformShortc +@@ -2296,7 +2296,7 @@ void WebAppIntegrationTestDriver::DeletePlatformShortc if (app_name.empty()) { app_name = GetSiteConfiguration(site).app_name; } -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ASSERT_TRUE(override_registration_->test_override().IsShortcutCreated( profile(), app_id, app_name)); ASSERT_TRUE( -@@ -3699,7 +3699,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginEna +@@ -3735,7 +3735,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginEna app_state->id, app_state->name); ASSERT_TRUE(icon_color.has_value()); ASSERT_THAT(site_config.icon_color, testing::Eq(icon_color.value())); -#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ASSERT_TRUE(override_registration_->test_override().IsRunOnOsLoginEnabled( profile(), app_state->id, app_state->name)); #endif -@@ -3714,7 +3714,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis +@@ -3750,7 +3750,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis GetAppBySiteMode(after_state_change_action_state_.get(), profile(), site); ASSERT_TRUE(app_state); base::ScopedAllowBlockingForTesting allow_blocking; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ASSERT_FALSE(override_registration_->test_override().IsRunOnOsLoginEnabled( profile(), app_state->id, app_state->name)); #endif -@@ -3724,7 +3724,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis +@@ -3760,7 +3760,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis void WebAppIntegrationTestDriver::CheckSiteHandlesFile( Site site, FileExtension file_extension) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!BeforeStateCheckAction(__FUNCTION__)) { return; } -@@ -3740,7 +3740,7 @@ void WebAppIntegrationTestDriver::CheckSiteHandlesFile +@@ -3776,7 +3776,7 @@ void WebAppIntegrationTestDriver::CheckSiteHandlesFile void WebAppIntegrationTestDriver::CheckSiteNotHandlesFile( Site site, FileExtension file_extension) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!BeforeStateCheckAction(__FUNCTION__)) { return; } -@@ -4540,7 +4540,7 @@ base::FilePath WebAppIntegrationTestDriver::GetShortcu +@@ -4576,7 +4576,7 @@ base::FilePath WebAppIntegrationTestDriver::GetShortcu base::FilePath shortcut_dir, const std::string& app_name, const webapps::AppId& app_id) { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) return override_registration_->test_override().GetShortcutPath( profile(), shortcut_dir, app_id, app_name); #else -@@ -4745,7 +4745,7 @@ bool WebAppIntegrationTestDriver::IsShortcutAndIconCre +@@ -4781,7 +4781,7 @@ bool WebAppIntegrationTestDriver::IsShortcutAndIconCre const webapps::AppId& id) { base::ScopedAllowBlockingForTesting allow_blocking; bool is_shortcut_and_icon_correct = false; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool is_shortcut_correct = override_registration_->test_override().IsShortcutCreated(profile, id, name); -@@ -4789,7 +4789,7 @@ bool WebAppIntegrationTestDriver::DoIconColorsMatch(Pr +@@ -4825,7 +4825,7 @@ bool WebAppIntegrationTestDriver::DoIconColorsMatch(Pr do_icon_colors_match = (expected_icon_pixel_color == shortcut_pixel_color_apps_folder.value()); } -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) SkColor expected_icon_pixel_color = GetSiteConfigurationFromAppName(name).icon_color; std::optional actual_color_install_icon_size = diff --git a/www/chromium/files/patch-chrome_browser_ui_web__applications_app__browser__controller.cc b/www/chromium/files/patch-chrome_browser_ui_web__applications_app__browser__controller.cc index 494e3dc64803..b2ad08421fb8 100644 --- a/www/chromium/files/patch-chrome_browser_ui_web__applications_app__browser__controller.cc +++ b/www/chromium/files/patch-chrome_browser_ui_web__applications_app__browser__controller.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/web_applications/app_browser_controller.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/web_applications/app_browser_controller.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/web_applications/app_browser_controller.cc -@@ -541,7 +541,7 @@ std::u16string AppBrowserController::GetLaunchFlashTex +@@ -557,7 +557,7 @@ std::u16string AppBrowserController::GetLaunchFlashTex // web bundle. The flash text is not needed on platforms that already display // the app name in the title bar (e.g. Mac, Windows, and Linux). if (IsIsolatedWebApp()) { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return std::u16string(); #else // !(BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)) return GetAppShortName(); diff --git a/www/chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc b/www/chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc index 164554774cbc..d748b179c922 100644 --- a/www/chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc +++ b/www/chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc -@@ -324,7 +324,7 @@ bool WebAppUiManagerImpl::IsAppMigrationDialogShowing( +@@ -325,7 +325,7 @@ bool WebAppUiManagerImpl::IsAppMigrationDialogShowing( return false; } #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) BrowserView* browser_view = BrowserView::GetBrowserViewForBrowser(window); return browser_view && browser_view->GetProperty(kIsPwaUpdateDialogShowingKey) && -@@ -648,7 +648,7 @@ void WebAppUiManagerImpl::MaybeShowIPHPromoForAppsLaun +@@ -649,7 +649,7 @@ void WebAppUiManagerImpl::MaybeShowIPHPromoForAppsLaun Browser* browser, Profile* profile, const std::string& app_id) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) WebAppProvider* provider = WebAppProvider::GetForWebApps(profile); CHECK(provider); -@@ -866,7 +866,7 @@ void WebAppUiManagerImpl::ClearWebAppSiteDataIfNeeded( +@@ -867,7 +867,7 @@ void WebAppUiManagerImpl::ClearWebAppSiteDataIfNeeded( } } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const base::Feature& GetPromoFeatureEngagementFromBrowser( const BrowserWindowInterface* browser) { diff --git a/www/chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h b/www/chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h index b8753104f762..e84cba791401 100644 --- a/www/chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h +++ b/www/chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h @@ -1,11 +1,11 @@ ---- chrome/browser/ui/web_applications/web_app_ui_manager_impl.h.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/web_applications/web_app_ui_manager_impl.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/web_applications/web_app_ui_manager_impl.h -@@ -253,7 +253,7 @@ class WebAppUiManagerImpl : public BrowserCollectionOb +@@ -256,7 +256,7 @@ class WebAppUiManagerImpl : public BrowserCollectionOb UninstallCompleteCallback uninstall_complete_callback, webapps::UninstallResultCode uninstall_code); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void ShowIPHPromoForAppsLaunchedViaLinkCapturing(Browser* browser, const webapps::AppId& app_id, bool is_activated); diff --git a/www/chromium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc b/www/chromium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc index f5e18c9699a3..9ad58e2b5e27 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/webui_browser/webui_browser_window.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/webui_browser/webui_browser_window.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui_browser/webui_browser_window.cc -@@ -62,7 +62,7 @@ const char* const kWebUIBrowserWindowKey = "__WEBUI_BR +@@ -63,7 +63,7 @@ const char* const kWebUIBrowserWindowKey = "__WEBUI_BR // Copied from chrome/browser/ui/views/frame/browser_widget.cc. bool IsUsingLinuxSystemTheme(Profile* profile) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme(); #else return false; diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc b/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc index 891357ba38c6..2edeb1f80cb1 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc @@ -1,95 +1,95 @@ ---- chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/chrome_web_ui_configs.cc -@@ -166,7 +166,7 @@ - #include "chrome/browser/ui/webui/conflicts/conflicts_ui.h" +@@ -170,7 +170,7 @@ + #include "chrome/browser/ui/webui/default_browser/visual_guided_setter_ui.h" #endif // BUILDFLAG(IS_WIN) -#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/browser_switch/browser_switch_ui.h" #include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin_ui.h" -@@ -175,13 +175,13 @@ +@@ -179,13 +179,13 @@ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/sandbox/sandbox_internals_ui.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || // BUILDFLAG(IS_ANDROID) #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_ui.h" #include "chrome/browser/ui/webui/management/management_ui.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || -@@ -212,7 +212,7 @@ +@@ -218,7 +218,7 @@ #include "chrome/browser/ui/webui/signin/signin_error_ui.h" #endif // !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID) -#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/on_device_translation_internals/on_device_translation_internals_ui.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -229,7 +229,7 @@ +@@ -235,7 +235,7 @@ #endif // BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/skills/skills_ui.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ // BUILDFLAG(IS_CHROMEOS) -@@ -388,7 +388,7 @@ void RegisterChromeWebUIConfigs() { +@@ -398,7 +398,7 @@ void RegisterChromeWebUIConfigs() { map.AddWebUIConfig(std::make_unique()); #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) map.AddWebUIConfig(std::make_unique()); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || // BUILDFLAG(IS_OPENBSD) -@@ -418,7 +418,7 @@ void RegisterChromeWebUIConfigs() { - map.AddWebUIConfig(std::make_unique()); +@@ -429,7 +429,7 @@ void RegisterChromeWebUIConfigs() { + map.AddWebUIConfig(std::make_unique()); #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) map.AddWebUIConfig(std::make_unique()); map.AddWebUIConfig(std::make_unique()); map.AddWebUIConfig(std::make_unique()); -@@ -427,19 +427,19 @@ void RegisterChromeWebUIConfigs() { +@@ -438,19 +438,19 @@ void RegisterChromeWebUIConfigs() { #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) map.AddWebUIConfig(std::make_unique()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || // BUILDFLAG(IS_ANDROID) #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()); map.AddWebUIConfig(std::make_unique()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) map.AddWebUIConfig(std::make_unique()); #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) -@@ -482,7 +482,7 @@ void RegisterChromeWebUIConfigs() { +@@ -496,7 +496,7 @@ void RegisterChromeWebUIConfigs() { #endif // BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) map.AddWebUIConfig(std::make_unique()); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ // BUILDFLAG(IS_CHROMEOS) diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc b/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc index 18eb2c311f3e..232c2069c585 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc @@ -1,50 +1,50 @@ ---- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc @@ -117,17 +117,17 @@ #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/webapps/isolated_web_apps/scheme.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/sandbox/sandbox_internals_ui.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/whats_new/whats_new_ui.h" #endif @@ -268,7 +268,7 @@ void ChromeWebUIControllerFactory::GetFaviconForURL( const std::vector& desired_sizes_in_pixel, favicon_base::FaviconResultsCallback callback) const { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (page_url.SchemeIs(webapps::kIsolatedAppScheme)) { ReadIsolatedWebAppFaviconsFromDisk(profile, page_url, std::move(callback)); return; -@@ -425,7 +425,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: +@@ -427,7 +427,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: return NewTabPageUI::GetFaviconResourceBytes(scale_factor); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (page_url.host() == chrome::kChromeUIWhatsNewHost) { return WhatsNewUI::GetFaviconResourceBytes(scale_factor); } -@@ -455,7 +455,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: +@@ -457,7 +457,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (page_url.host() == chrome::kChromeUIContextualTasksHost) { return ContextualTasksUI::GetFaviconResourceBytes(scale_factor); } diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_cr__components_searchbox_searchbox__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_cr__components_searchbox_searchbox__handler.cc index ac17faa06765..f99799e91b73 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_cr__components_searchbox_searchbox__handler.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_cr__components_searchbox_searchbox__handler.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.cc.orig 2026-06-17 07:32:12 UTC +--- chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.cc -@@ -176,7 +176,7 @@ const char* kMacShareIconResourceName = +@@ -206,7 +206,7 @@ const char* kMacShareIconResourceName = #elif BUILDFLAG(IS_WIN) const char* kWinShareIconResourceName = "//resources/cr_components/searchbox/icons/win_share.svg"; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const char* kLinuxShareIconResourceName = "//resources/cr_components/searchbox/icons/share.svg"; #else -@@ -234,7 +234,7 @@ static void DefineChromeRefreshRealboxIcons() { +@@ -264,7 +264,7 @@ static void DefineChromeRefreshRealboxIcons() { #elif BUILDFLAG(IS_WIN) kWinShareIconResourceName = "//resources/cr_components/searchbox/icons/win_share_cr23.svg"; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) kLinuxShareIconResourceName = "//resources/cr_components/searchbox/icons/share_cr23.svg"; #else -@@ -689,7 +689,7 @@ std::string SearchboxHandler::AutocompleteIconToResour - if (icon.name == omnibox::kShareWinChromeRefreshIcon.name) { +@@ -781,7 +781,7 @@ std::string SearchboxHandler::AutocompleteIconToResour + : omnibox::kShareWinChromeRefreshOldIcon.name)) { return kWinShareIconResourceName; } -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (icon.name == omnibox::kShareLinuxChromeRefreshIcon.name) { - return kLinuxShareIconResourceName; - } + if (icon.name == (features::IsRoundedIconsEnabled() + ? omnibox::kSendIcon.name + : omnibox::kShareLinuxChromeRefreshOldIcon.name)) { diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_infobar__internals_infobar__internals__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_infobar__internals_infobar__internals__handler.cc index d0ea6399437f..b516b1ba3111 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_infobar__internals_infobar__internals__handler.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_infobar__internals_infobar__internals__handler.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/webui/infobar_internals/infobar_internals_handler.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/webui/infobar_internals/infobar_internals_handler.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/infobar_internals/infobar_internals_handler.cc -@@ -46,7 +46,7 @@ - #include "chrome/browser/win/installer_downloader/installer_downloader_pref_names.h" +@@ -63,7 +63,7 @@ + #include "chrome/browser/ui/cocoa/keystone_infobar_delegate.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/startup/default_browser_prompt/default_browser_prompt_manager.h" // nogncheck #include "chrome/browser/ui/startup/default_browser_prompt/default_browser_prompt_prefs.h" // nogncheck #include "chrome/browser/ui/views/session_restore_infobar/session_restore_infobar_delegate.h" -@@ -76,7 +76,7 @@ void InfoBarInternalsHandler::TriggerInfoBar(InfoBarTy - void InfoBarInternalsHandler::GetInfoBars(GetInfoBarsCallback callback) { - // Please keep the entries in alphabetized order base on the type. - std::vector infobar_list; +@@ -106,7 +106,7 @@ void InfoBarInternalsHandler::GetInfoBars(GetInfoBarsC + "The Collected Cookies infobar is shown after the user has changed " + "the allowed/blocked state of a cookie, reminding them to reload " + "the page in order for the new cookies to take effect.")); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) infobar_list.emplace_back(InfoBarEntry::New( /*type=*/InfoBarType::kDefaultBrowser, /*name=*/"Default Browser", /*description=*/ -@@ -139,7 +139,7 @@ void InfoBarInternalsHandler::GetInfoBars(GetInfoBarsC - bool InfoBarInternalsHandler::TriggerInfoBarInternal(InfoBarType type) { - // Please keep the entries in alphabetized order base on the type. - switch (type) { +@@ -232,7 +232,7 @@ bool InfoBarInternalsHandler::TriggerInfoBarInternal(I + CollectedCookiesInfoBarDelegate::Create(infobar_manager); + return true; + } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) case InfoBarType::kDefaultBrowser: { BrowserWindowInterface* const bwi = GetLastActiveBrowserWindowInterfaceWithAnyProfile(); diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc b/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc index 570809c0c7bf..f01895b205f8 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc @@ -1,16 +1,16 @@ ---- chrome/browser/ui/webui/management/management_ui.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/webui/management/management_ui.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/management/management_ui.cc -@@ -193,11 +193,11 @@ void ManagementUI::GetLocalizedStrings( +@@ -197,11 +197,11 @@ void ManagementUI::GetLocalizedStrings( IDS_MANAGEMENT_FILE_TRANSFER_VISIBLE_DATA}, {kManagementReportFileEvents, IDS_MANAGEMENT_REPORT_FILE_EVENTS}, #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {kManagementScreenCaptureEvent, IDS_MANAGEMENT_SCREEN_CAPTURE_EVENT}, {kManagementScreenCaptureData, IDS_MANAGEMENT_SCREEN_CAPTURE_DATA}, #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {kManagementDeviceSignalsDisclosure, IDS_MANAGEMENT_DEVICE_SIGNALS_DISCLOSURE}, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc index a91967248e5b..74f5ea65594a 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc @@ -1,38 +1,47 @@ ---- chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/management/management_ui_handler.cc @@ -74,7 +74,7 @@ #include "ui/base/l10n/l10n_util.h" #include "ui/base/webui/web_ui_util.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/user_permission_service_factory.h" #include "components/device_signals/core/browser/user_permission_service.h" // nogncheck #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -386,7 +386,7 @@ void ManagementUIHandler::AddReportingInfo(base::ListV - report_sources->Append(std::move(data)); - } +@@ -197,7 +197,7 @@ void AddThreatProtectionPermission(const char* title, + #endif // BUILDFLAG(ENTERPRISE_CLOUD_CONTENT_ANALYSIS) + bool IsSaasReportingEnabled(content::WebUI* web_ui) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - auto device_signal_data = GetDeviceSignalGrantedMessage(); - if (!device_signal_data.empty()) { - report_sources->Append(std::move(device_signal_data)); -@@ -408,7 +408,7 @@ void ManagementUIHandler::AddReportingInfo(base::ListV - report_sources->Append(std::move(data)); - } + return !Profile::FromWebUI(web_ui) + ->GetPrefs() + ->GetList(enterprise_reporting::kSaasUsageDomainUrlsForProfile) +@@ -398,7 +398,7 @@ void ManagementUIHandler::AddBrowserReportingInfo( + report_sources->Append(std::move(data)); + } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - auto device_signal_data = GetDeviceSignalGrantedMessage(); - if (!device_signal_data.empty()) { - report_sources->Append(std::move(device_signal_data)); -@@ -599,7 +599,7 @@ policy::PolicyService* ManagementUIHandler::GetPolicyS + auto device_signal_data = GetDeviceSignalGrantedMessage(); + if (!device_signal_data.empty()) { + report_sources->Append(std::move(device_signal_data)); +@@ -430,7 +430,7 @@ void ManagementUIHandler::AddProfileReportingInfo( + report_sources->Append(std::move(data)); + } + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + auto device_signal_data = GetDeviceSignalGrantedMessage(); + if (!device_signal_data.empty()) { + report_sources->Append(std::move(device_signal_data)); +@@ -620,7 +620,7 @@ policy::PolicyService* ManagementUIHandler::GetPolicyS ->policy_service(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) device_signals::UserPermissionService* ManagementUIHandler::GetUserPermissionService() { return enterprise_signals::UserPermissionServiceFactory::GetForProfile( diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h b/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h index abf4065756d0..c802add95984 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h +++ b/www/chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h @@ -1,20 +1,20 @@ ---- chrome/browser/ui/webui/management/management_ui_handler.h.orig 2026-03-13 06:02:14 UTC +--- chrome/browser/ui/webui/management/management_ui_handler.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/management/management_ui_handler.h @@ -33,7 +33,7 @@ namespace enterprise_management { class GetUserEligiblePromotionsResponse; } // namespace enterprise_management -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) namespace device_signals { class UserPermissionService; } // namespace device_signals -@@ -90,7 +90,7 @@ class ManagementUIHandler : public content::WebUIMessa +@@ -91,7 +91,7 @@ class ManagementUIHandler : public content::WebUIMessa base::ListValue GetManagedWebsitesInfo(Profile* profile) const; base::ListValue GetApplicationsInfo(Profile* profile) const; virtual policy::PolicyService* GetPolicyService(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) virtual device_signals::UserPermissionService* GetUserPermissionService(); base::DictValue GetDeviceSignalGrantedMessage(); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_password__manager_promo__cards__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_password__manager_promo__cards__handler.cc index c96d3ef82573..2df982c76720 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_password__manager_promo__cards__handler.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_password__manager_promo__cards__handler.cc @@ -1,38 +1,38 @@ ---- chrome/browser/ui/webui/password_manager/promo_cards_handler.cc.orig 2026-03-13 06:02:14 UTC +--- chrome/browser/ui/webui/password_manager/promo_cards_handler.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/password_manager/promo_cards_handler.cc -@@ -31,7 +31,7 @@ - #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) +@@ -30,7 +30,7 @@ + #endif #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "base/memory/scoped_refptr.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/ui/webui/password_manager/promo_cards/relaunch_chrome_promo.h" - #include "components/os_crypt/async/browser/os_crypt_async.h" @@ -78,7 +78,7 @@ PromoCardsHandler::PromoCardsHandler(Profile* profile) - #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) + #endif #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto relaunch_promo = std::make_unique(profile->GetPrefs()); relaunch_chrome_promo_ = relaunch_promo.get(); @@ -118,7 +118,7 @@ void PromoCardsHandler::HandleGetAvailablePromoCard( CHECK_EQ(1U, args.size()); const base::Value& callback_id = args[0]; -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (relaunch_chrome_promo_ && !relaunch_chrome_promo_->is_encryption_available().has_value()) { g_browser_process->os_crypt_async()->GetInstance( @@ -181,7 +181,7 @@ PasswordPromoCardBase* PromoCardsHandler::GetPromoToSh return promo_to_show; } -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void PromoCardsHandler::OnEncryptorReceived( base::Value callback_id, - os_crypt_async::Encryptor encryptor) { + scoped_refptr encryptor) { diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_password__manager_promo__cards__handler.h b/www/chromium/files/patch-chrome_browser_ui_webui_password__manager_promo__cards__handler.h index fc7ca18d9e64..5a9ee222505a 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_password__manager_promo__cards__handler.h +++ b/www/chromium/files/patch-chrome_browser_ui_webui_password__manager_promo__cards__handler.h @@ -1,20 +1,20 @@ ---- chrome/browser/ui/webui/password_manager/promo_cards_handler.h.orig 2025-12-05 10:12:50 UTC +--- chrome/browser/ui/webui/password_manager/promo_cards_handler.h.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/password_manager/promo_cards_handler.h -@@ -52,7 +52,7 @@ class PromoCardsHandler : public content::WebUIMessage +@@ -54,7 +54,7 @@ class PromoCardsHandler : public content::WebUIMessage PasswordPromoCardBase* GetPromoToShowAndUpdatePref(); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void OnEncryptorReceived(base::Value callback_id, - os_crypt_async::Encryptor encryptor); + scoped_refptr encryptor); #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -60,7 +60,7 @@ class PromoCardsHandler : public content::WebUIMessage +@@ -62,7 +62,7 @@ class PromoCardsHandler : public content::WebUIMessage raw_ptr profile_; std::vector> promo_cards_; -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // This points into `promo_cards_`, so should be ordered after it. raw_ptr relaunch_chrome_promo_ = nullptr; diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_sanitized__image_sanitized__image__source.cc b/www/chromium/files/patch-chrome_browser_ui_webui_sanitized__image_sanitized__image__source.cc index 1d6e4316d43d..0e585abcd79b 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_sanitized__image_sanitized__image__source.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_sanitized__image_sanitized__image__source.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/webui/sanitized_image/sanitized_image_source.cc.orig 2026-05-07 17:02:56 UTC +--- chrome/browser/ui/webui/sanitized_image/sanitized_image_source.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/sanitized_image/sanitized_image_source.cc -@@ -320,7 +320,7 @@ void SanitizedImageSource::OnAnimationDecoded( +@@ -350,7 +350,7 @@ void SanitizedImageSource::OnAnimationDecoded( } #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_LINUX) + BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (mojo_frames.size() > 1) { // The image is animated, re-encode as WebP animated image and send to // requester. diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc b/www/chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc index 823a861623c0..b389233321d1 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc @@ -1,70 +1,70 @@ ---- chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -148,7 +148,7 @@ +@@ -155,7 +155,7 @@ #include "chrome/browser/ui/webui/settings/system_handler.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/display/screen.h" #endif -@@ -158,7 +158,7 @@ +@@ -165,7 +165,7 @@ #include "device/fido/win/webauthn_api.h" #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/linux/linux_ui_factory.h" #include "ui/ozone/public/ozone_platform.h" #endif -@@ -283,7 +283,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou +@@ -290,7 +290,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou {"toastAlertLevelDescription", IDS_SETTINGS_ACCESSIBILITY_TOAST_FREQUENCY_DESCRIPTION}, #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) {"overscrollHistoryNavigationTitle", IDS_SETTINGS_OVERSCROLL_HISTORY_NAVIGATION_TITLE}, {"overscrollHistoryNavigationSubtitle", -@@ -551,7 +551,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht +@@ -592,7 +592,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht {"uiFeatureAlignSide", IDS_SETTINGS_UI_FEATURE_ALIGN_SIDE}, {"uiFeatureAlignTop", IDS_SETTINGS_UI_FEATURE_ALIGN_TOP}, {"resetToDefault", IDS_SETTINGS_RESET_TO_DEFAULT}, -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"gtkTheme", IDS_SETTINGS_GTK_THEME}, {"useGtkTheme", IDS_SETTINGS_USE_GTK_THEME}, {"qtTheme", IDS_SETTINGS_QT_THEME}, -@@ -559,11 +559,11 @@ void AddAppearanceStrings(content::WebUIDataSource* ht +@@ -600,11 +600,11 @@ void AddAppearanceStrings(content::WebUIDataSource* ht {"classicTheme", IDS_SETTINGS_CLASSIC_THEME}, {"useClassicTheme", IDS_SETTINGS_USE_CLASSIC_THEME}, #endif -#if !BUILDFLAG(IS_LINUX) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME}, #endif {"resetToolbarToDefault", IDS_SETTINGS_RESET_TOOLBAR_TO_DEFAULT}, -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS}, #endif #if BUILDFLAG(IS_MAC) -@@ -594,7 +594,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht - "showEverythingMenuEnabled", - tab_groups::SavedTabGroupUtils::IsEnabledForProfile(profile)); +@@ -649,7 +649,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht + html_source->AddString("configurableSidePanelAlignments", + configurable_alignments_json); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool show_custom_chrome_frame = ui::OzonePlatform::GetInstance() ->GetPlatformRuntimeProperties() .supports_server_side_window_decorations; -@@ -1862,7 +1862,7 @@ void AddSignOutDialogStrings(content::WebUIDataSource* +@@ -1965,7 +1965,7 @@ void AddSignOutDialogStrings(content::WebUIDataSource* g_browser_process->GetApplicationLocale()) .spec(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) html_source->AddString( "syncDisconnectManagedProfileExplanation", l10n_util::GetStringFUTF8( diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc index 028c3d3d8a90..618a5281b20b 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc @@ -1,11 +1,11 @@ ---- chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2026-04-09 06:05:42 UTC +--- chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/signin/profile_picker_handler.cc -@@ -178,7 +178,7 @@ base::DictValue CreateProfileState(const ProfileAttrib +@@ -177,7 +177,7 @@ base::DictValue CreateProfileState(const ProfileAttrib IDS_PROFILE_PICKER_PROFILE_CARD_LABEL, local_profile_name); if (entry->GetIsManaged() == signin::Tribool::kTrue) { profile_entry.Set("avatarBadge", "cr:domain"); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) } else if (entry->IsSupervised()) { profileCardButtonLabel = l10n_util::GetStringFUTF16( IDS_PROFILE_PICKER_PROFILE_CARD_LABEL_SUPERVISED, local_profile_name); diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc b/www/chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc index 7346208be70e..e3eff8a56c7a 100644 --- a/www/chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc +++ b/www/chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc @@ -1,29 +1,29 @@ ---- chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc @@ -49,7 +49,7 @@ #include "ui/base/l10n/l10n_util.h" #include "ui/base/webui/resource_path.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/ui/navigator/browser_navigator.h" #include "chrome/browser/ui/navigator/browser_navigator_params.h" #include "net/base/url_util.h" @@ -89,7 +89,7 @@ user_education::NewBadgeRegistry* GetNewBadgeRegistry( } whats_new::WhatsNewRegistry* GetWhatsNewRegistry() { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return g_browser_process->GetFeatures()->whats_new_registry(); #else return nullptr; -@@ -920,7 +920,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats +@@ -863,7 +863,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats } void UserEducationInternalsPageHandlerImpl::LaunchWhatsNewStaging() { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) GURL url = net::AppendQueryParameter(GURL(chrome::kChromeUIWhatsNewURL), "staging", "true"); NavigateParams params(profile_, url, ui::PAGE_TRANSITION_TYPED); diff --git a/www/chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc b/www/chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc index f8ad16694bc2..bf5b7fc572c1 100644 --- a/www/chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc +++ b/www/chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc @@ -1,11 +1,11 @@ ---- chrome/browser/web_applications/os_integration/os_integration_manager.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/web_applications/os_integration/os_integration_manager.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/web_applications/os_integration/os_integration_manager.cc -@@ -674,7 +674,7 @@ std::unique_ptr OsIntegrationManager::Bu +@@ -673,7 +673,7 @@ std::unique_ptr OsIntegrationManager::Bu } } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const std::vector& shortcuts_menu_item_infos = app->shortcuts_menu_item_infos(); DCHECK_LE(shortcuts_menu_item_infos.size(), kMaxApplicationDockMenuItems); diff --git a/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.cc b/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.cc index 412a41ce40f2..601d1d589df2 100644 --- a/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.cc +++ b/www/chromium/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.cc @@ -1,20 +1,20 @@ ---- chrome/browser/web_applications/os_integration/web_app_shortcut.cc.orig 2026-01-14 08:33:23 UTC +--- chrome/browser/web_applications/os_integration/web_app_shortcut.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/web_applications/os_integration/web_app_shortcut.cc @@ -66,7 +66,7 @@ namespace { #if BUILDFLAG(IS_MAC) const int kDesiredIconSizesForShortcut[] = {16, 32, 128, 256, 512}; -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Linux supports icons of any size. FreeDesktop Icon Theme Specification states // that "Minimally you should install a 48x48 icon in the hicolor theme." const int kDesiredIconSizesForShortcut[] = {16, 32, 48, 128, 256, 512}; -@@ -248,7 +248,7 @@ std::unique_ptr BuildShortcutInfoWithout +@@ -247,7 +247,7 @@ std::unique_ptr BuildShortcutInfoWithout // TODO(crbug.com/40257107): Implement tests on Linux for using shortcuts_menu // actions. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const std::vector& shortcuts_menu_item_infos = CreateShortcutsMenuItemInfos(state.shortcut_menus()); DCHECK_LE(shortcuts_menu_item_infos.size(), kMaxApplicationDockMenuItems); diff --git a/www/chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc b/www/chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc index c0ec75ba79f7..fe09c524305e 100644 --- a/www/chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc +++ b/www/chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc @@ -1,11 +1,11 @@ ---- chrome/browser/web_applications/policy/web_app_policy_manager.cc.orig 2026-04-09 06:05:42 UTC +--- chrome/browser/web_applications/policy/web_app_policy_manager.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/web_applications/policy/web_app_policy_manager.cc -@@ -124,7 +124,7 @@ GetPreinstalledWebAppsMappingForTesting() { +@@ -125,7 +125,7 @@ GetPreinstalledWebAppsMappingForTesting() { namespace web_app { BASE_FEATURE(kDesktopPWAsForceUnregisterOSIntegration, -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/chromium/files/patch-chrome_browser_web__applications_test_os__integration__test__override__impl.cc b/www/chromium/files/patch-chrome_browser_web__applications_test_os__integration__test__override__impl.cc index 7cc2c7fd5eab..bc971a28ee36 100644 --- a/www/chromium/files/patch-chrome_browser_web__applications_test_os__integration__test__override__impl.cc +++ b/www/chromium/files/patch-chrome_browser_web__applications_test_os__integration__test__override__impl.cc @@ -1,119 +1,119 @@ ---- chrome/browser/web_applications/test/os_integration_test_override_impl.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/web_applications/test/os_integration_test_override_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/web_applications/test/os_integration_test_override_impl.cc -@@ -50,7 +50,7 @@ +@@ -49,7 +49,7 @@ #include "testing/gtest/include/gtest/gtest.h" #include "third_party/skia/include/core/SkBitmap.h" #include "third_party/skia/include/core/SkColor.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/nix/xdg_util.h" #endif -@@ -125,7 +125,7 @@ std::vector GetFileExtensionsForProgId( +@@ -123,7 +123,7 @@ std::vector GetFileExtensionsForProgId( } #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Performs a blocking read of app icons from the disk. std::optional IconManagerReadIconForSize( WebAppIconManager& icon_manager, -@@ -310,7 +310,7 @@ bool OsIntegrationTestOverrideImpl::SimulateDeleteShor +@@ -308,7 +308,7 @@ bool OsIntegrationTestOverrideImpl::SimulateDeleteShor GetShortcutPath(profile, chrome_apps_folder(), app_id, app_name); CHECK(base::PathExists(app_folder_shortcut_path)); return base::DeletePathRecursively(app_folder_shortcut_path); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FilePath desktop_shortcut_path = GetShortcutPath(profile, desktop(), app_id, app_name); LOG(INFO) << desktop_shortcut_path; -@@ -357,7 +357,7 @@ bool OsIntegrationTestOverrideImpl::DeleteApplicationM +@@ -355,7 +355,7 @@ bool OsIntegrationTestOverrideImpl::DeleteApplicationM } #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool OsIntegrationTestOverrideImpl::DeleteDesktopDirOnLinux() { if (desktop_.IsValid()) { return desktop_.Delete(); -@@ -371,7 +371,7 @@ bool OsIntegrationTestOverrideImpl::IsRunOnOsLoginEnab +@@ -369,7 +369,7 @@ bool OsIntegrationTestOverrideImpl::IsRunOnOsLoginEnab Profile* profile, const webapps::AppId& app_id, const std::string& app_name) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::string shortcut_filename = "chrome-" + app_id + "-" + profile->GetBaseName().value() + ".desktop"; base::i18n::ReplaceIllegalCharactersInPath(&shortcut_filename, '_'); -@@ -428,7 +428,7 @@ bool OsIntegrationTestOverrideImpl::IsFileExtensionHan +@@ -426,7 +426,7 @@ bool OsIntegrationTestOverrideImpl::IsFileExtensionHan is_file_handled = shell_integration::CanApplicationHandleURL(app_path, test_file_url); base::DeleteFile(test_file_path); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FilePath user_applications_dir = applications(); bool database_update_called = false; for (const LinuxFileRegistration& command : linux_file_registration_) { -@@ -477,7 +477,7 @@ std::optional OsIntegrationTestOverrideImpl: +@@ -475,7 +475,7 @@ std::optional OsIntegrationTestOverrideImpl: return std::nullopt; } return GetIconFromShortcutFile(shortcut_path); -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) WebAppProvider* provider = WebAppProvider::GetForLocalAppsUnchecked(profile); if (!provider) { return std::nullopt; -@@ -545,7 +545,7 @@ base::FilePath OsIntegrationTestOverrideImpl::GetShort +@@ -543,7 +543,7 @@ base::FilePath OsIntegrationTestOverrideImpl::GetShort return bundle.bundle_path(); } } -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::string shortcut_filename = "chrome-" + app_id + "-" + profile->GetBaseName().value() + ".desktop"; base::i18n::ReplaceIllegalCharactersInPath(&shortcut_filename, '_'); -@@ -572,7 +572,7 @@ bool OsIntegrationTestOverrideImpl::IsShortcutCreated( +@@ -570,7 +570,7 @@ bool OsIntegrationTestOverrideImpl::IsShortcutCreated( base::FilePath app_shortcut_path = GetShortcutPath(profile, chrome_apps_folder(), app_id, app_name); return base::PathExists(app_shortcut_path); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FilePath desktop_shortcut_path = GetShortcutPath(profile, desktop(), app_id, app_name); return base::PathExists(desktop_shortcut_path); -@@ -786,7 +786,7 @@ void OsIntegrationTestOverrideImpl::EnableOrDisablePat +@@ -784,7 +784,7 @@ void OsIntegrationTestOverrideImpl::EnableOrDisablePat } #endif // BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FilePath OsIntegrationTestOverrideImpl::desktop() { return desktop_.GetPath(); } -@@ -837,7 +837,7 @@ OsIntegrationTestOverrideImpl::OsIntegrationTestOverri +@@ -835,7 +835,7 @@ OsIntegrationTestOverrideImpl::OsIntegrationTestOverri success = chrome_apps_folder_.CreateUniqueTempDirUnderPath( outer_temp_dir_.GetPath()); CHECK(success); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) success = desktop_.CreateUniqueTempDirUnderPath(outer_temp_dir_.GetPath()); CHECK(success); success = startup_.CreateUniqueTempDirUnderPath(outer_temp_dir_.GetPath()); -@@ -850,7 +850,7 @@ OsIntegrationTestOverrideImpl::OsIntegrationTestOverri +@@ -848,7 +848,7 @@ OsIntegrationTestOverrideImpl::OsIntegrationTestOverri CHECK(success); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto callback = base::BindRepeating([](base::FilePath filename_in, std::string xdg_command, std::string file_contents) { -@@ -922,7 +922,7 @@ OsIntegrationTestOverrideImpl::~OsIntegrationTestOverr +@@ -920,7 +920,7 @@ OsIntegrationTestOverrideImpl::~OsIntegrationTestOverr EXPECT_TRUE(!startup_.IsValid() || startup_.Delete()); #elif BUILDFLAG(IS_MAC) EXPECT_TRUE(!chrome_apps_folder_.IsValid() || DeleteChromeAppsDir()); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) EXPECT_TRUE(!desktop_.IsValid() || desktop_.Delete()); EXPECT_TRUE(!startup_.IsValid() || startup_.Delete()); EXPECT_TRUE(!xdg_data_home_dir_.IsValid() || xdg_data_home_dir_.Delete()); diff --git a/www/chromium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc b/www/chromium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc deleted file mode 100644 index b179e70dfa91..000000000000 --- a/www/chromium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- chrome/browser/webauthn/chrome_authenticator_request_delegate.cc.orig 2026-06-04 10:12:25 UTC -+++ chrome/browser/webauthn/chrome_authenticator_request_delegate.cc -@@ -540,7 +540,7 @@ void ChromeAuthenticatorRequestDelegate::ConfigureDisc - g_observer->ConfiguringCable(request_type); - } - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // No caBLEv1 on Linux. It tends to crash bluez. - if (std::ranges::contains(pairings_from_extension, - device::CableDiscoveryData::Version::V1, diff --git a/www/chromium/files/patch-chrome_browser_webauthn_chrome__web__authentication__delegate.cc b/www/chromium/files/patch-chrome_browser_webauthn_chrome__web__authentication__delegate.cc index 659f2900b2ca..918d9ca05e29 100644 --- a/www/chromium/files/patch-chrome_browser_webauthn_chrome__web__authentication__delegate.cc +++ b/www/chromium/files/patch-chrome_browser_webauthn_chrome__web__authentication__delegate.cc @@ -1,20 +1,20 @@ ---- chrome/browser/webauthn/chrome_web_authentication_delegate.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/webauthn/chrome_web_authentication_delegate.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/webauthn/chrome_web_authentication_delegate.cc @@ -69,7 +69,7 @@ #include "url/url_constants.h" #include "url/url_util.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/extensions/api/web_authentication_proxy/web_authentication_proxy_service.h" #endif -@@ -416,7 +416,7 @@ content::WebAuthenticationRequestProxy* +@@ -379,7 +379,7 @@ content::WebAuthenticationRequestProxy* ChromeWebAuthenticationDelegate::MaybeGetRequestProxy( content::BrowserContext* browser_context, const url::Origin& caller_origin) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // The webAuthenticationProxy extension API is supported on Win/Mac/Linux. auto* service = extensions::WebAuthenticationProxyService::GetIfProxyAttached( Profile::FromBrowserContext(browser_context)); diff --git a/www/chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc b/www/chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc index 491091d42962..292276fe869a 100644 --- a/www/chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc +++ b/www/chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc @@ -1,20 +1,20 @@ ---- chrome/browser/webauthn/enclave_manager.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/browser/webauthn/enclave_manager.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/browser/webauthn/enclave_manager.cc -@@ -750,7 +750,7 @@ base::flat_set GetGaiaIDs( +@@ -748,7 +748,7 @@ base::flat_set GetGaiaIDs( std::string UserVerifyingLabelToString(crypto::UserVerifyingKeyLabel label) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return label; #else return std::string("placeholder"); -@@ -760,7 +760,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer +@@ -758,7 +758,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer std::optional UserVerifyingKeyLabelFromString( std::string saved_label) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return saved_label; #else return std::nullopt; diff --git a/www/chromium/files/patch-chrome_common_chrome__content__client.cc b/www/chromium/files/patch-chrome_common_chrome__content__client.cc index 5df21e691e84..345c731d7f0d 100644 --- a/www/chromium/files/patch-chrome_common_chrome__content__client.cc +++ b/www/chromium/files/patch-chrome_common_chrome__content__client.cc @@ -1,44 +1,44 @@ ---- chrome/common/chrome_content_client.cc.orig 2026-03-13 06:02:14 UTC +--- chrome/common/chrome_content_client.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/common/chrome_content_client.cc @@ -61,12 +61,12 @@ #include "url/url_constants.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/webapps/isolated_web_apps/scheme.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include #include "sandbox/linux/services/credentials.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -189,7 +189,7 @@ static const char* const kChromeStandardURLSchemes[] = +@@ -188,7 +188,7 @@ static const char* const kChromeStandardURLSchemes[] = extensions::kExtensionScheme, #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) webapps::kIsolatedAppScheme, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -214,7 +214,7 @@ void ChromeContentClient::AddAdditionalSchemes(Schemes +@@ -213,7 +213,7 @@ void ChromeContentClient::AddAdditionalSchemes(Schemes #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) schemes->isolated_app_schemes.push_back(webapps::kIsolatedAppScheme); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -263,7 +263,7 @@ void ChromeContentClient::AddAdditionalSchemes(Schemes +@@ -262,7 +262,7 @@ void ChromeContentClient::AddAdditionalSchemes(Schemes #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) schemes->secure_schemes.push_back(webapps::kIsolatedAppScheme); schemes->cors_enabled_schemes.push_back(webapps::kIsolatedAppScheme); schemes->service_worker_schemes.push_back(webapps::kIsolatedAppScheme); diff --git a/www/chromium/files/patch-chrome_common_chrome__features.cc b/www/chromium/files/patch-chrome_common_chrome__features.cc index 6e80a80d2934..8025e651e426 100644 --- a/www/chromium/files/patch-chrome_common_chrome__features.cc +++ b/www/chromium/files/patch-chrome_common_chrome__features.cc @@ -1,47 +1,38 @@ ---- chrome/common/chrome_features.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/common/chrome_features.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/common/chrome_features.cc -@@ -85,7 +85,7 @@ BASE_FEATURE(kUseKeychainKeyProvider, base::FEATURE_EN +@@ -72,7 +72,7 @@ BASE_FEATURE(kUseKeychainKeyProvider, base::FEATURE_EN #endif // BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Enables or disables the Autofill survey triggered by opening a prompt to // save address info. BASE_FEATURE(kAutofillAddressSurvey, base::FEATURE_DISABLED_BY_DEFAULT); -@@ -178,7 +178,7 @@ BASE_FEATURE(kEnableFullscreenToAnyScreenAndroid, +@@ -174,7 +174,7 @@ BASE_FEATURE(kEnableFullscreenToAnyScreenAndroid, // Enables the new reset banner on the settings page. BASE_FEATURE(kShowResetProfileBannerV2, 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) // Controls whether Chrome Apps are supported. See https://crbug.com/40186761. // 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. -@@ -724,7 +724,7 @@ BASE_FEATURE(kGlicWarming, base::FEATURE_DISABLED_BY_D - // Killswitch that controls whether the guest WebContents visibility state is - // set to hidden when the Glic panel is warming. - BASE_FEATURE(kGlicGuestContentsVisibilityState, --#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - base::FEATURE_ENABLED_BY_DEFAULT); - #else - base::FEATURE_DISABLED_BY_DEFAULT); -@@ -1196,7 +1196,7 @@ BASE_FEATURE(kIsolatedWebAppManagedGuestSessionInstall +@@ -1279,7 +1279,7 @@ BASE_FEATURE(kIsolatedWebAppManagedGuestSessionInstall BASE_FEATURE(kIsolatedWebAppBundleCache, base::FEATURE_ENABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS) BASE_FEATURE(kLinuxLowMemoryMonitor, base::FEATURE_DISABLED_BY_DEFAULT); // Values taken from the low-memory-monitor documentation and also apply to the // portal API: -@@ -1207,7 +1207,7 @@ constexpr base::FeatureParam kLinuxLowMemoryMonit +@@ -1290,7 +1290,7 @@ constexpr base::FeatureParam kLinuxLowMemoryMonit &kLinuxLowMemoryMonitor, "critical_level", 255}; #endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) -#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(kListWebAppsSwitch, base::FEATURE_DISABLED_BY_DEFAULT); #endif diff --git a/www/chromium/files/patch-chrome_common_chrome__features.h b/www/chromium/files/patch-chrome_common_chrome__features.h index 838a9f894901..f8de03a07ffd 100644 --- a/www/chromium/files/patch-chrome_common_chrome__features.h +++ b/www/chromium/files/patch-chrome_common_chrome__features.h @@ -1,38 +1,38 @@ ---- chrome/common/chrome_features.h.orig 2026-06-04 10:12:25 UTC +--- chrome/common/chrome_features.h.orig 2026-07-01 06:24:19 UTC +++ chrome/common/chrome_features.h -@@ -81,7 +81,7 @@ BASE_DECLARE_FEATURE(kUseKeychainKeyProvider); +@@ -64,7 +64,7 @@ BASE_DECLARE_FEATURE(kUseKeychainKeyProvider); #endif // BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kAutofillAddressSurvey); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kAutofillCardSurvey); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kAutofillPasswordSurvey); -@@ -133,7 +133,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsTabStripSettings); +@@ -124,7 +124,7 @@ BASE_DECLARE_FEATURE(kDocumentPipStandaloneWindow); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kShowResetProfileBannerV2); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kChromeAppsDeprecation); #endif -@@ -861,7 +861,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) +@@ -913,7 +913,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kIsolatedWebAppBundleCache); #endif -#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) +#if (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)) || BUILDFLAG(IS_BSD) COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kLinuxLowMemoryMonitor); COMPONENT_EXPORT(CHROME_FEATURES) extern const base::FeatureParam kLinuxLowMemoryMonitorModerateLevel; -@@ -869,7 +869,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) +@@ -921,7 +921,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) extern const base::FeatureParam kLinuxLowMemoryMonitorCriticalLevel; #endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kListWebAppsSwitch); #endif diff --git a/www/chromium/files/patch-chrome_common_chrome__switches.cc b/www/chromium/files/patch-chrome_common_chrome__switches.cc index 56e6f0025c34..c45dca42c090 100644 --- a/www/chromium/files/patch-chrome_common_chrome__switches.cc +++ b/www/chromium/files/patch-chrome_common_chrome__switches.cc @@ -1,20 +1,20 @@ ---- chrome/common/chrome_switches.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/common/chrome_switches.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/common/chrome_switches.cc -@@ -923,7 +923,7 @@ const char kDebugPrint[] = "debug-print"; +@@ -932,7 +932,7 @@ const char kDebugPrint[] = "debug-print"; #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Causes the browser to launch directly in guest mode. const char kGuest[] = "guest"; -@@ -967,7 +967,7 @@ const char kGlicGuestUrlPresetStaging[] = "glic-guest- +@@ -980,7 +980,7 @@ const char kGlicGuestUrlPresetStaging[] = "glic-guest- const char kGlicGuestUrlPresetPreprod[] = "glic-guest-url-preset-preprod"; const char kGlicGuestUrlPresetProd[] = "glic-guest-url-preset-prod"; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Writes open and installed web apps for each profile to the specified file // without launching a new browser window or tab. Pass a absolute file path // to specify where to output the information. Can be used together with diff --git a/www/chromium/files/patch-chrome_common_chrome__switches.h b/www/chromium/files/patch-chrome_common_chrome__switches.h index 2ffea2aad3e9..9e611c9eb422 100644 --- a/www/chromium/files/patch-chrome_common_chrome__switches.h +++ b/www/chromium/files/patch-chrome_common_chrome__switches.h @@ -1,20 +1,20 @@ ---- chrome/common/chrome_switches.h.orig 2026-06-04 10:12:25 UTC +--- chrome/common/chrome_switches.h.orig 2026-07-01 06:24:19 UTC +++ chrome/common/chrome_switches.h -@@ -286,7 +286,7 @@ extern const char kDebugPrint[]; +@@ -288,7 +288,7 @@ extern const char kDebugPrint[]; #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) extern const char kGuest[]; #endif -@@ -308,7 +308,7 @@ extern const char kGlicGuestUrlPresetStaging[]; +@@ -312,7 +312,7 @@ extern const char kGlicGuestUrlPresetStaging[]; extern const char kGlicGuestUrlPresetPreprod[]; extern const char kGlicGuestUrlPresetProd[]; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) extern const char kListApps[]; extern const char kProfileBaseName[]; extern const char kProfileManagementAttributes[]; diff --git a/www/chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc b/www/chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc index 1e0050fc7c2f..5adb1e1962df 100644 --- a/www/chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc +++ b/www/chromium/files/patch-chrome_common_controlled__frame_controlled__frame.cc @@ -1,20 +1,20 @@ ---- chrome/common/controlled_frame/controlled_frame.cc.orig 2026-02-11 09:05:39 UTC +--- chrome/common/controlled_frame/controlled_frame.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/common/controlled_frame/controlled_frame.cc -@@ -20,7 +20,7 @@ +@@ -21,7 +21,7 @@ #include "third_party/blink/public/common/features.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/webapps/isolated_web_apps/scheme.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) -@@ -91,7 +91,7 @@ bool AvailabilityCheck(const std::string& api_full_nam +@@ -97,7 +97,7 @@ bool AvailabilityCheck(const std::string& api_full_nam } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Verify that the current context is an Isolated Web App and the API name is // in our expected list. return (extension == nullptr) && url.SchemeIs(webapps::kIsolatedAppScheme) && diff --git a/www/chromium/files/patch-chrome_common_extensions_extension__constants.h b/www/chromium/files/patch-chrome_common_extensions_extension__constants.h index 25899c03c7c0..d6c2517984e4 100644 --- a/www/chromium/files/patch-chrome_common_extensions_extension__constants.h +++ b/www/chromium/files/patch-chrome_common_extensions_extension__constants.h @@ -1,20 +1,20 @@ ---- chrome/common/extensions/extension_constants.h.orig 2026-06-04 10:12:25 UTC +--- chrome/common/extensions/extension_constants.h.orig 2026-07-01 06:24:19 UTC +++ chrome/common/extensions/extension_constants.h -@@ -319,7 +319,7 @@ inline constexpr char kReadingModeGDocsHelperExtension +@@ -329,7 +329,7 @@ inline constexpr char kReadingModeGDocsHelperExtension inline constexpr base::FilePath::CharType kReadingModeGDocsHelperManifestFilename[] = FILE_PATH_LITERAL("reading_mode_gdocs_helper_manifest.json"); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) // The extension id of the google tts engine extension to use on-device natural // Google voices. inline constexpr char kTTSEngineExtensionId[] = -@@ -370,7 +370,7 @@ inline constexpr auto kBuiltInFirstPartyExtensionIds = +@@ -380,7 +380,7 @@ inline constexpr auto kBuiltInFirstPartyExtensionIds = kGoogleSpeechSynthesisExtensionId, #endif // BUILDFLAG(IS_CHROMEOS) kReadingModeGDocsHelperExtensionId, -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) kTTSEngineExtensionId, kComponentUpdaterTTSEngineExtensionId, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) diff --git a/www/chromium/files/patch-chrome_common_pref__names.h b/www/chromium/files/patch-chrome_common_pref__names.h index 989ef6406976..4e85986ab1a6 100644 --- a/www/chromium/files/patch-chrome_common_pref__names.h +++ b/www/chromium/files/patch-chrome_common_pref__names.h @@ -1,101 +1,101 @@ ---- chrome/common/pref_names.h.orig 2026-06-04 10:12:25 UTC +--- chrome/common/pref_names.h.orig 2026-07-01 06:24:19 UTC +++ chrome/common/pref_names.h -@@ -792,7 +792,7 @@ inline constexpr char kGeminiSettings[] = "browser.gem +@@ -723,7 +723,7 @@ inline constexpr char kGeminiSettings[] = "browser.gem inline constexpr char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps"; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Linux specific preference on whether we should match the system theme. inline constexpr char kSystemTheme[] = "extensions.theme.system_theme"; #endif -@@ -968,7 +968,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] = +@@ -899,7 +899,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] = "browser.show_update_promotion_info_bar"; #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // 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"; -@@ -1546,7 +1546,7 @@ inline constexpr char kPinInfoBarTimesShown[] = +@@ -1477,7 +1477,7 @@ inline constexpr char kPinInfoBarTimesShown[] = "browser.pin_infobar_times_shown"; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // How many times the session restore infobar has been shown. inline constexpr char kSessionRestoreInfoBarTimesShown[] = -@@ -1593,7 +1593,7 @@ inline constexpr char kDownloadDefaultDirectory[] = +@@ -1528,7 +1528,7 @@ static_assert(std::string_view(kDownloadDefaultDirecto inline constexpr char kDownloadDirUpgraded[] = "download.directory_upgrade"; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_MAC) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) inline constexpr char kOpenPdfDownloadInSystemReader[] = "download.open_pdf_in_system_reader"; #endif -@@ -2033,7 +2033,7 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s +@@ -1994,7 +1994,7 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s inline constexpr char kMediaCdmOriginData[] = "media.cdm.origin_data"; #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // A boolean pref to determine whether or not the network service is running // sandboxed. inline constexpr char kNetworkServiceSandboxEnabled[] = -@@ -2047,7 +2047,7 @@ inline constexpr char kNetworkServiceSandboxEnabled[] +@@ -2008,7 +2008,7 @@ inline constexpr char kNetworkServiceSandboxEnabled[] inline constexpr char kNetworkServiceFailedLaunchMajorVersion[] = "net.network_service_failed_launch_major_version"; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Records whether the user has seen an HTTP auth "negotiate" header. inline constexpr char kReceivedHttpAuthNegotiateHeader[] = "net.received_http_auth_negotiate_headers"; -@@ -2144,7 +2144,7 @@ inline constexpr char kIsolatedWebAppUserInstallationE +@@ -2105,7 +2105,7 @@ inline constexpr char kIsolatedWebAppUserInstallationE inline constexpr char kIsolatedWebAppPendingInitializationCount[] = "profile.isolated_web_app.install.pending_initialization_count"; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected // along with kAuthNegotiateDelegateAllowlist. inline constexpr char kAuthNegotiateDelegateByKdcPolicy[] = -@@ -2444,7 +2444,7 @@ inline constexpr char kDeviceAllowEnterpriseRemoteAcce - #endif // BUILDFLAG(IS_CHROMEOS) +@@ -2398,7 +2398,7 @@ inline constexpr char kHardwareSecureDecryptionDisable + #endif // BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) // Defines administrator-set availability of Chrome for Testing. inline constexpr char kChromeForTestingAllowed[] = "chrome_for_testing.allowed"; #endif -@@ -2885,7 +2885,7 @@ inline constexpr char kScreenCaptureWithoutGestureAllo +@@ -2819,7 +2819,7 @@ inline constexpr char kScreenCaptureWithoutGestureAllo inline constexpr char kSandboxExternalProtocolBlocked[] = "profile.sandbox_external_protocol_blocked"; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Boolean that indicates if system notifications are allowed to be used in // place of Chrome notifications. inline constexpr char kAllowSystemNotifications[] = -@@ -3068,7 +3068,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] = +@@ -2968,7 +2968,7 @@ inline constexpr char kLensRegionSearchEnabled[] = + inline constexpr char kLensDesktopNTPSearchEnabled[] = "policy.lens_desktop_ntp_search_enabled"; - #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // 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 -@@ -3165,7 +3165,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ - "printing.oauth2_authorization_servers"; - #endif +@@ -3058,7 +3058,7 @@ inline constexpr char + kAccessControlAllowMethodsInCORSPreflightSpecConformant[] = + "access_control_allow_methods_in_cors_preflight_spec_conformant"; -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // If this exists and is true, Chrome may run system DNS resolution out of the // network process. If false, Chrome will run system DNS resolution in the // network process. If non-existent, Chrome will decide where to run system DNS diff --git a/www/chromium/files/patch-chrome_common_url__constants.h b/www/chromium/files/patch-chrome_common_url__constants.h index f1b7d6547aff..aa1f06c19659 100644 --- a/www/chromium/files/patch-chrome_common_url__constants.h +++ b/www/chromium/files/patch-chrome_common_url__constants.h @@ -1,11 +1,11 @@ ---- chrome/common/url_constants.h.orig 2026-06-04 10:12:25 UTC +--- chrome/common/url_constants.h.orig 2026-07-01 06:24:19 UTC +++ chrome/common/url_constants.h -@@ -728,7 +728,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] = +@@ -732,7 +732,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] = "https://support.google.com/chrome?p=ib_outdated_plugin"; #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // "Learn more" URL for the chrome apps deprecation dialog. inline constexpr char kChromeAppsDeprecationLearnMoreURL[] = "https://support.google.com/chrome?p=chrome_app_deprecation"; diff --git a/www/chromium/files/patch-chrome_common_webui__url__constants.cc b/www/chromium/files/patch-chrome_common_webui__url__constants.cc index 117092bdedc4..7afb89b4d797 100644 --- a/www/chromium/files/patch-chrome_common_webui__url__constants.cc +++ b/www/chromium/files/patch-chrome_common_webui__url__constants.cc @@ -1,32 +1,32 @@ ---- chrome/common/webui_url_constants.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/common/webui_url_constants.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/common/webui_url_constants.cc -@@ -188,7 +188,7 @@ base::span ChromeURLHosts() +@@ -189,7 +189,7 @@ base::span ChromeURLHosts() kChromeUITermsHost, #endif kChromeUITranslateInternalsHost, -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) kChromeUIUpdaterHost, #endif kChromeUIUsbInternalsHost, -@@ -256,17 +256,17 @@ base::span ChromeURLHosts() +@@ -257,17 +257,17 @@ base::span ChromeURLHosts() ash::kChromeUIInternetDetailDialogHost, #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) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) kChromeUIWebAppSettingsHost, #endif #if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_ANDROID) kChromeUILinuxProxyConfigHost, #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) kChromeUISandboxHost, #endif #if BUILDFLAG(IS_WIN) diff --git a/www/chromium/files/patch-chrome_common_webui__url__constants.h b/www/chromium/files/patch-chrome_common_webui__url__constants.h index 56bc0892132b..9eda72ad1585 100644 --- a/www/chromium/files/patch-chrome_common_webui__url__constants.h +++ b/www/chromium/files/patch-chrome_common_webui__url__constants.h @@ -1,40 +1,40 @@ ---- chrome/common/webui_url_constants.h.orig 2026-06-04 10:12:25 UTC +--- chrome/common/webui_url_constants.h.orig 2026-07-01 06:24:19 UTC +++ chrome/common/webui_url_constants.h -@@ -457,12 +457,12 @@ bool IsSystemWebUIHost(std::string_view host); +@@ -467,12 +467,12 @@ bool IsSystemWebUIHost(std::string_view host); #endif // 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) inline constexpr char kChromeUIDiscardsHost[] = "discards"; inline constexpr char kChromeUIDiscardsURL[] = "chrome://discards/"; #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) inline constexpr char kChromeUIDefaultBrowserModalURL[] = "chrome://default-browser-modal/"; inline constexpr char kChromeUIDefaultBrowserModalHost[] = -@@ -478,11 +478,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[] +@@ -495,11 +495,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[] #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) inline constexpr char kChromeUISandboxHost[] = "sandbox"; #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) inline constexpr char kChromeUIBrowserSwitchHost[] = "browser-switch"; inline constexpr char kChromeUIBrowserSwitchURL[] = "chrome://browser-switch/"; inline constexpr char kChromeUIIntroDefaultBrowserSubPage[] = "default-browser"; -@@ -514,7 +514,7 @@ inline constexpr char kChromeUIUpdaterHost[] = "update +@@ -535,7 +535,7 @@ inline constexpr char kChromeUIUpdaterHost[] = "update inline constexpr char kChromeUIUpdaterURL[] = "chrome://updater/"; #endif -#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ +#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \ defined(TOOLKIT_VIEWS)) || \ defined(USE_AURA) inline constexpr char kChromeUITabModalConfirmDialogHost[] = diff --git a/www/chromium/files/patch-chrome_renderer_chrome__content__renderer__client.cc b/www/chromium/files/patch-chrome_renderer_chrome__content__renderer__client.cc index 7ceadc5008b0..6bce00fe794f 100644 --- a/www/chromium/files/patch-chrome_renderer_chrome__content__renderer__client.cc +++ b/www/chromium/files/patch-chrome_renderer_chrome__content__renderer__client.cc @@ -1,29 +1,29 @@ ---- chrome/renderer/chrome_content_renderer_client.cc.orig 2026-06-04 10:12:25 UTC +--- chrome/renderer/chrome_content_renderer_client.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/renderer/chrome_content_renderer_client.cc -@@ -186,7 +186,7 @@ +@@ -187,7 +187,7 @@ #include "v8/include/v8-isolate.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/webapps/isolated_web_apps/scheme.h" #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) @@ -426,7 +426,7 @@ void ChromeContentRendererClient::RenderThreadStarted( WebSecurityPolicy::RegisterURLSchemeAsExtension( WebString::FromAscii(extensions::kExtensionScheme)); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) WebSecurityPolicy::RegisterURLSchemeAsIsolatedApp( WebString::FromAscii(webapps::kIsolatedAppScheme)); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || @@ -505,7 +505,7 @@ void ChromeContentRendererClient::RenderThreadStarted( WebString::FromAscii(chrome::kChromeSearchScheme)); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // IWAs can be enabled by either the feature flag or by enterprise // policy. In either case the kEnableIsolatedWebAppsInRenderer flag is passed // to the renderer process. diff --git a/www/chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc b/www/chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc index b49d77a97ce7..ee8fd913dda7 100644 --- a/www/chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc +++ b/www/chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc @@ -1,47 +1,47 @@ ---- chrome/services/printing/print_backend_service_impl.cc.orig 2026-02-11 09:05:39 UTC +--- chrome/services/printing/print_backend_service_impl.cc.orig 2026-07-01 06:24:19 UTC +++ chrome/services/printing/print_backend_service_impl.cc @@ -49,7 +49,7 @@ #include "printing/backend/cups_connection_pool.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/command_line.h" #include "base/no_destructor.h" #include "components/printing/common/print_dialog_linux_factory.h" -@@ -79,7 +79,7 @@ namespace printing { +@@ -72,7 +72,7 @@ namespace printing { namespace { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void InstantiateLinuxUiDelegate() { // TODO(crbug.com/40561724) Until a real UI can be used in a utility process, // need to use the stub version. -@@ -88,7 +88,7 @@ void InstantiateLinuxUiDelegate() { +@@ -81,7 +81,7 @@ void InstantiateLinuxUiDelegate() { #endif scoped_refptr GetPrintingTaskRunner() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Use task runner associated with equivalent of UI thread. Needed for calls // made through `PrintDialogLinuxInterface` to properly execute. CHECK(base::SequencedTaskRunner::HasCurrentDefault()); -@@ -471,7 +471,7 @@ void PrintBackendServiceImpl::Init( +@@ -446,7 +446,7 @@ void PrintBackendServiceImpl::Init(const std::string& // `InitCommon()`. InitializeProcessForPrinting(); print_backend_ = PrintBackend::CreateInstance(locale); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Test framework already initializes the UI, so this should not go in // `InitCommon()`. Additionally, low-level Linux UI is not needed when tests // are using `TestPrintingContext`. -@@ -684,7 +684,7 @@ void PrintBackendServiceImpl::UpdatePrintSettings( +@@ -642,7 +642,7 @@ void PrintBackendServiceImpl::UpdatePrintSettings( crash_keys_ = std::make_unique( *printer_name, print_backend_->GetPrinterDriverInfo(*printer_name)); -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_CUPS) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_CUPS) // Try to fill in advanced settings based upon basic info options. PrinterBasicInfo basic_info; if (print_backend_->GetPrinterBasicInfo(*printer_name, &basic_info) == diff --git a/www/chromium/files/patch-chrome_services_printing_print__backend__service__impl.h b/www/chromium/files/patch-chrome_services_printing_print__backend__service__impl.h index d49a8de575de..913793a60cb0 100644 --- a/www/chromium/files/patch-chrome_services_printing_print__backend__service__impl.h +++ b/www/chromium/files/patch-chrome_services_printing_print__backend__service__impl.h @@ -1,20 +1,20 @@ ---- chrome/services/printing/print_backend_service_impl.h.orig 2026-02-11 09:05:39 UTC +--- chrome/services/printing/print_backend_service_impl.h.orig 2026-07-01 06:24:19 UTC +++ chrome/services/printing/print_backend_service_impl.h -@@ -35,7 +35,7 @@ - #include "mojo/public/cpp/bindings/remote.h" - #endif // BUILDFLAG(IS_WIN) +@@ -28,7 +28,7 @@ + #include "printing/printing_context.h" + #include "ui/gfx/native_ui_types.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "printing/printing_context_linux.h" #endif -@@ -270,7 +270,7 @@ class PrintBackendServiceImpl : public mojom::PrintBac +@@ -242,7 +242,7 @@ class PrintBackendServiceImpl : public mojom::PrintBac scoped_refptr print_backend_; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr print_dialog_factory_; #endif diff --git a/www/chromium/files/patch-components_BUILD.gn b/www/chromium/files/patch-components_BUILD.gn index 753dea7a8e65..f2286b2ba1e1 100644 --- a/www/chromium/files/patch-components_BUILD.gn +++ b/www/chromium/files/patch-components_BUILD.gn @@ -1,28 +1,28 @@ ---- components/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- components/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ components/BUILD.gn @@ -226,7 +226,6 @@ test("components_unittests") { "//components/contextual_search/internal:unit_tests", "//components/contextual_tasks:unit_tests", "//components/country_codes:unit_tests", - "//components/crash/core/common:unit_tests", "//components/cross_device/logging:unit_tests", "//components/crx_file:unit_tests", "//components/data_sharing:unit_tests", -@@ -652,7 +651,7 @@ test("components_unittests") { +@@ -658,7 +657,7 @@ test("components_unittests") { "//components/user_data_importer/content:unit_tests", ] - if (!is_fuchsia) { #!iOS and!Fuchsia + if (!is_fuchsia && !is_bsd) { #!iOS and!Fuchsia deps += [ "//components/crash/content/browser:unit_tests", "//components/crash/core/app:unit_tests", -@@ -839,7 +838,7 @@ test("components_unittests") { +@@ -842,7 +841,7 @@ test("components_unittests") { deps += [ "//components/constrained_window:unit_tests" ] } - if (is_win || is_linux || is_chromeos || is_mac) { + if (is_win || (is_linux && !is_bsd) || is_chromeos || is_mac) { deps += [ "//components/stability_report:unit_tests", "//components/webapps/isolated_web_apps:unit_tests", diff --git a/www/chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide__decider.cc b/www/chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide__decider.cc index 3cdb4f17c445..d08fe4e9787d 100644 --- a/www/chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide__decider.cc +++ b/www/chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide__decider.cc @@ -1,11 +1,11 @@ ---- components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide_decider.cc.orig 2026-03-13 06:02:14 UTC +--- components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide_decider.cc.orig 2026-07-01 06:24:19 UTC +++ components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide_decider.cc -@@ -207,7 +207,7 @@ void AddOptimizationTypesForBnplIssuers( +@@ -216,7 +216,7 @@ void AddOptimizationTypesForBnplIssuers( base::flat_set& optimization_types) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) auto bnpl_issuer_allowlist_can_be_loaded = [&bnpl_issuers](BnplIssuer::IssuerId issuer_id) { return std::ranges::contains(bnpl_issuers, issuer_id, diff --git a/www/chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc b/www/chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc index b09358a2e98e..2e8f6a1d946e 100644 --- a/www/chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc +++ b/www/chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc @@ -1,29 +1,29 @@ ---- components/autofill/core/browser/payments/amount_extraction_manager.cc.orig 2026-05-07 17:02:56 UTC +--- components/autofill/core/browser/payments/amount_extraction_manager.cc.orig 2026-07-01 06:24:19 UTC +++ components/autofill/core/browser/payments/amount_extraction_manager.cc -@@ -284,7 +284,7 @@ void AmountExtractionManager::OnCheckoutAmountReceived +@@ -298,7 +298,7 @@ void AmountExtractionManager::OnCheckoutAmountReceived /*timeout_reached=*/false); } if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) { + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) { if (base::FeatureList::IsEnabled( ::autofill::features::kAutofillEnableAmountExtractionTesting)) { VLOG(3) << "The result of amount extraction on domain " -@@ -372,7 +372,7 @@ void AmountExtractionManager::OnTimeoutReached() { +@@ -386,7 +386,7 @@ void AmountExtractionManager::OnTimeoutReached() { } if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) { + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) { if (base::FeatureList::IsEnabled( ::autofill::features::kAutofillEnableAmountExtractionTesting)) { VLOG(3) << "The amount extraction on domain " -@@ -392,7 +392,7 @@ AmountExtractionManager::CheckEligibilityForFeaturesRe +@@ -406,7 +406,7 @@ AmountExtractionManager::CheckEligibilityForFeaturesRe // Check eligibility of BNPL feature. if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) { + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) { if (IsEligibleForBnpl(autofill_manager_->client())) { eligible_features.insert(EligibleFeature::kBnpl); } diff --git a/www/chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc b/www/chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc index be7e57d4c07f..55b9d33cce44 100644 --- a/www/chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc +++ b/www/chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc @@ -1,11 +1,11 @@ ---- components/autofill/core/browser/payments/bnpl_manager.cc.orig 2026-06-04 10:12:25 UTC +--- components/autofill/core/browser/payments/bnpl_manager.cc.orig 2026-07-01 06:24:19 UTC +++ components/autofill/core/browser/payments/bnpl_manager.cc -@@ -1052,7 +1052,7 @@ void BnplManager::MaybeUpdateDesktopSuggestionsWithBnp +@@ -1062,7 +1062,7 @@ void BnplManager::MaybeUpdateDesktopSuggestionsWithBnp .OnBnplSuggestionShown(); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) payments_autofill_client().GetPaymentsDataManager().SetAutofillHasSeenBnpl(); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) diff --git a/www/chromium/files/patch-components_autofill_core_browser_suggestions_payments_credit__card__suggestion__generator.cc b/www/chromium/files/patch-components_autofill_core_browser_suggestions_payments_credit__card__suggestion__generator.cc index b6144ef11955..3c9dc2e40912 100644 --- a/www/chromium/files/patch-components_autofill_core_browser_suggestions_payments_credit__card__suggestion__generator.cc +++ b/www/chromium/files/patch-components_autofill_core_browser_suggestions_payments_credit__card__suggestion__generator.cc @@ -1,11 +1,11 @@ ---- components/autofill/core/browser/suggestions/payments/credit_card_suggestion_generator.cc.orig 2026-06-04 10:12:25 UTC +--- components/autofill/core/browser/suggestions/payments/credit_card_suggestion_generator.cc.orig 2026-07-01 06:24:19 UTC +++ components/autofill/core/browser/suggestions/payments/credit_card_suggestion_generator.cc -@@ -43,7 +43,7 @@ using SuggestionDataSource = SuggestionGenerator::Sugg +@@ -55,7 +55,7 @@ using SuggestionDataSource = SuggestionGenerator::Sugg bool IsSaveAndFillEnabled() { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return base::FeatureList::IsEnabled(features::kAutofillEnableSaveAndFill); #elif BUILDFLAG(IS_IOS) return base::FeatureList::IsEnabled( diff --git a/www/chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc b/www/chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc index 1181b6584f9e..3c42bef90680 100644 --- a/www/chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc +++ b/www/chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc @@ -1,11 +1,11 @@ ---- components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc.orig 2026-06-04 10:12:25 UTC +--- components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc.orig 2026-07-01 06:24:19 UTC +++ components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc -@@ -1288,7 +1288,7 @@ bool AreMaskedBankAccountSupported() { +@@ -1278,7 +1278,7 @@ bool AreMaskedBankAccountSupported() { bool IsBnplIssuerSupported() { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) return base::FeatureList::IsEnabled( features::kAutofillEnableBuyNowPayLaterSyncing); #else diff --git a/www/chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc b/www/chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc index 0251ed1c704f..e68d04c633ae 100644 --- a/www/chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc +++ b/www/chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc @@ -1,110 +1,110 @@ ---- components/autofill/core/common/autofill_payments_features.cc.orig 2026-06-10 07:57:19 UTC +--- components/autofill/core/common/autofill_payments_features.cc.orig 2026-07-01 06:24:19 UTC +++ components/autofill/core/common/autofill_payments_features.cc @@ -32,7 +32,7 @@ BASE_FEATURE(kAutofillDisableBnplCountryCheckForTestin // page using server-side AI. BASE_FEATURE(kAutofillEnableAiBasedAmountExtraction, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); @@ -43,7 +43,7 @@ BASE_FEATURE(kAutofillEnableAiBasedAmountExtraction, // of the allowlisted merchant websites. BASE_FEATURE(kAutofillEnableAmountExtraction, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); @@ -66,7 +66,7 @@ BASE_FEATURE(kAutofillEnableBottomSheetScanCardAndFill // When enabled, buy now pay later (BNPL) in Autofill will be offered. BASE_FEATURE(kAutofillEnableBuyNowPayLater, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); @@ -77,7 +77,7 @@ BASE_FEATURE(kAutofillEnableBuyNowPayLater, // (BNPL) issuers that are externally linked. BASE_FEATURE(kAutofillEnableBuyNowPayLaterForExternallyLinked, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -87,7 +87,7 @@ BASE_FEATURE(kAutofillEnableBuyNowPayLaterForExternall +@@ -88,7 +88,7 @@ BASE_FEATURE(kAutofillEnableBuyNowPayLaterForExternall // offered. BASE_FEATURE(kAutofillEnableBuyNowPayLaterForKlarna, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -96,7 +96,7 @@ BASE_FEATURE(kAutofillEnableBuyNowPayLaterForKlarna, +@@ -98,7 +98,7 @@ BASE_FEATURE(kAutofillEnableBuyNowPayLaterForKlarna, // When enabled, buy now pay later (BNPL) data will be synced to Chrome clients. BASE_FEATURE(kAutofillEnableBuyNowPayLaterSyncing, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -106,7 +106,7 @@ BASE_FEATURE(kAutofillEnableBuyNowPayLaterSyncing, +@@ -109,7 +109,7 @@ BASE_FEATURE(kAutofillEnableBuyNowPayLaterSyncing, // include the issuer names for better brand recognition. BASE_FEATURE(kAutofillEnableBuyNowPayLaterUpdatedSuggestionSecondLineString, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -126,7 +126,7 @@ BASE_FEATURE(kAutofillEnableCardBenefitsForAmericanExp +@@ -129,7 +129,7 @@ BASE_FEATURE(kAutofillEnableCardBenefitsForAmericanExp // UI. BASE_FEATURE(kAutofillEnableCardBenefitsForBmo, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -170,7 +170,7 @@ BASE_FEATURE(kAutofillEnableFlatRateCardBenefitsBlockl +@@ -173,7 +173,7 @@ BASE_FEATURE(kAutofillEnableFlatRateCardBenefitsBlockl // Payments Autofill UI. BASE_FEATURE(kAutofillEnableFlatRateCardBenefitsFromCurinos, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -257,7 +257,7 @@ BASE_FEATURE(kAutofillEnableTravelCategoryAndMerchantB +@@ -256,7 +256,7 @@ BASE_FEATURE(kAutofillEnableTravelCategoryAndMerchantB // the card, and FIDO is not. BASE_FEATURE(kAutofillEnableVcn3dsAuthentication, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -286,7 +286,7 @@ BASE_FEATURE(kAutofillEnableWalletBrandingV2, +@@ -285,7 +285,7 @@ BASE_FEATURE(kAutofillEnableWalletBrandingV2, // eligibility. BASE_FEATURE(kAutofillPreferBuyNowPayLaterBlocklists, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -341,7 +341,7 @@ const base::FeatureParam kAutofillVcnEnrollStrike +@@ -340,7 +340,7 @@ const base::FeatureParam kAutofillVcnEnrollStrike /*default_value=*/180}; bool ShouldShowImprovedUserConsentForCreditCardSave() { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // The new user consent UI is fully launched on MacOS, Windows and Linux. return true; #else diff --git a/www/chromium/files/patch-components_constrained__window_constrained__window__views.cc b/www/chromium/files/patch-components_constrained__window_constrained__window__views.cc index bd3f9c4ce069..343b732e34d1 100644 --- a/www/chromium/files/patch-components_constrained__window_constrained__window__views.cc +++ b/www/chromium/files/patch-components_constrained__window_constrained__window__views.cc @@ -1,11 +1,11 @@ ---- components/constrained_window/constrained_window_views.cc.orig 2025-08-07 06:57:29 UTC +--- components/constrained_window/constrained_window_views.cc.orig 2026-07-01 06:24:19 UTC +++ components/constrained_window/constrained_window_views.cc -@@ -380,7 +380,7 @@ bool SupportsGlobalScreenCoordinates() { +@@ -413,7 +413,7 @@ bool SupportsGlobalScreenCoordinates() { } bool PlatformClipsChildrenToViewport() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return true; #else return false; diff --git a/www/chromium/files/patch-components_discardable__memory_service_discardable__shared__memory__manager.cc b/www/chromium/files/patch-components_discardable__memory_service_discardable__shared__memory__manager.cc index 48917157f4d7..38ac021d0ffe 100644 --- a/www/chromium/files/patch-components_discardable__memory_service_discardable__shared__memory__manager.cc +++ b/www/chromium/files/patch-components_discardable__memory_service_discardable__shared__memory__manager.cc @@ -1,11 +1,11 @@ ---- components/discardable_memory/service/discardable_shared_memory_manager.cc.orig 2026-06-04 10:12:25 UTC +--- components/discardable_memory/service/discardable_shared_memory_manager.cc.orig 2026-07-01 06:24:19 UTC +++ components/discardable_memory/service/discardable_shared_memory_manager.cc -@@ -172,6 +172,8 @@ uint64_t GetDefaultMaxBytes() { +@@ -177,6 +177,8 @@ uint64_t GetDefaultMaxBytes() { #if BUILDFLAG(IS_ANDROID) // Limits the number of FDs used to 32, assuming a 4MB allocation size. uint64_t default_max_bytes = 128 * kMegabyte; +#elif BUILDFLAG(IS_OPENBSD) + uint64_t default_max_bytes = 128 * kMegabyte; #else uint64_t default_max_bytes = 512 * kMegabyte; #endif diff --git a/www/chromium/files/patch-components_embedder__support_user__agent__utils.cc b/www/chromium/files/patch-components_embedder__support_user__agent__utils.cc index 860156e6a70e..b457d6d4d9df 100644 --- a/www/chromium/files/patch-components_embedder__support_user__agent__utils.cc +++ b/www/chromium/files/patch-components_embedder__support_user__agent__utils.cc @@ -1,56 +1,56 @@ ---- components/embedder_support/user_agent_utils.cc.orig 2026-06-04 10:12:25 UTC +--- components/embedder_support/user_agent_utils.cc.orig 2026-07-01 06:24:19 UTC +++ components/embedder_support/user_agent_utils.cc @@ -283,7 +283,7 @@ std::string GetUserAgentPlatform() { return ""; #elif BUILDFLAG(IS_MAC) return "Macintosh; "; -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return "X11; "; // strange, but that's what Firefox uses #elif BUILDFLAG(IS_ANDROID) return "Linux; "; @@ -323,7 +323,7 @@ std::string GetUnifiedPlatform() { return "Windows NT 10.0; Win64; x64"; #elif BUILDFLAG(IS_FUCHSIA) return "Fuchsia"; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return "X11; Linux x86_64"; #elif BUILDFLAG(IS_IOS) if (ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET) { -@@ -583,7 +583,7 @@ bool GetMobileBitForUAMetadata() { - } +@@ -592,7 +592,7 @@ std::string GetPlatformVersion() { - std::string GetPlatformVersion() { --#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)) { -@@ -637,6 +637,9 @@ std::string GetPlatformForUAMetadata() { + #if BUILDFLAG(IS_WIN) + return GetWindowsPlatformVersion(); +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + return std::string(); + #else + +@@ -629,6 +629,9 @@ std::string GetPlatformForUAMetadata() { #else return "Chromium OS"; #endif +#elif BUILDFLAG(IS_BSD) + // The internet is weird... + return "Linux"; #else return std::string(version_info::GetOSType()); #endif -@@ -819,6 +822,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons +@@ -811,6 +814,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons "Android %s", os_version.c_str() #elif BUILDFLAG(IS_FUCHSIA) "Fuchsia" +#elif BUILDFLAG(IS_BSD) +#if defined(__x86_64__) + "Linux x86_64; %s %s", +#elif defined(__aarch64__) + "Linux aarch64; %s %s", +#else + "Linux i686; %s %s", +#endif + unixinfo.sysname, // e.g. Linux + cpu_type.c_str() // e.g. i686 #elif BUILDFLAG(IS_IOS) "CPU %s OS %s like Mac OS X", cpu_type.c_str(), os_version.c_str() diff --git a/www/chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc b/www/chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc index 971c405d1eb5..dc463172e882 100644 --- a/www/chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc +++ b/www/chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc @@ -1,29 +1,29 @@ ---- components/embedder_support/user_agent_utils_unittest.cc.orig 2026-03-13 06:02:14 UTC +--- components/embedder_support/user_agent_utils_unittest.cc.orig 2026-07-01 06:24:19 UTC +++ components/embedder_support/user_agent_utils_unittest.cc @@ -152,7 +152,7 @@ void CheckUserAgentStringOrdering(bool mobile_device) ASSERT_EQ("CrOS", pieces[0]); ASSERT_EQ("x86_64", pieces[1]); ASSERT_EQ("14541.0.0", pieces[2]); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Post-UA Reduction there is a single value for Linux: // X11; Linux x86_64 ASSERT_EQ(2u, pieces.size()); @@ -334,7 +334,7 @@ class UserAgentUtilsTest : public testing::Test, "X11; CrOS x86_64 14541.0.0"; #elif BUILDFLAG(IS_FUCHSIA) "Fuchsia"; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) "X11; Linux x86_64"; #elif BUILDFLAG(IS_MAC) "Macintosh; Intel Mac OS X 10_15_7"; -@@ -679,7 +679,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMetadata) { +@@ -659,7 +659,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMetadata) { #endif #elif BUILDFLAG(IS_ANDROID) EXPECT_EQ(metadata.platform, "Android"); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) EXPECT_EQ(metadata.platform, "Linux"); #elif BUILDFLAG(IS_FREEBSD) EXPECT_EQ(metadata.platform, "FreeBSD"); diff --git a/www/chromium/files/patch-components_enterprise_browser_reporting_report__util.cc b/www/chromium/files/patch-components_enterprise_browser_reporting_report__util.cc index d949bc201bc9..29663d675c65 100644 --- a/www/chromium/files/patch-components_enterprise_browser_reporting_report__util.cc +++ b/www/chromium/files/patch-components_enterprise_browser_reporting_report__util.cc @@ -1,11 +1,11 @@ ---- components/enterprise/browser/reporting/report_util.cc.orig 2026-06-04 10:12:25 UTC +--- components/enterprise/browser/reporting/report_util.cc.orig 2026-07-01 06:24:19 UTC +++ components/enterprise/browser/reporting/report_util.cc -@@ -204,7 +204,7 @@ std::string GetSecuritySignalsInReport( +@@ -201,7 +201,7 @@ std::string GetSecuritySignalsInReport( signals_dict.Set("antivirus_info", std::move(anti_virus_list)); signals_dict.Set("hotfixes", RepeatedFieldptrToList(os_report.hotfixes())); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (os_report.has_distribution_version()) { signals_dict.Set("distribution_version", os_report.distribution_version()); diff --git a/www/chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc b/www/chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc index 30db93a7eec0..f3a8cda13a11 100644 --- a/www/chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc +++ b/www/chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc @@ -1,20 +1,20 @@ ---- components/enterprise/connectors/core/realtime_reporting_client_base.cc.orig 2026-04-09 06:05:42 UTC +--- components/enterprise/connectors/core/realtime_reporting_client_base.cc.orig 2026-07-01 06:24:19 UTC +++ components/enterprise/connectors/core/realtime_reporting_client_base.cc @@ -198,7 +198,7 @@ void RealtimeReportingClientBase::ReportEvent( *event.mutable_time() = ToProtoTimestamp(base::Time::Now()); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(notyet) MaybeCollectDeviceSignalsAndReportEvent(std::move(event), client, settings); #else // Regardless of collecting device signals or not, upload the security event -@@ -306,7 +306,7 @@ void RealtimeReportingClientBase::ReportEventWithTimes +@@ -319,7 +319,7 @@ void RealtimeReportingClientBase::ReportEventWithTimes if (include_profile_user_name) { event.Set(kKeyProfileUserName, GetProfileUserName()); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(notyet) MaybeCollectDeviceSignalsAndReportEventDeprecated(std::move(event), client, name, settings, time); #else diff --git a/www/chromium/files/patch-components_enterprise_data__controls_core_browser_rule.cc b/www/chromium/files/patch-components_enterprise_data__controls_core_browser_rule.cc index c59afe1c0a36..51d5b556b649 100644 --- a/www/chromium/files/patch-components_enterprise_data__controls_core_browser_rule.cc +++ b/www/chromium/files/patch-components_enterprise_data__controls_core_browser_rule.cc @@ -1,20 +1,20 @@ ---- components/enterprise/data_controls/core/browser/rule.cc.orig 2026-05-07 17:02:56 UTC +--- components/enterprise/data_controls/core/browser/rule.cc.orig 2026-07-01 06:24:19 UTC +++ components/enterprise/data_controls/core/browser/rule.cc -@@ -542,7 +542,7 @@ bool Rule::AddUnsupportedAttributeErrors( +@@ -549,7 +549,7 @@ bool Rule::AddUnsupportedAttributeErrors( }, }, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) { Restriction::kFileDownload, { -@@ -625,7 +625,7 @@ bool Rule::AddUnsupportedRestrictionErrors( +@@ -632,7 +632,7 @@ bool Rule::AddUnsupportedRestrictionErrors( }, #endif // BUILDFLAG(ENTERPRISE_SCREENSHOT_PROTECTION) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) { Restriction::kFileDownload, { diff --git a/www/chromium/files/patch-components_eye__dropper_eye__dropper__view.cc b/www/chromium/files/patch-components_eye__dropper_eye__dropper__view.cc index b4961686a596..3e1d96712c54 100644 --- a/www/chromium/files/patch-components_eye__dropper_eye__dropper__view.cc +++ b/www/chromium/files/patch-components_eye__dropper_eye__dropper__view.cc @@ -1,11 +1,11 @@ ---- components/eye_dropper/eye_dropper_view.cc.orig 2026-01-14 08:33:23 UTC +--- components/eye_dropper/eye_dropper_view.cc.orig 2026-07-01 06:24:19 UTC +++ components/eye_dropper/eye_dropper_view.cc -@@ -214,7 +214,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent, - // EyeDropper/WidgetDelegate. - set_owned_by_client(OwnedByClientPassKey()); - SetPreferredSize(GetSize()); +@@ -350,7 +350,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent, + contents_view->SetPreferredSize(contents_view->GetSize()); + delegate_->SetContentsView(std::move(contents_view)); + -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Use TYPE_MENU for Linux to ensure that the eye dropper view is displayed // above the color picker. views::Widget::InitParams params( diff --git a/www/chromium/files/patch-components_feature__engagement_public_feature__configurations.cc b/www/chromium/files/patch-components_feature__engagement_public_feature__configurations.cc index def298e6686d..ec2b105092d2 100644 --- a/www/chromium/files/patch-components_feature__engagement_public_feature__configurations.cc +++ b/www/chromium/files/patch-components_feature__engagement_public_feature__configurations.cc @@ -1,30 +1,30 @@ ---- components/feature_engagement/public/feature_configurations.cc.orig 2026-06-04 10:12:25 UTC +--- components/feature_engagement/public/feature_configurations.cc.orig 2026-07-01 06:24:19 UTC +++ components/feature_engagement/public/feature_configurations.cc @@ -101,7 +101,7 @@ std::optional CreateNewUserGestureInPro std::optional GetClientSideFeatureConfig( const base::Feature* feature) { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // The IPH bubble for link capturing has a trigger set to ANY so that it // always shows up. The per app specific guardrails are independently stored @@ -120,7 +120,7 @@ std::optional GetClientSideFeatureConfi #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (kIPHPasswordsManagementBubbleAfterSaveFeature.name == feature->name) { FeatureConfig config; config.valid = true; -@@ -2190,7 +2190,8 @@ std::optional GetClientSideFeatureConfi +@@ -2259,7 +2259,8 @@ std::optional GetClientSideFeatureConfi #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \ + BUILDFLAG(IS_BSD) if (kIPHAutofillCreditCardBenefitFeature.name == feature->name) { // The credit card benefit IPH appears up to three times over 10 years and diff --git a/www/chromium/files/patch-components_feature__engagement_public_feature__constants.cc b/www/chromium/files/patch-components_feature__engagement_public_feature__constants.cc index 9f0272a2a9ff..347ae237ab2a 100644 --- a/www/chromium/files/patch-components_feature__engagement_public_feature__constants.cc +++ b/www/chromium/files/patch-components_feature__engagement_public_feature__constants.cc @@ -1,30 +1,29 @@ ---- components/feature_engagement/public/feature_constants.cc.orig 2026-06-04 10:12:25 UTC +--- components/feature_engagement/public/feature_constants.cc.orig 2026-07-01 06:24:19 UTC +++ components/feature_engagement/public/feature_constants.cc @@ -32,7 +32,7 @@ bool IsOnDeviceStorageEnabled() { } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) #if BUILDFLAG(GOOGLE_CHROME_BRANDING) BASE_FEATURE(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo", -@@ -896,7 +896,8 @@ BASE_FEATURE(kIPHiOSActiveDaysTrackingFeature, +@@ -932,7 +932,7 @@ BASE_FEATURE(kIPHiOSActiveDaysTrackingFeature, #endif // BUILDFLAG(IS_IOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \ -+ BUILDFLAG(IS_BSD) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) BASE_FEATURE(kIPHAutofillAtMemoryFeature, "IPH_AutofillAtMemory", base::FEATURE_DISABLED_BY_DEFAULT); -@@ -966,7 +967,7 @@ BASE_FEATURE(kIPHLauncherSearchHelpUiFeature, +@@ -1005,7 +1005,7 @@ BASE_FEATURE(kIPHLauncherSearchHelpUiFeature, base::FEATURE_ENABLED_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) // This can be enabled by default, as the DesktopPWAsLinkCapturing // flag is needed for the IPH linked to this feature to work, and // use-cases to show the IPH are guarded by that flag. diff --git a/www/chromium/files/patch-components_feature__engagement_public_feature__constants.h b/www/chromium/files/patch-components_feature__engagement_public_feature__constants.h index 30671373ab93..be04a6a49d9f 100644 --- a/www/chromium/files/patch-components_feature__engagement_public_feature__constants.h +++ b/www/chromium/files/patch-components_feature__engagement_public_feature__constants.h @@ -1,29 +1,29 @@ ---- components/feature_engagement/public/feature_constants.h.orig 2026-06-04 10:12:25 UTC +--- components/feature_engagement/public/feature_constants.h.orig 2026-07-01 06:24:19 UTC +++ components/feature_engagement/public/feature_constants.h @@ -31,7 +31,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDemoMode); FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDummyFeature); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) #if BUILDFLAG(GOOGLE_CHROME_BRANDING) FEATURE_CONSTANTS_DECLARE_FEATURE(kEsbDownloadRowPromoFeature); #endif -@@ -390,7 +390,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHiOSActiveDaysTra +@@ -406,7 +406,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHiOSActiveDaysTra #endif // BUILDFLAG(IS_IOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHAutofillAtMemoryFeature); FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHAutofillBnplAffirmOrZipSuggestionFeature); -@@ -424,7 +424,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHGoogleOneOfferNo +@@ -441,7 +441,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHGoogleOneOfferNo FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHLauncherSearchHelpUiFeature); #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDesktopPWAsLinkCapturingLaunch); FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDesktopPWAsLinkCapturingLaunchAppInTab); FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHSignInBenefitsFeature); diff --git a/www/chromium/files/patch-components_feature__engagement_public_feature__list.cc b/www/chromium/files/patch-components_feature__engagement_public_feature__list.cc index 6132c1c78cfb..cd69908a22fa 100644 --- a/www/chromium/files/patch-components_feature__engagement_public_feature__list.cc +++ b/www/chromium/files/patch-components_feature__engagement_public_feature__list.cc @@ -1,29 +1,29 @@ ---- components/feature_engagement/public/feature_list.cc.orig 2026-06-04 10:12:25 UTC +--- components/feature_engagement/public/feature_list.cc.orig 2026-07-01 06:24:19 UTC +++ components/feature_engagement/public/feature_list.cc -@@ -235,7 +235,7 @@ const base::Feature* const kAllFeatures[] = { +@@ -242,7 +242,7 @@ const base::Feature* const kAllFeatures[] = { #endif // BUILDFLAG(IS_IOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) #if BUILDFLAG(GOOGLE_CHROME_BRANDING) &kEsbDownloadRowPromoFeature, #endif -@@ -317,7 +317,7 @@ const base::Feature* const kAllFeatures[] = { +@@ -328,7 +328,7 @@ const base::Feature* const kAllFeatures[] = { // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) // keep-sorted start case=no &kIPHAutofillAccountNameEmailSuggestionFeature, &kIPHAutofillAiOptInFeature, -@@ -349,7 +349,7 @@ const base::Feature* const kAllFeatures[] = { +@@ -361,7 +361,7 @@ const base::Feature* const kAllFeatures[] = { #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) // keep-sorted start case=no &kIPHDesktopPWAsLinkCapturingLaunch, &kIPHDesktopPWAsLinkCapturingLaunchAppInTab, diff --git a/www/chromium/files/patch-components_feature__engagement_public_feature__list.h b/www/chromium/files/patch-components_feature__engagement_public_feature__list.h index 99435333a8b9..f34c07ae1e74 100644 --- a/www/chromium/files/patch-components_feature__engagement_public_feature__list.h +++ b/www/chromium/files/patch-components_feature__engagement_public_feature__list.h @@ -1,56 +1,56 @@ ---- components/feature_engagement/public/feature_list.h.orig 2026-06-04 10:12:25 UTC +--- components/feature_engagement/public/feature_list.h.orig 2026-07-01 06:24:19 UTC +++ components/feature_engagement/public/feature_list.h -@@ -379,7 +379,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSPinMostVisitedSiteFeatur +@@ -393,7 +393,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSPinMostVisitedSiteFeatur #endif // BUILDFLAG(IS_IOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) #if BUILDFLAG(GOOGLE_CHROME_BRANDING) DEFINE_VARIATION_PARAM(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo"); #endif -@@ -510,7 +510,7 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSharedTabFeedbackF +@@ -532,7 +532,7 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSharedTabFeedbackF // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + DEFINE_VARIATION_PARAM(kIPHAutofillAccountNameEmailSuggestionFeature, + "IPH_AutofillAccountNameEmailSuggestion"); DEFINE_VARIATION_PARAM(kIPHAutofillAiOptInFeature, "IPH_AutofillAiOptIn"); - DEFINE_VARIATION_PARAM(kIPHAutofillAiValuablesFeature, - "IPH_AutofillAiValuables"); -@@ -553,7 +553,7 @@ DEFINE_VARIATION_PARAM(kIPHLauncherSearchHelpUiFeature +@@ -577,7 +577,7 @@ DEFINE_VARIATION_PARAM(kIPHLauncherSearchHelpUiFeature "IPH_LauncherSearchHelpUi"); #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) DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunch, "IPH_DesktopPWAsLinkCapturingLaunch"); DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunchAppInTab, -@@ -782,7 +782,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat +@@ -814,7 +814,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat VARIATION_ENTRY(kIPHWhatsNewUpdatedFeature), // keep-sorted end #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) #if BUILDFLAG(ENABLE_EXTENSIONS) VARIATION_ENTRY(kIPHExtensionsMenuFeature), VARIATION_ENTRY(kIPHExtensionsRequestAccessButtonFeature), -@@ -849,7 +849,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat +@@ -884,7 +884,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) // keep-sorted start case=no VARIATION_ENTRY(kIPHAutofillAccountNameEmailSuggestionFeature), VARIATION_ENTRY(kIPHAutofillAiOptInFeature), -@@ -877,7 +877,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat +@@ -913,7 +913,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat VARIATION_ENTRY(kIPHLauncherSearchHelpUiFeature), #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) VARIATION_ENTRY(kIPHDesktopPWAsLinkCapturingLaunch), VARIATION_ENTRY(kIPHDesktopPWAsLinkCapturingLaunchAppInTab), VARIATION_ENTRY(kIPHSignInBenefitsFeature), diff --git a/www/chromium/files/patch-components_feature__engagement_public_tracker.h b/www/chromium/files/patch-components_feature__engagement_public_tracker.h new file mode 100644 index 000000000000..78269e6b7496 --- /dev/null +++ b/www/chromium/files/patch-components_feature__engagement_public_tracker.h @@ -0,0 +1,11 @@ +--- components/feature_engagement/public/tracker.h.orig 2026-07-01 06:24:19 UTC ++++ components/feature_engagement/public/tracker.h +@@ -249,7 +249,7 @@ class Tracker : public KeyedService, public base::Supp + Dismissed(feature); + } + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // TODO(https://crbug.com/511194274): For now, allow calling the base API in + // chromeos-only code; remove the exception for ChromeOS when we've migrated + // those calls. diff --git a/www/chromium/files/patch-components_gwp__asan_client_gwp__asan.cc b/www/chromium/files/patch-components_gwp__asan_client_gwp__asan.cc index 063c8aef66f1..24c8f7d0d118 100644 --- a/www/chromium/files/patch-components_gwp__asan_client_gwp__asan.cc +++ b/www/chromium/files/patch-components_gwp__asan_client_gwp__asan.cc @@ -1,11 +1,11 @@ ---- components/gwp_asan/client/gwp_asan.cc.orig 2025-08-07 06:57:29 UTC +--- components/gwp_asan/client/gwp_asan.cc.orig 2026-07-01 06:24:19 UTC +++ components/gwp_asan/client/gwp_asan.cc -@@ -81,7 +81,7 @@ namespace { +@@ -82,7 +82,7 @@ namespace { // ProcessSamplingBoost is the multiplier to increase the // ProcessSamplingProbability in scenarios where we want to perform additional // testing (e.g., on canary/dev builds). -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) constexpr int kDefaultMaxAllocations = 50; constexpr int kDefaultMaxMetadata = 210; constexpr int kDefaultTotalPages = kCpuIs64Bit ? 2048 : kDefaultMaxMetadata * 2; diff --git a/www/chromium/files/patch-components_metrics_metrics__log.cc b/www/chromium/files/patch-components_metrics_metrics__log.cc index 88e234e252e8..670b58476143 100644 --- a/www/chromium/files/patch-components_metrics_metrics__log.cc +++ b/www/chromium/files/patch-components_metrics_metrics__log.cc @@ -1,38 +1,38 @@ ---- components/metrics/metrics_log.cc.orig 2026-06-04 10:12:25 UTC +--- components/metrics/metrics_log.cc.orig 2026-07-01 06:24:19 UTC +++ components/metrics/metrics_log.cc -@@ -60,7 +60,7 @@ +@@ -61,7 +61,7 @@ #include "base/win/current_module.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/environment.h" #include "base/nix/xdg_util.h" #endif -@@ -156,7 +156,7 @@ void RecordCurrentTime( +@@ -157,7 +157,7 @@ void RecordCurrentTime( } } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) metrics::SystemProfileProto::OS::XdgSessionType ToProtoSessionType( base::nix::SessionType session_type) { switch (session_type) { -@@ -444,7 +444,7 @@ void MetricsLog::RecordCoreSystemProfile( +@@ -446,7 +446,7 @@ void MetricsLog::RecordCoreSystemProfile( // OperatingSystemVersion refers to the ChromeOS release version. #if BUILDFLAG(IS_CHROMEOS) os->set_kernel_version(base::SysInfo::KernelVersion()); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Linux operating system version is copied over into kernel version to be // consistent. os->set_kernel_version(base::SysInfo::OperatingSystemVersion()); -@@ -461,7 +461,7 @@ void MetricsLog::RecordCoreSystemProfile( +@@ -465,7 +465,7 @@ void MetricsLog::RecordCoreSystemProfile( os->set_build_number(base::SysInfo::GetIOSBuildNumber()); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr env = base::Environment::Create(); os->set_xdg_session_type(ToProtoSessionType(base::nix::GetSessionType(*env))); os->set_xdg_current_desktop( diff --git a/www/chromium/files/patch-components_optimization__guide_core_feature__registry_feature__registration.cc b/www/chromium/files/patch-components_optimization__guide_core_feature__registry_feature__registration.cc index 8a1b583e0acb..c0b3a75b66c3 100644 --- a/www/chromium/files/patch-components_optimization__guide_core_feature__registry_feature__registration.cc +++ b/www/chromium/files/patch-components_optimization__guide_core_feature__registry_feature__registration.cc @@ -1,11 +1,11 @@ ---- components/optimization_guide/core/feature_registry/feature_registration.cc.orig 2026-06-04 10:12:25 UTC +--- components/optimization_guide/core/feature_registry/feature_registration.cc.orig 2026-07-01 06:24:19 UTC +++ components/optimization_guide/core/feature_registry/feature_registration.cc -@@ -87,7 +87,7 @@ BASE_FEATURE(kProductSpecificationsMqlsLogging, +@@ -78,7 +78,7 @@ BASE_FEATURE(kProductSpecificationsMqlsLogging, BASE_FEATURE(kFormsClassificationsMqlsLogging, BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || - BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) ? base::FEATURE_ENABLED_BY_DEFAULT : base::FEATURE_DISABLED_BY_DEFAULT); diff --git a/www/chromium/files/patch-components_password__manager_core_browser_features_password__features.cc b/www/chromium/files/patch-components_password__manager_core_browser_features_password__features.cc index 4ea2a4e67a67..d2db4b7c1017 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_features_password__features.cc +++ b/www/chromium/files/patch-components_password__manager_core_browser_features_password__features.cc @@ -1,29 +1,29 @@ ---- components/password_manager/core/browser/features/password_features.cc.orig 2026-06-04 10:12:25 UTC +--- components/password_manager/core/browser/features/password_features.cc.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/features/password_features.cc -@@ -83,7 +83,7 @@ BASE_FEATURE(kClearUndecryptablePasswords, +@@ -78,7 +78,7 @@ BASE_FEATURE(kClearUndecryptablePasswords, BASE_FEATURE(kClearUndecryptablePasswordsOnSync, "ClearUndecryptablePasswordsInSync", #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -123,7 +123,7 @@ BASE_FEATURE(kFillChangePasswordFormByTyping, +@@ -115,7 +115,7 @@ BASE_FEATURE(kFetchChangePasswordUrlForPasswordChange, BASE_FEATURE(kFillOnAccountSelect, "fill-on-account-select", // TODO(504600482): Disable the feature again upon fixing the bug. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -181,7 +181,7 @@ BASE_FEATURE(kProactivelyDownloadModelForPasswordChang +@@ -181,7 +181,7 @@ BASE_FEATURE(kPasswordStorePropagatesActionableErrors, BASE_FEATURE(kPasswordCheckupPrototype, base::FEATURE_DISABLED_BY_DEFAULT); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kRestartToGainAccessToKeychain, #if BUILDFLAG(IS_MAC) base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/chromium/files/patch-components_password__manager_core_browser_features_password__features.h b/www/chromium/files/patch-components_password__manager_core_browser_features_password__features.h index 4918f28f3932..e1e3280db4b9 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_features_password__features.h +++ b/www/chromium/files/patch-components_password__manager_core_browser_features_password__features.h @@ -1,11 +1,11 @@ ---- components/password_manager/core/browser/features/password_features.h.orig 2026-06-04 10:12:25 UTC +--- components/password_manager/core/browser/features/password_features.h.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/features/password_features.h -@@ -207,7 +207,7 @@ BASE_DECLARE_FEATURE(kProactivelyDownloadModelForPassw +@@ -198,7 +198,7 @@ BASE_DECLARE_FEATURE(kPreventAPCOnFederatedLogin); // This flag is only for the prototype version. BASE_DECLARE_FEATURE(kPasswordCheckupPrototype); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Enables "Needs access to keychain, restart chrome" bubble and banner. BASE_DECLARE_FEATURE(kRestartToGainAccessToKeychain); #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc b/www/chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc index 25cfe599ca84..3a32d0709fd2 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc +++ b/www/chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc @@ -1,20 +1,20 @@ ---- components/password_manager/core/browser/password_autofill_manager.cc.orig 2026-06-04 10:12:25 UTC +--- components/password_manager/core/browser/password_autofill_manager.cc.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/password_autofill_manager.cc -@@ -404,7 +404,7 @@ void PasswordAutofillManager::DidAcceptSuggestion( +@@ -408,7 +408,7 @@ void PasswordAutofillManager::DidAcceptSuggestion( weak_ptr_factory_.GetWeakPtr(), *password_credential); if (password_credential->is_grouped_affiliation) { #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) cross_domain_confirmation_controller_ = password_client_->ShowCrossDomainConfirmationPopup( last_popup_open_args_.element_bounds, -@@ -662,7 +662,7 @@ void PasswordAutofillManager::DidNavigateMainFrame() { +@@ -667,7 +667,7 @@ void PasswordAutofillManager::DidNavigateMainFrame() { manual_fallback_metrics_recorder_ = std::make_unique(); #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) cross_domain_confirmation_controller_.reset(); #endif wait_for_passkeys_timer_.Stop(); diff --git a/www/chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc b/www/chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc index e64159af4465..78a7dfd18707 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc +++ b/www/chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc @@ -1,11 +1,11 @@ ---- components/password_manager/core/browser/password_form_filling.cc.orig 2026-03-13 06:02:14 UTC +--- components/password_manager/core/browser/password_form_filling.cc.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/password_form_filling.cc -@@ -176,7 +176,7 @@ LikelyFormFilling SendFillInformationToRenderer( +@@ -177,7 +177,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/chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc b/www/chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc index 5d9d62b29fbb..de6003ef88a7 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc +++ b/www/chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc @@ -1,20 +1,20 @@ ---- components/password_manager/core/browser/password_form_manager.cc.orig 2026-05-07 17:02:56 UTC +--- components/password_manager/core/browser/password_form_manager.cc.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/password_form_manager.cc -@@ -236,7 +236,7 @@ bool ShouldUploadCrowdsourcingVotes(const FormOrDigest +@@ -238,7 +238,7 @@ bool ShouldUploadCrowdsourcingVotes(const FormOrDigest return false; } -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool ShouldShowKeychainErrorBubble( std::optional backend_error) { if (!backend_error.has_value()) { -@@ -944,7 +944,7 @@ void PasswordFormManager::OnFetchCompleted() { +@@ -946,7 +946,7 @@ void PasswordFormManager::OnFetchCompleted() { error.value().type); } -#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (ShouldShowKeychainErrorBubble( form_fetcher_->GetProfileStoreBackendError())) { client_->NotifyKeychainError(); diff --git a/www/chromium/files/patch-components_password__manager_core_browser_password__manager__client.h b/www/chromium/files/patch-components_password__manager_core_browser_password__manager__client.h index 83875328833b..91e6e7be9ee1 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_password__manager__client.h +++ b/www/chromium/files/patch-components_password__manager_core_browser_password__manager__client.h @@ -1,20 +1,20 @@ ---- components/password_manager/core/browser/password_manager_client.h.orig 2026-05-07 17:02:56 UTC +--- components/password_manager/core/browser/password_manager_client.h.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/password_manager_client.h @@ -30,7 +30,7 @@ #include "net/cert/cert_status_flags.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "base/i18n/rtl.h" #include "components/password_manager/core/browser/password_cross_domain_confirmation_popup_controller.h" #include "ui/gfx/geometry/rect_f.h" -@@ -551,7 +551,7 @@ class PasswordManagerClient { +@@ -552,7 +552,7 @@ class PasswordManagerClient { virtual void TriggerSignIn(signin_metrics::AccessPoint access_point) const; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Shows the bubble with the details of the `form`. virtual void OpenPasswordDetailsBubble( const password_manager::PasswordForm& form) = 0; diff --git a/www/chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc b/www/chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc index 7fb5b0dd6d27..ff485d7d816a 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc +++ b/www/chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc @@ -1,29 +1,29 @@ ---- components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2026-06-04 10:12:25 UTC +--- components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/password_manual_fallback_flow.cc -@@ -47,7 +47,7 @@ std::u16string GetUsernameFromLabel(const std::u16stri +@@ -50,7 +50,7 @@ std::u16string GetUsernameFromLabel(const std::u16stri } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // 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 -@@ -316,7 +316,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion( +@@ -324,7 +324,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion( } case autofill::SuggestionType::kViewPasswordDetails: { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) std::optional credentials = GetCorrespondingPasswordForm( suggestion.GetPayload(), -@@ -462,7 +462,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass +@@ -478,7 +478,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass const Suggestion::PasswordSuggestionDetails& payload, base::OnceClosure on_allowed) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (payload.is_cross_domain) { CHECK(payload.display_signon_realm); cross_domain_confirmation_popup_controller_ = diff --git a/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc b/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc index b58b306a67d0..7dfb70170135 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc +++ b/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc @@ -1,20 +1,20 @@ ---- components/password_manager/core/browser/password_store/login_database.cc.orig 2026-06-04 10:12:25 UTC +--- components/password_manager/core/browser/password_store/login_database.cc.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/password_store/login_database.cc -@@ -1013,7 +1013,7 @@ bool ShouldDeleteUndecryptablePasswords( +@@ -1015,7 +1015,7 @@ bool ShouldDeleteUndecryptablePasswords( bool is_enabled_by_policy, IsAccountStore is_account_store, const os_crypt_async::Encryptor* encryptor) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr environment(base::Environment::Create()); // On Linux user data directory ca be specified using an env variable. If it // exists, passwords shouldn't be deleted. -@@ -1027,7 +1027,7 @@ bool ShouldDeleteUndecryptablePasswords( +@@ -1029,7 +1029,7 @@ bool ShouldDeleteUndecryptablePasswords( return false; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (command_line->HasSwitch(password_manager::kPasswordStore)) { return false; } diff --git a/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database__async__helper.cc b/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database__async__helper.cc index 3db7ee00b21e..ad3f9a1931b2 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database__async__helper.cc +++ b/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database__async__helper.cc @@ -1,11 +1,11 @@ ---- components/password_manager/core/browser/password_store/login_database_async_helper.cc.orig 2026-06-04 10:12:25 UTC +--- components/password_manager/core/browser/password_store/login_database_async_helper.cc.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/password_store/login_database_async_helper.cc -@@ -138,7 +138,7 @@ StoredCredentialsResultOrError LoginDatabaseAsyncHelpe +@@ -139,7 +139,7 @@ StoredCredentialsResultOrError LoginDatabaseAsyncHelpe std::vector matched_credentials; if (!login_db_ || !login_db_->GetLogins(form, include_psl, &matched_credentials)) { -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return PasswordStoreBackendError( is_encryption_available_ ? PasswordStoreBackendErrorType::kUncategorized diff --git a/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc b/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc index 9f90d9f69694..d323eef2b127 100644 --- a/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc +++ b/www/chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc @@ -1,11 +1,11 @@ ---- components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2026-06-04 10:12:25 UTC +--- components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2026-07-01 06:24:19 UTC +++ components/password_manager/core/browser/password_store/login_database_unittest.cc -@@ -2248,7 +2248,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCurrent, +@@ -2250,7 +2250,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCurrent, testing::Values(1, 2, 3, 24)); #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) class LoginDatabaseUndecryptableLoginsTest : public testing::Test { protected: LoginDatabaseUndecryptableLoginsTest() = default; diff --git a/www/chromium/files/patch-components_policy_core_browser_policy__pref__mapping__test.cc b/www/chromium/files/patch-components_policy_core_browser_policy__pref__mapping__test.cc index c22147a09fcc..f70438a0f2db 100644 --- a/www/chromium/files/patch-components_policy_core_browser_policy__pref__mapping__test.cc +++ b/www/chromium/files/patch-components_policy_core_browser_policy__pref__mapping__test.cc @@ -1,11 +1,11 @@ ---- components/policy/core/browser/policy_pref_mapping_test.cc.orig 2025-05-05 10:57:53 UTC +--- components/policy/core/browser/policy_pref_mapping_test.cc.orig 2026-07-01 06:24:19 UTC +++ components/policy/core/browser/policy_pref_mapping_test.cc -@@ -432,7 +432,7 @@ class PolicyTestCase { +@@ -434,7 +434,7 @@ class PolicyTestCase { const std::string os("chromeos"); #elif BUILDFLAG(IS_IOS) const std::string os("ios"); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const std::string os("linux"); #elif BUILDFLAG(IS_MAC) const std::string os("mac"); diff --git a/www/chromium/files/patch-components_regional__capabilities_regional__capabilities__service.cc b/www/chromium/files/patch-components_regional__capabilities_regional__capabilities__service.cc index c83564869860..ed7a327a4cd8 100644 --- a/www/chromium/files/patch-components_regional__capabilities_regional__capabilities__service.cc +++ b/www/chromium/files/patch-components_regional__capabilities_regional__capabilities__service.cc @@ -1,11 +1,11 @@ ---- components/regional_capabilities/regional_capabilities_service.cc.orig 2026-04-09 06:05:42 UTC +--- components/regional_capabilities/regional_capabilities_service.cc.orig 2026-07-01 06:24:19 UTC +++ components/regional_capabilities/regional_capabilities_service.cc -@@ -413,7 +413,7 @@ bool RegionalCapabilitiesService::IsInSearchEngineChoi +@@ -420,7 +420,7 @@ bool RegionalCapabilitiesService::IsInAnySearchEngineC .choice_screen_eligibility_config.has_value(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // static - bool RegionalCapabilitiesService::IsInSearchEngineChoiceScreenRegion( + bool RegionalCapabilitiesService::IsInAnySearchEngineChoiceScreenRegion( Client& client) { diff --git a/www/chromium/files/patch-components_regional__capabilities_regional__capabilities__service.h b/www/chromium/files/patch-components_regional__capabilities_regional__capabilities__service.h index ce816d780c15..1bb2cbbace0d 100644 --- a/www/chromium/files/patch-components_regional__capabilities_regional__capabilities__service.h +++ b/www/chromium/files/patch-components_regional__capabilities_regional__capabilities__service.h @@ -1,11 +1,11 @@ ---- components/regional_capabilities/regional_capabilities_service.h.orig 2026-04-09 06:05:42 UTC +--- components/regional_capabilities/regional_capabilities_service.h.orig 2026-07-01 06:24:19 UTC +++ components/regional_capabilities/regional_capabilities_service.h -@@ -117,7 +117,7 @@ class RegionalCapabilitiesService : public KeyedServic - static bool IsInSearchEngineChoiceScreenRegion( +@@ -123,7 +123,7 @@ class RegionalCapabilitiesService : public KeyedServic + static bool IsInAnySearchEngineChoiceScreenRegion( const country_codes::CountryId& tested_country_id); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Returns whether the country obtained from the client is associated with // a region in which we can show a search engine choice screen. // diff --git a/www/chromium/files/patch-components_search__engines_template__url__service.cc b/www/chromium/files/patch-components_search__engines_template__url__service.cc index c7f3443877ac..651d3a932110 100644 --- a/www/chromium/files/patch-components_search__engines_template__url__service.cc +++ b/www/chromium/files/patch-components_search__engines_template__url__service.cc @@ -1,11 +1,11 @@ ---- components/search_engines/template_url_service.cc.orig 2026-05-07 17:02:56 UTC +--- components/search_engines/template_url_service.cc.orig 2026-07-01 06:24:19 UTC +++ components/search_engines/template_url_service.cc -@@ -3667,7 +3667,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider( +@@ -3716,7 +3716,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider( std::unique_ptr TemplateURLService::GetEnterpriseSearchManager(PrefService* prefs) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return std::make_unique( prefs, base::BindRepeating(&TemplateURLService::EnterpriseSearchChanged, base::Unretained(this))); diff --git a/www/chromium/files/patch-components_signin_internal_identity__manager_account__capabilities__list.h b/www/chromium/files/patch-components_signin_internal_identity__manager_account__capabilities__list.h index dad8ec323827..af8fae712b21 100644 --- a/www/chromium/files/patch-components_signin_internal_identity__manager_account__capabilities__list.h +++ b/www/chromium/files/patch-components_signin_internal_identity__manager_account__capabilities__list.h @@ -1,11 +1,11 @@ ---- components/signin/internal/identity_manager/account_capabilities_list.h.orig 2026-05-07 17:02:56 UTC +--- components/signin/internal/identity_manager/account_capabilities_list.h.orig 2026-07-01 06:24:19 UTC +++ components/signin/internal/identity_manager/account_capabilities_list.h -@@ -71,7 +71,7 @@ ACCOUNT_CAPABILITY( - CAN_SHOW_HISTORY_SYNC_OPT_INS_WITHOUT_MINOR_MODE_RESTRICTIONS_CAPABILITY_NAME, +@@ -72,7 +72,7 @@ ACCOUNT_CAPABILITY( "accountcapabilities/gi2tklldmfya") --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_IOS) ++ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) ACCOUNT_CAPABILITY(kCanSubmitFeedbackInChromeCapabilityName, CAN_SUBMIT_FEEDBACK_IN_CHROME_CAPABILITY_NAME, "accountcapabilities/gizdqmrnmnqxa") diff --git a/www/chromium/files/patch-components_signin_public_base_signin__switches.cc b/www/chromium/files/patch-components_signin_public_base_signin__switches.cc index a64cf0a850ac..8df13c01fd65 100644 --- a/www/chromium/files/patch-components_signin_public_base_signin__switches.cc +++ b/www/chromium/files/patch-components_signin_public_base_signin__switches.cc @@ -1,115 +1,103 @@ ---- components/signin/public/base/signin_switches.cc.orig 2026-06-04 10:12:25 UTC +--- components/signin/public/base/signin_switches.cc.orig 2026-07-01 06:24:19 UTC +++ components/signin/public/base/signin_switches.cc -@@ -28,7 +28,7 @@ const char kForceFreDefaultBrowserStep[] = "force-fre- +@@ -33,7 +33,7 @@ const char kForceFreFeatureShowcaseSteps[] = "force-fr #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) // Feature param to pass probability for identity surveys. constexpr char kHatsSurveyProbabilityName[] = "probability"; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || -@@ -76,7 +76,7 @@ base::TimeDelta GetAvatarSyncPromoFeatureMinimumCookeA +@@ -81,7 +81,7 @@ base::TimeDelta GetAvatarSyncPromoFeatureMinimumCookeA #endif } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kBeforeFirstRunDesktopRefreshSurvey, base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -143,7 +143,7 @@ BASE_FEATURE_PARAM(double, +@@ -148,7 +148,7 @@ BASE_FEATURE_PARAM(double, 0.42); #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) constexpr double kMediumSurveyProbability = 0.08; constexpr double kLowSurveyProbability = 0.008; BASE_FEATURE(kChromeIdentitySurveyAddressBubbleSignin, -@@ -235,7 +235,7 @@ BASE_FEATURE_PARAM( +@@ -240,7 +240,7 @@ BASE_FEATURE_PARAM( kMediumSurveyProbability); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kChromeIdentitySurveyLaunchWithDelay, base::FEATURE_ENABLED_BY_DEFAULT); BASE_FEATURE_PARAM(base::TimeDelta, -@@ -251,7 +251,7 @@ const base::FeatureParam kCrossDeviceSign +@@ -261,7 +261,7 @@ const base::FeatureParam kCrossDeviceSign "url", ""}; #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kDisableU18FeedbackDesktop, base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -438,7 +438,7 @@ const base::FeatureParam +@@ -474,7 +474,7 @@ const base::FeatureParam base::Hours(8)}; #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kFirstRunDesktopRefresh, base::FEATURE_DISABLED_BY_DEFAULT); BASE_FEATURE(kFirstRunDesktopChoiceScreenRefresh, base::FEATURE_DISABLED_BY_DEFAULT); -@@ -466,11 +466,11 @@ constexpr base::FeatureParam::Option - kProfilePickerVariations[] = { -@@ -580,7 +580,7 @@ BASE_FEATURE(kRestrictDeviceManagementServiceOAuthScop + BASE_FEATURE(kProfileCreationDeclineSigninCTAExperiment, base::FEATURE_ENABLED_BY_DEFAULT); - #endif // !BUILDFLAG(IS_ANDROID) - --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - BASE_FEATURE(kShowProfilePickerToAllUsersExperiment, - base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -601,7 +601,7 @@ const base::FeatureParam kContextualSigninPromoDi +@@ -619,7 +619,7 @@ const base::FeatureParam kContextualSigninPromoDi "contextual_signin_promo_dismissed_threshold", 2); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kSignInPromoMaterialNextUI, base::FEATURE_ENABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -671,7 +671,7 @@ BASE_FEATURE(kStableDeviceId, base::FEATURE_DISABLED_B +@@ -689,7 +689,7 @@ BASE_FEATURE(kStableDeviceId, base::FEATURE_DISABLED_B BASE_FEATURE(kSupportAddSessionEmailPrefill, base::FEATURE_ENABLED_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) // Kill switch for displaying sign-in errors in the profile picker. BASE_FEATURE(kSupportErrorsInProfilePicker, base::FEATURE_ENABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-components_signin_public_base_signin__switches.h b/www/chromium/files/patch-components_signin_public_base_signin__switches.h index 8c6a99641d78..8bfda7f66293 100644 --- a/www/chromium/files/patch-components_signin_public_base_signin__switches.h +++ b/www/chromium/files/patch-components_signin_public_base_signin__switches.h @@ -1,101 +1,101 @@ ---- components/signin/public/base/signin_switches.h.orig 2026-06-04 10:12:25 UTC +--- components/signin/public/base/signin_switches.h.orig 2026-07-01 06:24:19 UTC +++ components/signin/public/base/signin_switches.h -@@ -55,7 +55,7 @@ bool IsAvatarSyncPromoFeatureEnabled(); +@@ -58,7 +58,7 @@ bool IsAvatarSyncPromoFeatureEnabled(); COMPONENT_EXPORT(SIGNIN_SWITCHES) base::TimeDelta GetAvatarSyncPromoFeatureMinimumCookeAgeParam(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // A HaTS survey flag for the survey to gather user feedback before any changes // to the FRE as part of Chrome Desktop FRE Refresh project. // -@@ -124,7 +124,7 @@ BASE_DECLARE_FEATURE_PARAM( +@@ -127,7 +127,7 @@ BASE_DECLARE_FEATURE_PARAM( kChromeAndroidIdentitySurveyBookmarkPromoProbability); #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Enables surveys to measure the effectiveness of the identity model. // These surveys would be displayed after interactions such as signin, profile // switching, etc. Please keep sorted alphabetically. -@@ -201,7 +201,7 @@ BASE_DECLARE_FEATURE_PARAM( +@@ -204,7 +204,7 @@ BASE_DECLARE_FEATURE_PARAM( // LINT.ThenChange(//chrome/browser/signin/signin_hats_util.cc) #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Controls the duration for which the launch of an identity survey is delayed. COMPONENT_EXPORT(SIGNIN_SWITCHES) BASE_DECLARE_FEATURE(kChromeIdentitySurveyLaunchWithDelay); -@@ -219,7 +219,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES) +@@ -229,7 +229,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES) extern const base::FeatureParam kCrossDeviceSigninUrl; #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // If enabled, disables feedback for U18 users on desktop platforms. - // The iOS version is kDisableU18FeedbackIos flag. + // The iOS version is kDisableFeedbackForIneligibleUsers flag. COMPONENT_EXPORT(SIGNIN_SWITCHES) -@@ -349,7 +349,7 @@ extern const base::FeatureParam +@@ -377,7 +377,7 @@ extern const base::FeatureParam kPolicyDisclaimerRegistrationRetryDelay; #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // This feature controls running visually refreshed first run and profile // creation flows for users outside of the search engine choice regions. To // enable the refresh in search engine choice screen regions, -@@ -403,7 +403,7 @@ extern const base::FeatureParam kContextualSignin +@@ -598,7 +598,7 @@ extern const base::FeatureParam kContextualSignin COMPONENT_EXPORT(SIGNIN_SWITCHES) extern const base::FeatureParam kContextualSigninPromoDismissedThreshold; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Uses the Material Next theme for the signin promo. COMPONENT_EXPORT(SIGNIN_SWITCHES) BASE_DECLARE_FEATURE(kSignInPromoMaterialNextUI); -@@ -635,7 +635,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES) +@@ -653,7 +653,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES) BASE_DECLARE_FEATURE(kSupportAddSessionEmailPrefill); #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Kill switch for displaying sign-in errors in the profile picker. COMPONENT_EXPORT(SIGNIN_SWITCHES) BASE_DECLARE_FEATURE(kSupportErrorsInProfilePicker); diff --git a/www/chromium/files/patch-components_signin_public_identity__manager_account__capabilities.cc b/www/chromium/files/patch-components_signin_public_identity__manager_account__capabilities.cc index a153b5315402..22df58744cfe 100644 --- a/www/chromium/files/patch-components_signin_public_identity__manager_account__capabilities.cc +++ b/www/chromium/files/patch-components_signin_public_identity__manager_account__capabilities.cc @@ -1,11 +1,11 @@ ---- components/signin/public/identity_manager/account_capabilities.cc.orig 2026-05-07 17:02:56 UTC +--- components/signin/public/identity_manager/account_capabilities.cc.orig 2026-07-01 06:24:19 UTC +++ components/signin/public/identity_manager/account_capabilities.cc -@@ -145,7 +145,7 @@ signin::Tribool AccountCapabilities::can_sign_in_to_ch - } +@@ -146,7 +146,7 @@ signin::Tribool AccountCapabilities::can_sign_in_to_ch #endif --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_IOS) ++ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) signin::Tribool AccountCapabilities::can_submit_feedback() const { return GetCapabilityByName(kCanSubmitFeedbackInChromeCapabilityName); } diff --git a/www/chromium/files/patch-components_signin_public_identity__manager_account__capabilities.h b/www/chromium/files/patch-components_signin_public_identity__manager_account__capabilities.h index 79faa31c618b..b4001c34d53f 100644 --- a/www/chromium/files/patch-components_signin_public_identity__manager_account__capabilities.h +++ b/www/chromium/files/patch-components_signin_public_identity__manager_account__capabilities.h @@ -1,11 +1,11 @@ ---- components/signin/public/identity_manager/account_capabilities.h.orig 2026-05-07 17:02:56 UTC +--- components/signin/public/identity_manager/account_capabilities.h.orig 2026-07-01 06:24:19 UTC +++ components/signin/public/identity_manager/account_capabilities.h -@@ -88,7 +88,7 @@ class AccountCapabilities { - signin::Tribool can_sign_in_to_chrome() const; +@@ -89,7 +89,7 @@ class AccountCapabilities { #endif --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_IOS) ++ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) // Whether the account can submit feedback. For iOS, this is implemented by // Aloha FeedbackKit. For Android, this is implemented by GMS Core. signin::Tribool can_submit_feedback() const; diff --git a/www/chromium/files/patch-components_supervised__user_core_common_features.cc b/www/chromium/files/patch-components_supervised__user_core_common_features.cc index 506646ad08d6..6000010f2eac 100644 --- a/www/chromium/files/patch-components_supervised__user_core_common_features.cc +++ b/www/chromium/files/patch-components_supervised__user_core_common_features.cc @@ -1,20 +1,20 @@ ---- components/supervised_user/core/common/features.cc.orig 2026-06-04 10:12:25 UTC +--- components/supervised_user/core/common/features.cc.orig 2026-07-01 06:24:19 UTC +++ components/supervised_user/core/common/features.cc @@ -30,7 +30,7 @@ BASE_FEATURE(kAllowSubframeLocalWebApprovals, #endif #if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) const int kLocalWebApprovalBottomSheetLoadTimeoutDefaultValueMs = 5000; const base::FeatureParam kLocalWebApprovalBottomSheetLoadTimeoutMs{ -@@ -75,7 +75,7 @@ bool IsLocalWebApprovalsEnabledForSubframes() { +@@ -68,7 +68,7 @@ bool IsLocalWebApprovalsEnabledForSubframes() { return base::FeatureList::IsEnabled(kAllowSubframeLocalWebApprovals); } -#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(kEnableSupervisedUserVersionSignOutDialog, base::FEATURE_ENABLED_BY_DEFAULT); #endif diff --git a/www/chromium/files/patch-components_sync_service_sync__prefs.cc b/www/chromium/files/patch-components_sync_service_sync__prefs.cc index c3e4e517590b..bc90d150300a 100644 --- a/www/chromium/files/patch-components_sync_service_sync__prefs.cc +++ b/www/chromium/files/patch-components_sync_service_sync__prefs.cc @@ -1,11 +1,11 @@ ---- components/sync/service/sync_prefs.cc.orig 2026-06-04 10:12:25 UTC +--- components/sync/service/sync_prefs.cc.orig 2026-07-01 06:24:19 UTC +++ components/sync/service/sync_prefs.cc -@@ -871,7 +871,7 @@ bool SyncPrefs::MaybeMigratePrefsForSyncToSigninPart1( +@@ -884,7 +884,7 @@ bool SyncPrefs::MaybeMigratePrefsForSyncToSigninPart1( update_selected_types_dict->EnsureDict( signin::GaiaIdHash::FromGaiaId(gaia_id).ToBase64()); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Preserve the user's existing enabled state for Bookmarks, Reading List, // and Preferences. Otherwise, use the default value, which will be true // after `kReplaceSyncPromosWithSignInPromos`. diff --git a/www/chromium/files/patch-components_sync_service_sync__service__impl.cc b/www/chromium/files/patch-components_sync_service_sync__service__impl.cc deleted file mode 100644 index a6f7d9b6e29c..000000000000 --- a/www/chromium/files/patch-components_sync_service_sync__service__impl.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- components/sync/service/sync_service_impl.cc.orig 2026-03-13 06:02:14 UTC -+++ components/sync/service/sync_service_impl.cc -@@ -1393,7 +1393,7 @@ void SyncServiceImpl::ReconfigureDataTypesDueToCrypto( - - void SyncServiceImpl::PassphraseTypeChanged(PassphraseType passphrase_type) { - DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); --#if !(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)) -+#if !(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) - // If kReplaceSyncPromosWithSignInPromos is enabled, new users with custom - // passphrase should have kAutofill disabled upon the initial sign-in. This is - // done to prevent confusion, as addresses are NOT encrypted by the custom diff --git a/www/chromium/files/patch-components_user__education_views_help__bubble__view.cc b/www/chromium/files/patch-components_user__education_views_help__bubble__view.cc index c3eb74f02732..a2889b3076c0 100644 --- a/www/chromium/files/patch-components_user__education_views_help__bubble__view.cc +++ b/www/chromium/files/patch-components_user__education_views_help__bubble__view.cc @@ -1,29 +1,29 @@ ---- components/user_education/views/help_bubble_view.cc.orig 2026-05-07 17:02:56 UTC +--- components/user_education/views/help_bubble_view.cc.orig 2026-07-01 06:24:19 UTC +++ components/user_education/views/help_bubble_view.cc -@@ -269,7 +269,7 @@ DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(HelpBubbleView, +@@ -272,7 +272,7 @@ DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(HelpBubbleView, // TODO(https://crbug.com/382611284): Temporarily handle the case when the // primary window is minimized by closing the help bubble. Remove this code when // the issue is solved at the Views framework level. -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) class HelpBubbleView::PrimaryWidgetObserver : public views::WidgetObserver { public: explicit PrimaryWidgetObserver(HelpBubbleView& help_bubble) -@@ -748,7 +748,7 @@ void HelpBubbleView::InitializeAndShow(bool visible_ar +@@ -751,7 +751,7 @@ void HelpBubbleView::InitializeAndShow(bool visible_ar event_relay_->Init(this); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) primary_widget_observer_ = std::make_unique(*this); #endif -@@ -865,7 +865,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect() const { +@@ -868,7 +868,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect() const { void HelpBubbleView::OnBeforeBubbleWidgetInit(views::Widget::InitParams* params, views::Widget* widget) const { BubbleDialogDelegateView::OnBeforeBubbleWidgetInit(params, widget); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_BSD) // Help bubbles anchored to menus may be clipped to their anchors' bounds, // resulting in visual errors, unless they use accelerated rendering. See // crbug.com/1445770 for details. This also applies to bubbles anchored to diff --git a/www/chromium/files/patch-components_variations_service_variations__service.cc b/www/chromium/files/patch-components_variations_service_variations__service.cc index da1ea3e24abc..82a824cc58d8 100644 --- a/www/chromium/files/patch-components_variations_service_variations__service.cc +++ b/www/chromium/files/patch-components_variations_service_variations__service.cc @@ -1,11 +1,11 @@ ---- components/variations/service/variations_service.cc.orig 2026-06-04 10:12:25 UTC +--- components/variations/service/variations_service.cc.orig 2026-07-01 06:24:19 UTC +++ components/variations/service/variations_service.cc -@@ -101,7 +101,7 @@ std::string GetPlatformString() { +@@ -102,7 +102,7 @@ std::string GetPlatformString() { return "android"; #elif BUILDFLAG(IS_FUCHSIA) return "fuchsia"; -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_SOLARIS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_SOLARIS) || BUILDFLAG(IS_BSD) // Default BSD and SOLARIS to Linux to not break those builds, although these // platforms are not officially supported by Chrome. return "linux"; diff --git a/www/chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc b/www/chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc index 2154dc33028f..b62980e97b74 100644 --- a/www/chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc +++ b/www/chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc @@ -1,20 +1,20 @@ ---- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2026-06-04 10:12:25 UTC +--- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2026-07-01 06:24:19 UTC +++ components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc @@ -142,7 +142,7 @@ RootCompositorFrameSinkImpl::Create( output_surface->SetNeedsSwapSizeNotifications( params->send_swap_size_notifications); -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(SUPPORTS_OZONE_X11) // 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); -@@ -932,7 +932,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw +@@ -934,7 +934,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw if (display_client_ && enable_swap_completion_callback_) { display_client_->DidCompleteSwapWithSize(pixel_size); } -#elif BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11) +#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(SUPPORTS_OZONE_X11) if (display_client_ && pixel_size != last_swap_pixel_size_) { last_swap_pixel_size_ = pixel_size; display_client_->DidCompleteSwapWithNewSize(last_swap_pixel_size_); diff --git a/www/chromium/files/patch-components_viz_service_gl_gpu__service__impl.cc b/www/chromium/files/patch-components_viz_service_gl_gpu__service__impl.cc index 563d26926729..da5eeefd887b 100644 --- a/www/chromium/files/patch-components_viz_service_gl_gpu__service__impl.cc +++ b/www/chromium/files/patch-components_viz_service_gl_gpu__service__impl.cc @@ -1,20 +1,20 @@ ---- components/viz/service/gl/gpu_service_impl.cc.orig 2026-06-04 10:12:25 UTC +--- components/viz/service/gl/gpu_service_impl.cc.orig 2026-07-01 06:24:19 UTC +++ components/viz/service/gl/gpu_service_impl.cc -@@ -460,7 +460,7 @@ void GpuServiceImpl::InitializeWithHostInternal( +@@ -458,7 +458,7 @@ void GpuServiceImpl::InitializeWithHostInternal( mojo::Remote gpu_host(std::move(pending_gpu_host)); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) gpu_extra_info_.is_gmb_nv12_supported = IsGMBNV12Supported(); #endif -@@ -1250,7 +1250,7 @@ bool GpuServiceImpl::OnBeginFrameDerivedImpl(const Beg +@@ -1248,7 +1248,7 @@ bool GpuServiceImpl::OnBeginFrameDerivedImpl(const Beg return true; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool GpuServiceImpl::IsGMBNV12Supported() { CHECK(main_runner_->BelongsToCurrentThread()); diff --git a/www/chromium/files/patch-content_browser_BUILD.gn b/www/chromium/files/patch-content_browser_BUILD.gn index 539e8af4ba84..746213d67cb8 100644 --- a/www/chromium/files/patch-content_browser_BUILD.gn +++ b/www/chromium/files/patch-content_browser_BUILD.gn @@ -1,33 +1,33 @@ ---- content/browser/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- content/browser/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ content/browser/BUILD.gn -@@ -2654,6 +2654,14 @@ source_set("browser") { +@@ -2674,6 +2674,14 @@ source_set("browser") { ] } + if (is_bsd) { + sources += [ + "file_system_access/file_path_watcher/file_path_watcher_bsd.cc", + "file_system_access/file_path_watcher/file_path_watcher_kqueue.cc", + "file_system_access/file_path_watcher/file_path_watcher_kqueue.h", + ] + } + if (is_linux || is_chromeos) { sources -= [ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ] -@@ -2703,6 +2711,15 @@ source_set("browser") { +@@ -2723,6 +2731,15 @@ source_set("browser") { if (allow_oop_video_decoder) { sources += [ "media/oop_video_decoder_factory.cc" ] deps += [ "//media/mojo/mojom" ] + } + + if (is_bsd) { + sources -= [ + "file_system_access/file_path_watcher/file_path_watcher_inotify.cc", + "file_system_access/file_path_watcher/file_path_watcher_inotify.h", + "sandbox_ipc_linux.cc", + "sandbox_ipc_linux.h", + ] } if (is_p2p_enabled) { diff --git a/www/chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc b/www/chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc index cf3c6f8dfee2..8a1cd02d6bf8 100644 --- a/www/chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc +++ b/www/chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc @@ -1,11 +1,11 @@ ---- content/browser/accessibility/browser_accessibility_state_impl.cc.orig 2026-03-13 06:02:14 UTC +--- content/browser/accessibility/browser_accessibility_state_impl.cc.orig 2026-07-01 06:24:19 UTC +++ content/browser/accessibility/browser_accessibility_state_impl.cc -@@ -295,7 +295,7 @@ BrowserAccessibilityStateImpl* BrowserAccessibilitySta +@@ -285,7 +285,7 @@ BrowserAccessibilityStateImpl* BrowserAccessibilitySta // On Android, Mac, Windows and Linux there are platform-specific subclasses. #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_MAC) && \ - !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) + !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD) // static std::unique_ptr BrowserAccessibilityStateImpl::Create() { diff --git a/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc b/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc index ac8d58d0e202..c1cd9aeeae42 100644 --- a/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc +++ b/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc @@ -1,11 +1,11 @@ ---- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2026-06-04 10:12:25 UTC +--- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2026-07-01 06:24:19 UTC +++ content/browser/gpu/gpu_data_manager_impl_private.cc -@@ -1761,7 +1761,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode( +@@ -1751,7 +1751,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode( UMA_HISTOGRAM_ENUMERATION("GPU.CompositingMode", compositing_mode); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool GpuDataManagerImplPrivate::IsGpuMemoryBufferNV12Supported() { return gpu_extra_info_.is_gmb_nv12_supported; } diff --git a/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc b/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc index 01c7a1696e97..493e5f15934f 100644 --- a/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc +++ b/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc @@ -1,19 +1,19 @@ ---- content/browser/gpu/gpu_process_host.cc.orig 2026-06-04 10:12:25 UTC +--- content/browser/gpu/gpu_process_host.cc.orig 2026-07-01 06:24:19 UTC +++ content/browser/gpu/gpu_process_host.cc -@@ -286,6 +286,7 @@ static const char* const kSwitchNames[] = { +@@ -297,6 +297,7 @@ static const char* const kSwitchNames[] = { switches::kDisableSkiaGraphite, switches::kDisableSkiaGraphitePrecompilation, switches::kDisableLowEndDeviceMode, + switches::kDisableUnveil, switches::kProfilingAtStart, switches::kProfilingFile, switches::kProfilingFlush, -@@ -310,7 +311,7 @@ static const char* const kSwitchNames[] = { +@@ -321,7 +322,7 @@ static const char* const kSwitchNames[] = { switches::kEnableNativeGpuMemoryBuffers, switches::kRenderNodeOverride, #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) switches::kX11Display, switches::kNoXshm, #endif diff --git a/www/chromium/files/patch-content_browser_network__service__instance__impl.cc b/www/chromium/files/patch-content_browser_network__service__instance__impl.cc index dc17a21c9c4f..c6eca86254a6 100644 --- a/www/chromium/files/patch-content_browser_network__service__instance__impl.cc +++ b/www/chromium/files/patch-content_browser_network__service__instance__impl.cc @@ -1,29 +1,29 @@ ---- content/browser/network_service_instance_impl.cc.orig 2026-06-04 10:12:25 UTC +--- content/browser/network_service_instance_impl.cc.orig 2026-07-01 06:24:19 UTC +++ content/browser/network_service_instance_impl.cc @@ -94,7 +94,7 @@ #include "content/browser/network/network_service_process_tracker_win.h" #endif -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "content/browser/system_dns_resolution/system_dns_resolver.h" #include "services/network/public/mojom/system_dns_resolution.mojom-forward.h" #endif -@@ -459,7 +459,7 @@ void CreateInProcessNetworkService( +@@ -458,7 +458,7 @@ void CreateInProcessNetworkService( })); } -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Runs a self-owned SystemDnsResolverMojoImpl. This is meant to run on a // high-priority thread pool. void RunSystemDnsResolverOnThreadPool( -@@ -525,7 +525,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS +@@ -524,7 +524,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS } #endif // BUILDFLAG(IS_POSIX) -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (GetContentClient() ->browser() ->ShouldRunOutOfProcessSystemDnsResolution() && diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc b/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc index b3a4f0921b28..68b39593a992 100644 --- a/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc +++ b/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc @@ -1,55 +1,55 @@ ---- content/browser/renderer_host/render_process_host_impl.cc.orig 2026-06-04 10:12:25 UTC +--- content/browser/renderer_host/render_process_host_impl.cc.orig 2026-07-01 06:24:19 UTC +++ content/browser/renderer_host/render_process_host_impl.cc -@@ -227,7 +227,7 @@ +@@ -229,7 +229,7 @@ #include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck -@@ -1190,7 +1190,7 @@ static constexpr size_t kUnknownPlatformProcessLimit = +@@ -1192,7 +1192,7 @@ static constexpr size_t kUnknownPlatformProcessLimit = // to indicate failure and std::numeric_limits::max() to indicate // unlimited. size_t GetPlatformProcessLimit() { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) struct rlimit limit; if (getrlimit(RLIMIT_NPROC, &limit) != 0) return kUnknownPlatformProcessLimit; -@@ -1450,7 +1450,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost +@@ -1452,7 +1452,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost void RenderProcessHostImpl::IOThreadHostImpl::SetPid( base::ProcessId child_pid) { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) child_thread_type_switcher_.SetPid(child_pid); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) } -@@ -3776,7 +3776,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine( +@@ -3779,7 +3779,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine( base::TimeTicks::UnixEpoch().since_origin().InMicroseconds())); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Append `kDisableVideoCaptureUseGpuMemoryBuffer` flag if there is no support // for NV12 GPU memory buffer. if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled() && -@@ -3834,6 +3834,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin +@@ -3837,6 +3837,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin switches::kDisableSkiaRuntimeOpts, switches::kDisableSpeechAPI, switches::kDisableThreadedCompositing, + switches::kDisableUnveil, switches::kDisableV8IdleTasks, switches::kDisableVideoCaptureUseGpuMemoryBuffer, switches::kDomAutomationController, -@@ -5793,7 +5794,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr +@@ -5796,7 +5797,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) || \ - BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) total_size = dump->platform_private_footprint->rss_anon_bytes + dump->platform_private_footprint->vm_swap_bytes; #elif BUILDFLAG(IS_APPLE) diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc b/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc index afdcdb616903..1430bd4116a9 100644 --- a/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc +++ b/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc @@ -1,47 +1,47 @@ ---- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2026-06-15 11:53:21 UTC +--- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2026-07-01 06:24:19 UTC +++ content/browser/renderer_host/render_widget_host_view_aura.cc @@ -132,7 +132,7 @@ #include "ui/gfx/win/gdi_util.h" #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/accessibility/platform/browser_accessibility_auralinux.h" #include "ui/base/ime/linux/text_edit_command_auralinux.h" #include "ui/base/ime/text_input_flags.h" @@ -578,7 +578,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge return ToBrowserAccessibilityWin(manager->GetBrowserAccessibilityRoot()) ->GetCOM(); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ui::BrowserAccessibilityManager* manager = host()->GetOrCreateRootBrowserAccessibilityManager(); if (manager && manager->GetBrowserAccessibilityRoot()) -@@ -2052,7 +2052,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() { +@@ -2048,7 +2048,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() { return host() && host()->delegate() && host()->delegate()->ShouldDoLearning(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool RenderWidgetHostViewAura::SetCompositionFromExistingText( const gfx::Range& range, const std::vector& ui_ime_text_spans) { -@@ -3099,7 +3099,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() { +@@ -3113,7 +3113,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() { } bool RenderWidgetHostViewAura::NeedsMouseCapture() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return NeedsInputGrab(); #else return false; -@@ -3311,7 +3311,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit +@@ -3330,7 +3330,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit if (!target_host) return; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto* linux_ui = ui::LinuxUi::instance(); if (!event.skip_if_unhandled && linux_ui && event.os_event) { const auto command = linux_ui->GetTextEditCommandForEvent( diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.h b/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.h index fae5dccc9fa4..4651f4f0efe5 100644 --- a/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.h +++ b/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.h @@ -1,11 +1,11 @@ ---- content/browser/renderer_host/render_widget_host_view_aura.h.orig 2026-06-04 10:12:25 UTC +--- content/browser/renderer_host/render_widget_host_view_aura.h.orig 2026-07-01 06:24:19 UTC +++ content/browser/renderer_host/render_widget_host_view_aura.h -@@ -291,7 +291,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura +@@ -293,7 +293,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura ukm::SourceId GetClientSourceForMetrics() const override; bool ShouldDoLearning() override; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool SetCompositionFromExistingText( const gfx::Range& range, const std::vector& ui_ime_text_spans) override; diff --git a/www/chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc b/www/chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc index 1a2d1d79169d..3f2262402911 100644 --- a/www/chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc +++ b/www/chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc @@ -1,29 +1,29 @@ ---- content/browser/web_contents/web_contents_view_aura.cc.orig 2026-06-04 10:12:25 UTC +--- content/browser/web_contents/web_contents_view_aura.cc.orig 2026-07-01 06:24:19 UTC +++ content/browser/web_contents/web_contents_view_aura.cc @@ -188,7 +188,7 @@ class WebDragSourceAura : public content::WebContentsO raw_ptr window_; }; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Fill out the OSExchangeData with a file contents, synthesizing a name if // necessary. void PrepareDragForFileContents(const DropData& drop_data, @@ -268,7 +268,7 @@ void PrepareDragData(RenderFrameHost& source_rfh, PrepareDragForDownload(source_rfh, drop_data, provider); } #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // We set the file contents before the URL because the URL also sets file // contents (to a .URL shortcut). We want to prefer file content data over // a shortcut so we add it first. -@@ -1444,7 +1444,7 @@ void WebContentsViewAura::OnMouseEvent(ui::MouseEvent* +@@ -1455,7 +1455,7 @@ void WebContentsViewAura::OnMouseEvent(ui::MouseEvent* // Linux window managers like to handle raise-on-click themselves. If we // raise-on-click manually, this may override user settings that prevent // focus-stealing. -#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD) // It is possible for the web-contents to be destroyed while it is being // activated. Use a weak-ptr to track whether that happened or not. // More in https://crbug.com/1040725 diff --git a/www/chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc b/www/chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc index 0cdf84faa069..a1a6778f5881 100644 --- a/www/chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc +++ b/www/chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc @@ -1,74 +1,74 @@ ---- content/browser/web_contents/web_contents_view_aura_unittest.cc.orig 2026-03-13 06:02:14 UTC +--- content/browser/web_contents/web_contents_view_aura_unittest.cc.orig 2026-07-01 06:24:19 UTC +++ content/browser/web_contents/web_contents_view_aura_unittest.cc -@@ -42,7 +42,7 @@ +@@ -45,7 +45,7 @@ #include "ui/base/dragdrop/os_exchange_data_provider_win.h" #endif -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(SUPPORTS_OZONE_X11) #include "ui/base/x/selection_utils.h" #include "ui/base/x/x11_os_exchange_data_provider.h" #include "ui/gfx/x/atom_cache.h" -@@ -98,7 +98,7 @@ class TestDragDropClient : public aura::client::DragDr - drag_drop_data_ = std::move(data); +@@ -103,7 +103,7 @@ class TestDragDropClient : public aura::client::DragDr + last_source_ = source; return DragOperation::kCopy; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void UpdateDragImage(const gfx::ImageSkia& image, const gfx::Vector2d& offset) override {} #endif -@@ -236,7 +236,7 @@ TEST_F(WebContentsViewAuraTest, WebContentsDestroyedDu +@@ -249,7 +249,7 @@ TEST_F(WebContentsViewAuraTest, WebContentsDestroyedDu ui::EF_LEFT_MOUSE_BUTTON, 0); ui::EventHandler* event_handler = GetView(); event_handler->OnMouseEvent(&mouse_event); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // The web-content is not activated during mouse-press on Linux. // See comment in WebContentsViewAura::OnMouseEvent() for more details. EXPECT_NE(web_contents(), nullptr); -@@ -302,7 +302,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) { +@@ -315,7 +315,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) { view->OnDragEntered(event); ASSERT_NE(nullptr, view->current_drag_data_); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // By design, Linux implementations return an empty string if file data // is also present. EXPECT_TRUE(!view->current_drag_data_->text || -@@ -342,7 +342,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) { +@@ -355,7 +355,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) { CheckDropData(view); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // By design, Linux implementations returns an empty string if file data // is also present. EXPECT_TRUE(!drop_complete_data_->drop_data.text || -@@ -400,7 +400,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri +@@ -413,7 +413,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri view->OnDragEntered(event); ASSERT_NE(nullptr, view->current_drag_data_); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // By design, Linux implementations return an empty string if file data // is also present. EXPECT_TRUE(!view->current_drag_data_->text || -@@ -432,7 +432,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri +@@ -445,7 +445,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri CheckDropData(view); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // By design, Linux implementations returns an empty string if file data is // also present. EXPECT_TRUE(!drop_complete_data_->drop_data.text || -@@ -463,7 +463,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropImageFro +@@ -477,7 +477,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropImageFro auto data = std::make_unique(); -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(SUPPORTS_OZONE_X11) // FileContents drag-drop in X relies on XDragDropClient::InitDrag() setting // window property 'XdndDirectSave0' to filename. Since XDragDropClient is not // created in this unittest, we will set this property manually to allow diff --git a/www/chromium/files/patch-content_child_child__process.cc b/www/chromium/files/patch-content_child_child__process.cc index 7fd4839d80ae..74b5b35e94b7 100644 --- a/www/chromium/files/patch-content_child_child__process.cc +++ b/www/chromium/files/patch-content_child_child__process.cc @@ -1,20 +1,20 @@ ---- content/child/child_process.cc.orig 2026-03-13 06:02:14 UTC +--- content/child/child_process.cc.orig 2026-07-01 06:24:19 UTC +++ content/child/child_process.cc -@@ -36,7 +36,7 @@ +@@ -37,7 +37,7 @@ #include "content/common/android/cpu_time_metrics.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "content/child/sandboxed_process_thread_type_handler.h" #endif @@ -204,7 +204,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th main_thread_.reset(thread); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) void ChildProcess::SetIOThreadType(base::ThreadType thread_type) { if (!io_thread_) { return; diff --git a/www/chromium/files/patch-content_common_BUILD.gn b/www/chromium/files/patch-content_common_BUILD.gn index 900d86310942..c7a391e231c9 100644 --- a/www/chromium/files/patch-content_common_BUILD.gn +++ b/www/chromium/files/patch-content_common_BUILD.gn @@ -1,36 +1,36 @@ ---- content/common/BUILD.gn.orig 2026-05-07 17:02:56 UTC +--- content/common/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ content/common/BUILD.gn -@@ -371,19 +371,28 @@ source_set("common") { +@@ -367,19 +367,28 @@ source_set("common") { } if (is_linux || is_chromeos) { - sources += [ - "gpu_pre_sandbox_hook_linux.cc", - "gpu_pre_sandbox_hook_linux.h", - ] + if (is_bsd) { + sources += [ + "gpu_pre_sandbox_hook_bsd.cc", + "gpu_pre_sandbox_hook_bsd.h", + ] + } else { + sources += [ + "gpu_pre_sandbox_hook_linux.cc", + "gpu_pre_sandbox_hook_linux.h", + ] + } public_deps += [ "//sandbox/policy" ] deps += [ ":sandbox_support_linux", "//media/gpu:buildflags", "//sandbox/linux:sandbox_services", - "//sandbox/linux:seccomp_bpf", "//sandbox/policy:chromecast_sandbox_allowlist_buildflags", "//third_party/fontconfig", ] + if (use_seccomp_bpf) { + deps += [ "//sandbox/linux:seccomp_bpf" ] + } if (use_v4l2_codec) { deps += [ "//media/gpu/v4l2" ] } diff --git a/www/chromium/files/patch-content_common_features.cc b/www/chromium/files/patch-content_common_features.cc index dc0c5532ef34..ce26ba24af5b 100644 --- a/www/chromium/files/patch-content_common_features.cc +++ b/www/chromium/files/patch-content_common_features.cc @@ -1,40 +1,40 @@ ---- content/common/features.cc.orig 2026-06-04 10:12:25 UTC +--- content/common/features.cc.orig 2026-07-01 06:24:19 UTC +++ content/common/features.cc -@@ -215,7 +215,7 @@ BASE_FEATURE(kDumpOnUnexpectedOriginHeader, base::FEAT +@@ -204,7 +204,7 @@ BASE_FEATURE(kKillOnUnexpectedOriginHeader, base::FEAT BASE_FEATURE(kEmbeddingRequiresOptIn, base::FEATURE_DISABLED_BY_DEFAULT); // Enables error reporting for JS errors inside DevTools frontend host -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) BASE_FEATURE(kEnableDevToolsJsErrorReporting, base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -326,12 +326,12 @@ BASE_FEATURE_ENUM_PARAM(FontDataServiceTypefaceType, +@@ -308,12 +308,12 @@ BASE_FEATURE_ENUM_PARAM(FontDataServiceTypefaceType, FontDataServiceTypefaceType::kDwrite, &font_data_service_typeface); #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) const base::FeatureParam::Option font_data_service_typeface[] = { {FontDataServiceTypefaceType::kFreetype, "Freetype"}, {FontDataServiceTypefaceType::kFontations, "Fontations"}}; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kFontDataServiceLinux, base::FEATURE_ENABLED_BY_DEFAULT); BASE_FEATURE_ENUM_PARAM(FontDataServiceTypefaceType, kFontDataServiceTypefaceType, -@@ -350,11 +350,11 @@ BASE_FEATURE_ENUM_PARAM(FontDataServiceTypefaceType, +@@ -332,11 +332,11 @@ BASE_FEATURE_ENUM_PARAM(FontDataServiceTypefaceType, #endif // BUILDFLAG(IS_LINUX) #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool IsFontDataServiceEnabled() { #if BUILDFLAG(IS_WIN) return base::FeatureList::IsEnabled(features::kFontDataServiceAllWebContents); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return base::FeatureList::IsEnabled(features::kFontDataServiceLinux); #elif BUILDFLAG(IS_CHROMEOS) return base::FeatureList::IsEnabled(features::kFontDataServiceChromeOS); diff --git a/www/chromium/files/patch-content_common_features.h b/www/chromium/files/patch-content_common_features.h index a55d1e820ed1..d319d75eb7df 100644 --- a/www/chromium/files/patch-content_common_features.h +++ b/www/chromium/files/patch-content_common_features.h @@ -1,31 +1,31 @@ ---- content/common/features.h.orig 2026-06-04 10:12:25 UTC +--- content/common/features.h.orig 2026-07-01 06:24:19 UTC +++ content/common/features.h @@ -82,7 +82,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE( + kDocumentIsolationPolicyWithoutSiteIsolation); CONTENT_EXPORT BASE_DECLARE_FEATURE(kDocumentPolicyNegotiation); - CONTENT_EXPORT BASE_DECLARE_FEATURE(kDumpOnOriginHeaderMismatch); - CONTENT_EXPORT BASE_DECLARE_FEATURE(kDumpOnUnexpectedOriginHeader); + CONTENT_EXPORT BASE_DECLARE_FEATURE(kKillOnUnexpectedOriginHeader); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnableDevToolsJsErrorReporting); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnforceSameDocumentOriginInvariants); -@@ -121,8 +121,8 @@ enum class FontDataServiceTypefaceType { +@@ -120,8 +120,8 @@ enum class FontDataServiceTypefaceType { CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(FontDataServiceTypefaceType, kFontDataServiceTypefaceType); #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) CONTENT_EXPORT BASE_DECLARE_FEATURE(kFontDataServiceLinux); #else CONTENT_EXPORT BASE_DECLARE_FEATURE(kFontDataServiceChromeOS); -@@ -135,7 +135,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(FontDataServ +@@ -134,7 +134,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE_PARAM(FontDataServ kFontDataServiceTypefaceType); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool IsFontDataServiceEnabled(); #endif diff --git a/www/chromium/files/patch-content_gpu_gpu__main.cc b/www/chromium/files/patch-content_gpu_gpu__main.cc index 225adfbfdd8f..6fbb5b8cac94 100644 --- a/www/chromium/files/patch-content_gpu_gpu__main.cc +++ b/www/chromium/files/patch-content_gpu_gpu__main.cc @@ -1,73 +1,73 @@ ---- content/gpu/gpu_main.cc.orig 2026-05-07 17:02:56 UTC +--- content/gpu/gpu_main.cc.orig 2026-07-01 06:24:19 UTC +++ content/gpu/gpu_main.cc -@@ -108,10 +108,14 @@ +@@ -109,10 +109,14 @@ #include "sandbox/win/src/sandbox.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "content/child/sandboxed_process_thread_type_handler.h" #include "content/common/gpu_pre_sandbox_hook_linux.h" +#if BUILDFLAG(IS_BSD) +#include "sandbox/policy/sandbox.h" +#else #include "sandbox/policy/linux/sandbox_linux.h" +#endif #include "sandbox/policy/sandbox_type.h" #endif -@@ -129,7 +133,7 @@ namespace content { +@@ -130,7 +134,7 @@ namespace content { namespace { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool StartSandboxLinux(gpu::GpuWatchdogThread*, const gpu::GPUInfo*, const gpu::GpuPreferences&); -@@ -196,7 +200,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel +@@ -197,7 +201,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel const gpu::GPUInfo* gpu_info, const gpu::GpuPreferences& gpu_prefs) override { TRACE_EVENT("gpu,startup", "gpu_main::EnsureSandboxInitialized"); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs); #elif BUILDFLAG(IS_WIN) return StartSandboxWindows(sandbox_info_); -@@ -312,7 +316,7 @@ int GpuMain(MainFunctionParams parameters) { +@@ -313,7 +317,7 @@ int GpuMain(MainFunctionParams parameters) { std::make_unique( gpu_preferences.message_pump_type, /*is_main_thread=*/true); } -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #error "Unsupported Linux platform." #elif BUILDFLAG(IS_MAC) // Cross-process CoreAnimation requires a CFRunLoop to function at all, and -@@ -337,7 +341,8 @@ int GpuMain(MainFunctionParams parameters) { +@@ -338,7 +342,8 @@ int GpuMain(MainFunctionParams parameters) { base::PlatformThread::SetName("CrGpuMain"); mojo::InterfaceEndpointClient::SetThreadNameSuffixForMetrics("GpuMain"); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +// XXX BSD +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD) // 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. -@@ -489,7 +494,7 @@ int GpuMain(MainFunctionParams parameters) { +@@ -490,7 +495,7 @@ int GpuMain(MainFunctionParams parameters) { namespace { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread, const gpu::GPUInfo* gpu_info, const gpu::GpuPreferences& gpu_prefs) { -@@ -537,7 +542,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo +@@ -538,7 +543,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo sandbox_options.accelerated_video_encode_enabled = !gpu_prefs.disable_accelerated_video_encode; -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Video decoding of many video streams can use thousands of FDs as well as // Exo clients. // See https://crbug.com/1417237 diff --git a/www/chromium/files/patch-content_public_browser_content__browser__client.cc b/www/chromium/files/patch-content_public_browser_content__browser__client.cc index 60efc1892f46..3cd2d6697a64 100644 --- a/www/chromium/files/patch-content_public_browser_content__browser__client.cc +++ b/www/chromium/files/patch-content_public_browser_content__browser__client.cc @@ -1,11 +1,11 @@ ---- content/public/browser/content_browser_client.cc.orig 2026-06-04 10:12:25 UTC +--- content/public/browser/content_browser_client.cc.orig 2026-07-01 06:24:19 UTC +++ content/public/browser/content_browser_client.cc -@@ -1419,7 +1419,7 @@ bool ContentBrowserClient::ShouldRunOutOfProcessSystem +@@ -1431,7 +1431,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. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return true; #else return false; diff --git a/www/chromium/files/patch-content_public_common_content__features.cc b/www/chromium/files/patch-content_public_common_content__features.cc index 38f23482f5b6..940f344b8a49 100644 --- a/www/chromium/files/patch-content_public_common_content__features.cc +++ b/www/chromium/files/patch-content_public_common_content__features.cc @@ -1,45 +1,45 @@ ---- content/public/common/content_features.cc.orig 2026-06-04 10:12:25 UTC +--- content/public/common/content_features.cc.orig 2026-07-01 06:24:19 UTC +++ content/public/common/content_features.cc -@@ -144,7 +144,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup, base::FEATU +@@ -149,7 +149,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup, base::FEATU // Runs the audio service in a separate process. BASE_FEATURE(kAudioServiceOutOfProcess, -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -154,7 +154,7 @@ BASE_FEATURE(kAudioServiceOutOfProcess, +@@ -159,7 +159,7 @@ BASE_FEATURE(kAudioServiceOutOfProcess, // Enables the audio-service sandbox. This feature has an effect only when the // kAudioServiceOutOfProcess feature is enabled. BASE_FEATURE(kAudioServiceSandbox, -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -1186,10 +1186,10 @@ BASE_FEATURE(kWebAssemblyTiering, base::FEATURE_ENABLE +@@ -1230,10 +1230,10 @@ BASE_FEATURE(kWebAssemblyTiering, base::FEATURE_ENABLE // Enable WebAssembly trap handler. BASE_FEATURE(kWebAssemblyTrapHandler, -#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ +#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ BUILDFLAG(IS_MAC)) && \ defined(ARCH_CPU_X86_64)) || \ - ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)) && \ + ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)) && \ defined(ARCH_CPU_ARM64)) base::FEATURE_ENABLED_BY_DEFAULT #else -@@ -1250,7 +1250,11 @@ BASE_FEATURE(kWebUIInProcessResourceLoadingV2, +@@ -1294,7 +1294,11 @@ BASE_FEATURE(kWebUIInProcessResourceLoadingV2, // Controls whether the WebUSB API is enabled: // https://wicg.github.io/webusb +#if BUILDFLAG(IS_BSD) +BASE_FEATURE(kWebUsb, "WebUSB", base::FEATURE_DISABLED_BY_DEFAULT); +#else BASE_FEATURE(kWebUsb, "WebUSB", base::FEATURE_ENABLED_BY_DEFAULT); +#endif // Apply `PrefetchPriority::kHighest` for Webview Prefetch API. BASE_FEATURE(kWebViewPrefetchHighestPrefetchPriority, diff --git a/www/chromium/files/patch-content_public_common_content__switches.cc b/www/chromium/files/patch-content_public_common_content__switches.cc index 66f9ca234b5e..566408c79978 100644 --- a/www/chromium/files/patch-content_public_common_content__switches.cc +++ b/www/chromium/files/patch-content_public_common_content__switches.cc @@ -1,20 +1,20 @@ ---- content/public/common/content_switches.cc.orig 2026-06-04 10:12:25 UTC +--- content/public/common/content_switches.cc.orig 2026-07-01 06:24:19 UTC +++ content/public/common/content_switches.cc @@ -349,6 +349,8 @@ const char kEnableIsolatedWebAppsInRenderer[] = // builds. const char kEnableLogging[] = "enable-logging"; +const char kDisableUnveil[] = "disable-unveil"; + // 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. -@@ -947,7 +949,7 @@ const char kPreventResizingContentsForTesting[] = +@@ -949,7 +951,7 @@ const char kPreventResizingContentsForTesting[] = "prevent-resizing-contents-for-testing"; #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Allows sending text-to-speech requests to speech-dispatcher, a common // Linux speech service. Because it's buggy, the user must explicitly // enable it so that visiting a random webpage can't cause instability. diff --git a/www/chromium/files/patch-content_public_common_content__switches.h b/www/chromium/files/patch-content_public_common_content__switches.h index dcd650e9110d..c04149e9c86c 100644 --- a/www/chromium/files/patch-content_public_common_content__switches.h +++ b/www/chromium/files/patch-content_public_common_content__switches.h @@ -1,19 +1,19 @@ ---- content/public/common/content_switches.h.orig 2026-06-04 10:12:25 UTC +--- content/public/common/content_switches.h.orig 2026-07-01 06:24:19 UTC +++ content/public/common/content_switches.h @@ -108,6 +108,7 @@ CONTENT_EXPORT extern const char kEnableGpuMemoryBuffe CONTENT_EXPORT extern const char kEnableIsolatedWebAppsInRenderer[]; CONTENT_EXPORT extern const char kEnableLCDText[]; CONTENT_EXPORT extern const char kEnableLogging[]; +CONTENT_EXPORT extern const char kDisableUnveil[]; CONTENT_EXPORT extern const char kEnableNetworkInformationDownlinkMax[]; CONTENT_EXPORT extern const char kEnableCanvas2DLayers[]; CONTENT_EXPORT extern const char kEnablePluginPlaceholderTesting[]; -@@ -258,7 +259,7 @@ CONTENT_EXPORT extern const char kJavalessRenderers[]; +@@ -259,7 +260,7 @@ CONTENT_EXPORT extern const char kJavalessRenderers[]; CONTENT_EXPORT extern const char kPreventResizingContentsForTesting[]; #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; #endif diff --git a/www/chromium/files/patch-content_renderer_render__thread__impl.cc b/www/chromium/files/patch-content_renderer_render__thread__impl.cc index 522baee0940a..67e8ec89b457 100644 --- a/www/chromium/files/patch-content_renderer_render__thread__impl.cc +++ b/www/chromium/files/patch-content_renderer_render__thread__impl.cc @@ -1,38 +1,38 @@ ---- content/renderer/render_thread_impl.cc.orig 2026-06-04 10:12:25 UTC +--- content/renderer/render_thread_impl.cc.orig 2026-07-01 06:24:19 UTC +++ content/renderer/render_thread_impl.cc -@@ -205,6 +205,8 @@ +@@ -206,6 +206,8 @@ #if BUILDFLAG(IS_APPLE) #include +#elif BUILDFLAG(IS_BSD) +#include #else #include #endif -@@ -984,7 +986,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: +@@ -976,7 +978,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: viz::command_buffer_metrics::ContextType::MEDIA); const bool enable_video_decode_accelerator = -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FeatureList::IsEnabled(media::kAcceleratedVideoDecodeLinux) && #endif // BUILDFLAG(IS_LINUX) !cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode) && -@@ -993,7 +995,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: +@@ -985,7 +987,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: gpu::kGpuFeatureStatusEnabled); const bool enable_video_encode_accelerator = -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FeatureList::IsEnabled(media::kAcceleratedVideoEncodeLinux) && #else !cmd_line->HasSwitch(switches::kDisableAcceleratedVideoEncode) && -@@ -1741,7 +1743,7 @@ RenderThreadImpl::CreateMediaMojoCodecFactory( +@@ -1727,7 +1729,7 @@ RenderThreadImpl::CreateMediaMojoCodecFactory( bool enable_video_encode_accelerator) { mojo::PendingRemote vea_provider; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(media::kUseOutOfProcessVideoEncoding)) { BindHostReceiver(vea_provider.InitWithNewPipeAndPassReceiver()); } else { diff --git a/www/chromium/files/patch-content_shell_BUILD.gn b/www/chromium/files/patch-content_shell_BUILD.gn index 6e6975c69721..85be4d983479 100644 --- a/www/chromium/files/patch-content_shell_BUILD.gn +++ b/www/chromium/files/patch-content_shell_BUILD.gn @@ -1,11 +1,11 @@ ---- content/shell/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- content/shell/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ content/shell/BUILD.gn -@@ -1133,7 +1133,7 @@ group("content_shell_crash_test") { +@@ -1138,7 +1138,7 @@ group("content_shell_crash_test") { if (is_win) { data_deps += [ "//build/win:copy_cdb_to_output" ] } - if (is_posix) { + if (is_posix && !is_bsd) { data_deps += [ "//third_party/breakpad:dump_syms", "//third_party/breakpad:minidump_stackwalk", diff --git a/www/chromium/files/patch-content_shell_app_shell__main__delegate.cc b/www/chromium/files/patch-content_shell_app_shell__main__delegate.cc index 8f3f13b6c315..5d723f605066 100644 --- a/www/chromium/files/patch-content_shell_app_shell__main__delegate.cc +++ b/www/chromium/files/patch-content_shell_app_shell__main__delegate.cc @@ -1,11 +1,11 @@ ---- content/shell/app/shell_main_delegate.cc.orig 2026-01-14 08:33:23 UTC +--- content/shell/app/shell_main_delegate.cc.orig 2026-07-01 06:24:19 UTC +++ content/shell/app/shell_main_delegate.cc -@@ -300,7 +300,7 @@ void ShellMainDelegate::PreSandboxStartup() { +@@ -299,7 +299,7 @@ void ShellMainDelegate::PreSandboxStartup() { // Reporting for sub-processes will be initialized in ZygoteForked. if (process_type != switches::kZygoteProcess) { crash_reporter::InitializeCrashpad(process_type.empty(), process_type); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) crash_reporter::SetFirstChanceExceptionHandler( v8::TryHandleWebAssemblyTrapPosix); #endif diff --git a/www/chromium/files/patch-content_utility_utility__thread__impl.cc b/www/chromium/files/patch-content_utility_utility__thread__impl.cc index 9c22d11a1a59..f9856f46349f 100644 --- a/www/chromium/files/patch-content_utility_utility__thread__impl.cc +++ b/www/chromium/files/patch-content_utility_utility__thread__impl.cc @@ -1,21 +1,21 @@ ---- content/utility/utility_thread_impl.cc.orig 2024-05-21 18:07:39 UTC +--- content/utility/utility_thread_impl.cc.orig 2026-07-01 06:24:19 UTC +++ content/utility/utility_thread_impl.cc -@@ -31,7 +31,7 @@ +@@ -30,7 +30,7 @@ #include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/service_factory.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "content/child/sandboxed_process_thread_type_handler.h" #endif -@@ -251,7 +251,8 @@ void UtilityThreadImpl::Init() { +@@ -250,7 +250,8 @@ void UtilityThreadImpl::Init() { GetContentClient()->utility()->UtilityThreadStarted(); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +// XXX BSD +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD) SandboxedProcessThreadTypeHandler::NotifyMainChildThreadCreated(); #endif diff --git a/www/chromium/files/patch-content_zygote_zygote__linux.cc b/www/chromium/files/patch-content_zygote_zygote__linux.cc index 0cc92b589244..bd1377759b8f 100644 --- a/www/chromium/files/patch-content_zygote_zygote__linux.cc +++ b/www/chromium/files/patch-content_zygote_zygote__linux.cc @@ -1,15 +1,15 @@ ---- content/zygote/zygote_linux.cc.orig 2026-03-13 06:02:14 UTC +--- content/zygote/zygote_linux.cc.orig 2026-07-01 06:24:19 UTC +++ content/zygote/zygote_linux.cc @@ -1,6 +1,7 @@ // Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#if 0 #include "content/zygote/zygote_linux.h" -@@ -714,3 +715,4 @@ void Zygote::HandleReinitializeLoggingRequest(base::Pi +@@ -707,3 +708,4 @@ void Zygote::HandleReinitializeLoggingRequest(base::Pi } } // namespace content +#endif diff --git a/www/chromium/files/patch-device_fido_public_features.cc b/www/chromium/files/patch-device_fido_public_features.cc index 5f33bdee5388..866877fe486a 100644 --- a/www/chromium/files/patch-device_fido_public_features.cc +++ b/www/chromium/files/patch-device_fido_public_features.cc @@ -1,11 +1,11 @@ ---- device/fido/public/features.cc.orig 2026-05-07 17:02:56 UTC +--- device/fido/public/features.cc.orig 2026-07-01 06:24:19 UTC +++ device/fido/public/features.cc @@ -46,7 +46,7 @@ namespace device { // comment. #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Enabled in M146. Remove in or after M149. - BASE_FEATURE(kPasskeyUnlockManager, base::FEATURE_ENABLED_BY_DEFAULT); + // Not yet enabled by default. + BASE_FEATURE(kPasskeyUnlockErrorUi, base::FEATURE_DISABLED_BY_DEFAULT); diff --git a/www/chromium/files/patch-device_fido_public_features.h b/www/chromium/files/patch-device_fido_public_features.h index 6332dd29db34..5833097796e7 100644 --- a/www/chromium/files/patch-device_fido_public_features.h +++ b/www/chromium/files/patch-device_fido_public_features.h @@ -1,11 +1,11 @@ ---- device/fido/public/features.h.orig 2026-02-11 09:05:39 UTC +--- device/fido/public/features.h.orig 2026-07-01 06:24:19 UTC +++ device/fido/public/features.h -@@ -13,7 +13,7 @@ +@@ -14,7 +14,7 @@ namespace device { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Enables the Passkey Unlock Manager. + // Allows the passkey unlock error UI to be shown. COMPONENT_EXPORT(FIDO_PUBLIC) - BASE_DECLARE_FEATURE(kPasskeyUnlockManager); + BASE_DECLARE_FEATURE(kPasskeyUnlockErrorUi); diff --git a/www/chromium/files/patch-extensions_browser_api_messaging_message__service.cc b/www/chromium/files/patch-extensions_browser_api_messaging_message__service.cc index 0239f9353261..536065b62835 100644 --- a/www/chromium/files/patch-extensions_browser_api_messaging_message__service.cc +++ b/www/chromium/files/patch-extensions_browser_api_messaging_message__service.cc @@ -1,20 +1,20 @@ ---- extensions/browser/api/messaging/message_service.cc.orig 2026-04-09 06:05:42 UTC +--- extensions/browser/api/messaging/message_service.cc.orig 2026-07-01 06:24:19 UTC +++ extensions/browser/api/messaging/message_service.cc @@ -89,7 +89,7 @@ const char kReceivingEndIncompatibleMessageSerializati "Could not establish connection. Receiving end uses different message " "serialization format."; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) const char kMissingPermissionError[] = "Access to native messaging requires nativeMessaging permission."; const char kProhibitedByPoliciesError[] = -@@ -707,7 +707,7 @@ void MessageService::OpenChannelToNativeAppImpl( +@@ -710,7 +710,7 @@ void MessageService::OpenChannelToNativeAppImpl( return; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) bool has_permission = extension->permissions_data()->HasAPIPermission( mojom::APIPermissionID::kNativeMessaging); if (!has_permission) { diff --git a/www/chromium/files/patch-extensions_common_api___permission__features.json b/www/chromium/files/patch-extensions_common_api___permission__features.json index a9db3362fd58..c40ea8245e1f 100644 --- a/www/chromium/files/patch-extensions_common_api___permission__features.json +++ b/www/chromium/files/patch-extensions_common_api___permission__features.json @@ -1,139 +1,130 @@ ---- extensions/common/api/_permission_features.json.orig 2026-06-04 10:12:25 UTC +--- extensions/common/api/_permission_features.json.orig 2026-07-01 06:24:19 UTC +++ extensions/common/api/_permission_features.json @@ -61,7 +61,7 @@ "channel": "stable", "extension_types": ["platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"] + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] }, "app.window.ime": { "channel": "stable", @@ -97,13 +97,13 @@ "channel": "dev", "extension_types": ["platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"] + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] }, { "channel": "stable", "extension_types": ["platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"], + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"], "allowlist": [ "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578", "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", @@ -141,7 +141,7 @@ { "channel": "stable", "extension_types": ["platform_app"], - "platforms": ["chromeos", "win", "mac", "linux"], + "platforms": ["chromeos", "win", "mac", "linux", "openbsd", "freebsd"], "allowlist": [ "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/387169 "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/387169 @@ -216,7 +216,7 @@ "extension_types": ["extension", "legacy_packaged_app"], "max_manifest_version": 2, // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"] + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] }, "devtools": { "channel": "stable", @@ -265,7 +265,7 @@ "channel": "stable", "extension_types": ["extension", "platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"], + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"], "allowlist": [ "7910EAFDAF64B947E1CB31B333A9BD14CA556B6C", // Feedback UI. "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683 @@ -287,12 +287,12 @@ "extension_types": ["platform_app"], "default_parent": true, // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"] + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] },{ "channel": "stable", "extension_types": ["extension"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"], + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"], "allowlist": [ "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal @@ -329,13 +329,13 @@ "channel": "stable", "extension_types": ["platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"] + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] }, { "channel": "stable", "extension_types": ["extension"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"], + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"], "allowlist": [ "D7CD4B3956B1F6E970E4AFCBCD4094B1EF4D07B9", // http://crbug.com/710541 "D4EFCCC0CC612380762758BB96C7997224BD6395", // http://crbug.com/710541 @@ -445,7 +445,7 @@ "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "mac", "win", "linux"], + "platforms": ["chromeos", "mac", "win", "linux", "openbsd", "freebsd"], "allowlist": [ "0DE0F05680A4A056BCEC864ED8DDA84296F82B40", // http://crbug.com/434651 "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683 @@ -484,7 +484,7 @@ "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "mac", "win", "linux"], + "platforms": ["chromeos", "mac", "win", "linux", "openbsd", "freebsd"], "allowlist": [ // DO NOT ADD ANY MORE ENTRIES HERE. // networkingPrivate is being migrated to networking.onc. @@ -564,7 +564,7 @@ "channel": "stable", "extension_types": ["extension", "platform_app" ], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"] + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] }, // Note: runtime is not actually a permission, but some systems check these // values to verify restrictions. @@ -581,7 +581,7 @@ "channel": "stable", "extension_types": ["platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"] + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] }, "storage": [ { @@ -651,7 +651,7 @@ "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], // "desktop_android" is not supported. - "platforms": ["chromeos", "linux", "mac", "win"] + "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] }, "system.display": { "channel": "stable", -@@ -747,7 +747,7 @@ - "channel": "stable", - "extension_types": ["platform_app"], - // "desktop_android" is not supported. -- "platforms": ["chromeos", "linux", "mac", "win"] -+ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"] - }, - "webRequest": [ - { diff --git a/www/chromium/files/patch-extensions_shell_app_shell__main__delegate.cc b/www/chromium/files/patch-extensions_shell_app_shell__main__delegate.cc deleted file mode 100644 index 384b12e0c2bd..000000000000 --- a/www/chromium/files/patch-extensions_shell_app_shell__main__delegate.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- extensions/shell/app/shell_main_delegate.cc.orig 2026-01-14 08:33:23 UTC -+++ extensions/shell/app/shell_main_delegate.cc -@@ -32,7 +32,7 @@ - #if BUILDFLAG(IS_WIN) - #include "base/base_paths_win.h" - #include "base/process/process_info.h" --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #include "base/nix/xdg_util.h" - #elif BUILDFLAG(IS_MAC) - #include "base/base_paths_mac.h" -@@ -52,7 +52,7 @@ base::FilePath GetDataPath() { - } - - base::FilePath data_dir; --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - std::unique_ptr env(base::Environment::Create()); - data_dir = base::nix::GetXDGDirectory( - env.get(), base::nix::kXdgConfigHomeEnvVar, base::nix::kDotConfigDir); diff --git a/www/chromium/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc b/www/chromium/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc deleted file mode 100644 index 1f6d6122d608..000000000000 --- a/www/chromium/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig 2025-01-15 09:18:26 UTC -+++ extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc -@@ -45,7 +45,7 @@ void ShellRuntimeAPIDelegate::OpenURL(const GURL& unin - bool ShellRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) { - #if BUILDFLAG(IS_CHROMEOS) - info->os = api::runtime::PlatformOs::kCros; --#elif BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - info->os = api::runtime::PlatformOs::kLinux; - #endif - return true; diff --git a/www/chromium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc b/www/chromium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc deleted file mode 100644 index f07a5a762244..000000000000 --- a/www/chromium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- extensions/shell/browser/shell_browser_main_parts.cc.orig 2026-04-09 06:05:42 UTC -+++ extensions/shell/browser/shell_browser_main_parts.cc -@@ -126,7 +126,7 @@ void ShellBrowserMainParts::PostCreateMainMessageLoop( - switches::kAppShellAllowRoaming)) { - network_controller_->SetCellularAllowRoaming(true); - } --#elif BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // app_shell doesn't need GTK, so the fake input method context can work. - // See crbug.com/40369323 and revision fb69f142. - // TODO(michaelpg): Verify this works for target environments. diff --git a/www/chromium/files/patch-extensions_shell_browser_shell__extensions__api__client.cc b/www/chromium/files/patch-extensions_shell_browser_shell__extensions__api__client.cc deleted file mode 100644 index 5943364d5f97..000000000000 --- a/www/chromium/files/patch-extensions_shell_browser_shell__extensions__api__client.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- extensions/shell/browser/shell_extensions_api_client.cc.orig 2026-06-04 10:12:25 UTC -+++ extensions/shell/browser/shell_extensions_api_client.cc -@@ -17,7 +17,7 @@ - #include "extensions/shell/browser/shell_display_info_provider.h" - #include "extensions/shell/browser/shell_extension_web_contents_observer.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 - -@@ -85,7 +85,7 @@ ShellExtensionsAPIClient::CreateDisplayInfoProvider() - return std::make_unique(); - } - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - FileSystemDelegate* ShellExtensionsAPIClient::GetFileSystemDelegate() { - if (!file_system_delegate_) - file_system_delegate_ = std::make_unique(); diff --git a/www/chromium/files/patch-extensions_shell_browser_shell__extensions__api__client.h b/www/chromium/files/patch-extensions_shell_browser_shell__extensions__api__client.h deleted file mode 100644 index 950154e86cc8..000000000000 --- a/www/chromium/files/patch-extensions_shell_browser_shell__extensions__api__client.h +++ /dev/null @@ -1,19 +0,0 @@ ---- extensions/shell/browser/shell_extensions_api_client.h.orig 2026-06-04 10:12:25 UTC -+++ extensions/shell/browser/shell_extensions_api_client.h -@@ -46,14 +46,14 @@ class ShellExtensionsAPIClient : public ExtensionsAPIC - #endif - std::unique_ptr CreateDisplayInfoProvider() - const override; --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - FileSystemDelegate* GetFileSystemDelegate() override; - #endif - MessagingDelegate* GetMessagingDelegate() override; - FeedbackPrivateDelegate* GetFeedbackPrivateDelegate() override; - - private: --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - std::unique_ptr file_system_delegate_; - #endif - std::unique_ptr messaging_delegate_; diff --git a/www/chromium/files/patch-gpu_command__buffer_client_internal_mappable__buffer__native__pixmap.cc b/www/chromium/files/patch-gpu_command__buffer_client_internal_mappable__buffer__native__pixmap.cc new file mode 100644 index 000000000000..a2a2472ecde6 --- /dev/null +++ b/www/chromium/files/patch-gpu_command__buffer_client_internal_mappable__buffer__native__pixmap.cc @@ -0,0 +1,11 @@ +--- gpu/command_buffer/client/internal/mappable_buffer_native_pixmap.cc.orig 2026-07-01 06:24:19 UTC ++++ gpu/command_buffer/client/internal/mappable_buffer_native_pixmap.cc +@@ -62,7 +62,7 @@ MappableBufferNativePixmap::CreateFromHandle( + viz::SharedImageFormat format, + gfx::BufferUsage usage) { + const bool supports_zero_copy_webgpu_import = +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + handle.native_pixmap_handle().supports_zero_copy_webgpu_import; + #else + false; diff --git a/www/chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc b/www/chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc index 5498609d9611..553c5c9a4dc6 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc @@ -1,11 +1,11 @@ ---- gpu/command_buffer/service/dawn_context_provider.cc.orig 2026-06-04 10:12:25 UTC +--- gpu/command_buffer/service/dawn_context_provider.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/dawn_context_provider.cc -@@ -447,7 +447,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke +@@ -454,7 +454,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke return base::FeatureList::IsEnabled(features::kSkiaGraphiteDawnUseD3D12) ? wgpu::BackendType::D3D12 : wgpu::BackendType::D3D11; -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) return wgpu::BackendType::Vulkan; #elif BUILDFLAG(IS_APPLE) return wgpu::BackendType::Metal; diff --git a/www/chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc b/www/chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc index efe4be18b366..ca6cd5478583 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc @@ -1,11 +1,11 @@ ---- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2026-06-24 09:29:46 UTC +--- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/gles2_cmd_decoder.cc -@@ -3019,7 +3019,7 @@ std::unique_ptr GLES2Decoder::Create( +@@ -2996,7 +2996,7 @@ std::unique_ptr GLES2Decoder::Create( } // Allow linux to run fuzzers. -#if BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return std::make_unique(client, command_buffer_service, outputter, group); #else diff --git a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc index f81cb78c9be0..790680109a86 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc @@ -1,20 +1,20 @@ ---- gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc.orig 2026-04-09 06:05:42 UTC +--- gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc @@ -20,7 +20,7 @@ namespace { // TODO(penghuang): verify the scanout is the right usage for video playback. // crbug.com/1280798 constexpr SharedImageUsageSet kSupportedUsage = -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) SHARED_IMAGE_USAGE_SCANOUT | #endif SHARED_IMAGE_USAGE_GLES2_READ | SHARED_IMAGE_USAGE_GLES2_WRITE | -@@ -124,7 +124,7 @@ bool AngleVulkanImageBackingFactory::IsGMBSupported( +@@ -103,7 +103,7 @@ bool AngleVulkanImageBackingFactory::IsGMBSupported( // usage? case gfx::EMPTY_BUFFER: return HasGLES2ReadOrWriteUsage(usage); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) case gfx::NATIVE_PIXMAP: { auto* vulkan_implementation = context_state_->vk_context_provider()->GetVulkanImplementation(); diff --git a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_dawn__ozone__image__representation.cc b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_dawn__ozone__image__representation.cc index 0f3491066e28..aef6b75acf7e 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_dawn__ozone__image__representation.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_dawn__ozone__image__representation.cc @@ -1,23 +1,23 @@ ---- gpu/command_buffer/service/shared_image/dawn_ozone_image_representation.cc.orig 2026-05-07 17:02:56 UTC +--- gpu/command_buffer/service/shared_image/dawn_ozone_image_representation.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/shared_image/dawn_ozone_image_representation.cc -@@ -193,6 +193,7 @@ void DawnOzoneImageRepresentation::EndAccess() { +@@ -194,6 +194,7 @@ void DawnOzoneImageRepresentation::EndAccess() { if (!texture_) { return; } +#if 0 wgpu::SharedTextureMemoryEndAccessState end_access_desc = {}; wgpu::SharedTextureMemoryVkImageLayoutEndState end_layout{}; end_access_desc.nextInChain = &end_layout; -@@ -240,6 +241,12 @@ void DawnOzoneImageRepresentation::EndAccess() { +@@ -243,6 +244,12 @@ void DawnOzoneImageRepresentation::EndAccess() { texture_.Destroy(); texture_ = nullptr; +#else + LOG(ERROR) << "Failed to end access for DawnOzoneImageRepresentation"; + texture_.Destroy(); + texture_ = nullptr; + return; +#endif } } // namespace gpu diff --git a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc index fb102e4c566c..e8f3e006b7e6 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc @@ -1,20 +1,20 @@ ---- gpu/command_buffer/service/shared_image/external_vk_image_backing.cc.orig 2026-06-04 10:12:25 UTC +--- gpu/command_buffer/service/shared_image/external_vk_image_backing.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/shared_image/external_vk_image_backing.cc -@@ -55,7 +55,7 @@ +@@ -56,7 +56,7 @@ #include "ui/gl/gl_version_info.h" #include "ui/gl/scoped_binders.h" -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DAWN) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DAWN) #include "gpu/command_buffer/service/shared_image/external_vk_image_dawn_representation.h" #if BUILDFLAG(DAWN_ENABLE_BACKEND_OPENGLES) #include "gpu/command_buffer/service/shared_image/dawn_gl_texture_representation.h" -@@ -773,7 +773,7 @@ std::unique_ptr ExternalVkIma +@@ -742,7 +742,7 @@ std::unique_ptr ExternalVkIma wgpu::BackendType backend_type, std::vector view_formats, scoped_refptr context_state) { -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DAWN) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DAWN) auto wgpu_format = ToDawnFormat(format()); if (wgpu_format == wgpu::TextureFormat::Undefined) { diff --git a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc index 51b7a1366b22..78e5cb678faa 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc @@ -1,11 +1,11 @@ ---- gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2026-05-07 17:02:56 UTC +--- gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc -@@ -148,7 +148,7 @@ bool IsFormatSupported(viz::SharedImageFormat format, +@@ -152,7 +152,7 @@ bool IsFormatSupported(viz::SharedImageFormat format, SharedImageUsageSet SupportedUsage() { SharedImageUsageSet supported_usage = -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DAWN) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DAWN) SHARED_IMAGE_USAGE_WEBGPU_READ | SHARED_IMAGE_USAGE_WEBGPU_WRITE | SHARED_IMAGE_USAGE_WEBGPU_SWAP_CHAIN_TEXTURE | SHARED_IMAGE_USAGE_WEBGPU_STORAGE_TEXTURE | diff --git a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_ozone__image__backing.cc b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_ozone__image__backing.cc new file mode 100644 index 000000000000..3bacde27dd59 --- /dev/null +++ b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_ozone__image__backing.cc @@ -0,0 +1,11 @@ +--- gpu/command_buffer/service/shared_image/ozone_image_backing.cc.orig 2026-07-01 06:24:19 UTC ++++ gpu/command_buffer/service/shared_image/ozone_image_backing.cc +@@ -497,7 +497,7 @@ std::unique_ptr OzoneImageB + native_pixmap_handle.planes[1].offset = image_size.GetArea(); + native_pixmap_handle.planes[1].size = image_size.GetArea() / 2; + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + base::CheckedNumeric checked_required = + native_pixmap_handle.planes[1].offset; + checked_required += native_pixmap_handle.planes[1].size; diff --git a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc index dd639e0a9555..135c9243f609 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc @@ -1,47 +1,47 @@ ---- gpu/command_buffer/service/shared_image/shared_image_factory.cc.orig 2026-06-04 10:12:25 UTC +--- gpu/command_buffer/service/shared_image/shared_image_factory.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/shared_image/shared_image_factory.cc -@@ -55,7 +55,7 @@ +@@ -56,7 +56,7 @@ #include "gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.h" #include "gpu/vulkan/vulkan_device_queue.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.h" #endif -@@ -123,7 +123,7 @@ const char* GmbTypeToString(gfx::GpuMemoryBufferType t +@@ -124,7 +124,7 @@ const char* GmbTypeToString(gfx::GpuMemoryBufferType t case gfx::IO_SURFACE_BUFFER: return "platform"; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) case gfx::NATIVE_PIXMAP: return "platform"; #endif -@@ -144,7 +144,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() { +@@ -145,7 +145,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() { return gfx::GpuMemoryBufferType::IO_SURFACE_BUFFER; #elif BUILDFLAG(IS_ANDROID) return gfx::GpuMemoryBufferType::ANDROID_HARDWARE_BUFFER; -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) return gfx::GpuMemoryBufferType::NATIVE_PIXMAP; #elif BUILDFLAG(IS_WIN) return gfx::GpuMemoryBufferType::DXGI_SHARED_HANDLE; -@@ -322,7 +322,7 @@ SharedImageFactory::SharedImageFactory( +@@ -323,7 +323,7 @@ SharedImageFactory::SharedImageFactory( factories_.push_back(std::move(ozone_factory)); } -#if BUILDFLAG(ENABLE_VULKAN) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA)) +#if BUILDFLAG(ENABLE_VULKAN) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)) if (gr_context_type_ == GrContextType::kVulkan #if BUILDFLAG(USE_WEBGPU_ON_VULKAN_VIA_GL_INTEROP) /* We support GL context for WebGPU gl-vulkan interop (on linux).*/ -@@ -1043,7 +1043,7 @@ void SharedImageFactory::LogGetFactoryFailed(gpu::Shar +@@ -1053,7 +1053,7 @@ void SharedImageFactory::LogGetFactoryFailed(gpu::Shar } #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // VizBufferQueue with Vulkan enabled over command-line for Linux does not // work. Suppress dumps for these cases. if (context_state_->GrContextIsVulkan() && diff --git a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc index 9ab46c38f02e..0b31d3ffce1c 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc @@ -1,11 +1,11 @@ ---- gpu/command_buffer/service/shared_image/wrapped_sk_image_backing.cc.orig 2024-03-22 08:19:40 UTC +--- gpu/command_buffer/service/shared_image/wrapped_sk_image_backing.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/shared_image/wrapped_sk_image_backing.cc -@@ -214,7 +214,7 @@ bool WrappedSkImageBacking::Initialize(const std::stri +@@ -204,7 +204,7 @@ bool WrappedSkImageBacking::Initialize(const std::stri constexpr GrRenderable is_renderable = GrRenderable::kYes; constexpr GrProtected is_protected = GrProtected::kNo; -#if DCHECK_IS_ON() && !BUILDFLAG(IS_LINUX) +#if DCHECK_IS_ON() && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) // Blue for single-planar and magenta-ish for multi-planar. SkColor4f fallback_color = format().is_single_plane() ? SkColors::kBlue : SkColors::kWhite; diff --git a/www/chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc b/www/chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc index 12df94a384af..668fb5babe00 100644 --- a/www/chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc +++ b/www/chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc @@ -1,20 +1,20 @@ ---- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2026-05-07 17:02:56 UTC +--- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/command_buffer/service/webgpu_decoder_impl.cc -@@ -1775,7 +1775,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte +@@ -1776,7 +1776,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte backend_types = {wgpu::BackendType::D3D12}; #elif BUILDFLAG(IS_APPLE) backend_types = {wgpu::BackendType::Metal}; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (shared_context_state_->GrContextIsVulkan() || webgpu_on_vk_gl_interop_ || shared_context_state_->IsGraphiteDawnVulkan()) { -@@ -2101,7 +2101,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn( +@@ -2102,7 +2102,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn( } #if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_APPLE) && \ - !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_LINUX) + !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) if (usage & wgpu::TextureUsage::StorageBinding) { LOG(ERROR) << "AssociateMailbox: wgpu::TextureUsage::StorageBinding is NOT " "supported yet on this platform."; diff --git a/www/chromium/files/patch-gpu_config_gpu__control__list.cc b/www/chromium/files/patch-gpu_config_gpu__control__list.cc index 19676b0fbcd9..41edf9f61816 100644 --- a/www/chromium/files/patch-gpu_config_gpu__control__list.cc +++ b/www/chromium/files/patch-gpu_config_gpu__control__list.cc @@ -1,11 +1,11 @@ ---- gpu/config/gpu_control_list.cc.orig 2026-02-11 09:05:39 UTC +--- gpu/config/gpu_control_list.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/config/gpu_control_list.cc -@@ -854,7 +854,7 @@ GpuControlList::OsType GpuControlList::GetOsType() { +@@ -837,7 +837,7 @@ GpuControlList::OsType GpuControlList::GetOsType() { return kOsAndroid; #elif BUILDFLAG(IS_FUCHSIA) return kOsFuchsia; -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_OPENBSD) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return kOsLinux; #elif BUILDFLAG(IS_MAC) return kOsMacosx; diff --git a/www/chromium/files/patch-gpu_config_gpu__finch__features.cc b/www/chromium/files/patch-gpu_config_gpu__finch__features.cc index a71b14ad8365..76b1c8f547d6 100644 --- a/www/chromium/files/patch-gpu_config_gpu__finch__features.cc +++ b/www/chromium/files/patch-gpu_config_gpu__finch__features.cc @@ -1,29 +1,29 @@ ---- gpu/config/gpu_finch_features.cc.orig 2026-06-04 10:12:25 UTC +--- gpu/config/gpu_finch_features.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/config/gpu_finch_features.cc -@@ -110,7 +110,7 @@ const base::FeatureParam +@@ -111,7 +111,7 @@ const base::FeatureParam // of associating with an unused IPC::Channel. BASE_FEATURE(kRemoveGPULegacyIPC, base::FEATURE_DISABLED_BY_DEFAULT); -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Feature flag to control whether SharedImageStub sequence uses high priority // on ChromeOS and Linux. Enabled by default. BASE_FEATURE(kSharedImageStubHighPriority, base::FEATURE_DISABLED_BY_DEFAULT); -@@ -119,7 +119,7 @@ BASE_FEATURE(kSharedImageStubHighPriority, base::FEATU +@@ -120,7 +120,7 @@ BASE_FEATURE(kSharedImageStubHighPriority, base::FEATU // Disables hardware YUV conversion on NVIDIA + Wayland to workaround a driver // bug. BASE_FEATURE(kNvidiaWaylandYuvHardwareConversionWorkaround, -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -470,7 +470,7 @@ BASE_FEATURE(kGPUDriverBugListTestGroup, base::FEATURE +@@ -449,7 +449,7 @@ BASE_FEATURE(kGPUDriverBugListTestGroup, base::FEATURE const base::FeatureParam kGPUDriverBugListTestGroupId{ &kGPUDriverBugListTestGroup, "test_group", 0}; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool IsForceEnableWebGpuInterop() { return base::FeatureList::IsEnabled(kForceEnableWebGpuInterop); } diff --git a/www/chromium/files/patch-gpu_vulkan_vulkan__util.cc b/www/chromium/files/patch-gpu_vulkan_vulkan__util.cc index 47f1eb7a99ca..64e60f25e2dd 100644 --- a/www/chromium/files/patch-gpu_vulkan_vulkan__util.cc +++ b/www/chromium/files/patch-gpu_vulkan_vulkan__util.cc @@ -1,11 +1,11 @@ ---- gpu/vulkan/vulkan_util.cc.orig 2026-06-04 10:12:25 UTC +--- gpu/vulkan/vulkan_util.cc.orig 2026-07-01 06:24:19 UTC +++ gpu/vulkan/vulkan_util.cc -@@ -468,7 +468,7 @@ bool CheckVulkanCompatibilities( +@@ -278,7 +278,7 @@ bool CheckVulkanCompatibilities( } } -#if BUILDFLAG(IS_LINUX) && !defined(OZONE_PLATFORM_IS_X11) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !defined(OZONE_PLATFORM_IS_X11) // Vulkan is only supported with X11 on Linux for now. return false; #else diff --git a/www/chromium/files/patch-headless_BUILD.gn b/www/chromium/files/patch-headless_BUILD.gn index f106de804544..3c0b57a7bdc5 100644 --- a/www/chromium/files/patch-headless_BUILD.gn +++ b/www/chromium/files/patch-headless_BUILD.gn @@ -1,11 +1,11 @@ ---- headless/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- headless/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ headless/BUILD.gn -@@ -848,7 +848,7 @@ component("headless_shell_lib") { +@@ -807,7 +807,7 @@ component("headless_shell_lib") { "//v8", ] - if (!is_fuchsia) { + if (!is_fuchsia && !is_bsd) { deps += [ "//components/crash/core/app" ] } diff --git a/www/chromium/files/patch-headless_lib_browser_headless__browser__impl.cc b/www/chromium/files/patch-headless_lib_browser_headless__browser__impl.cc index 5137b15dd5a7..e5398f6f153c 100644 --- a/www/chromium/files/patch-headless_lib_browser_headless__browser__impl.cc +++ b/www/chromium/files/patch-headless_lib_browser_headless__browser__impl.cc @@ -1,20 +1,20 @@ ---- headless/lib/browser/headless_browser_impl.cc.orig 2026-06-04 10:12:25 UTC +--- headless/lib/browser/headless_browser_impl.cc.orig 2026-07-01 06:24:19 UTC +++ headless/lib/browser/headless_browser_impl.cc @@ -37,7 +37,7 @@ #include "components/os_crypt/async/browser/keychain_key_provider.h" #endif -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS) #include "base/command_line.h" #include "components/os_crypt/async/browser/freedesktop_secret_key_provider.h" #include "components/password_manager/core/browser/password_manager_switches.h" // nogncheck -@@ -411,7 +411,7 @@ void HeadlessBrowserImpl::CreateOSCryptAsync() { +@@ -368,7 +368,7 @@ void HeadlessBrowserImpl::CreateOSCryptAsync() { providers.emplace_back(std::make_pair( /*precedence=*/10u, std::make_unique())); -#elif BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS) +#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS) base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); const auto password_store = cmd_line->GetSwitchValueASCII(password_manager::kPasswordStore); diff --git a/www/chromium/files/patch-media_BUILD.gn b/www/chromium/files/patch-media_BUILD.gn index edc5617d73a3..21bc42ea20ad 100644 --- a/www/chromium/files/patch-media_BUILD.gn +++ b/www/chromium/files/patch-media_BUILD.gn @@ -1,12 +1,12 @@ ---- media/BUILD.gn.orig 2026-03-13 06:02:14 UTC +--- media/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ media/BUILD.gn -@@ -103,6 +103,9 @@ config("media_config") { +@@ -102,6 +102,9 @@ config("media_config") { defines += [ "DLOPEN_PULSEAUDIO" ] } } + if (use_sndio) { + defines += [ "USE_SNDIO" ] + } } # Internal grouping of the configs necessary to support sub-folders having their diff --git a/www/chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc b/www/chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc index 380bff45006e..467f088b184f 100644 --- a/www/chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc +++ b/www/chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc @@ -1,54 +1,54 @@ ---- media/audio/alsa/audio_manager_alsa.cc.orig 2026-03-13 06:02:14 UTC +--- media/audio/alsa/audio_manager_alsa.cc.orig 2026-07-01 17:42:29 UTC +++ media/audio/alsa/audio_manager_alsa.cc -@@ -102,7 +102,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType - int card = -1; - +@@ -106,7 +106,9 @@ bool AudioManagerAlsa::GetAlsaAudioDevices(StreamType // Loop through the physical sound cards to get ALSA device hints. -+#if !BUILDFLAG(IS_BSD) - while (!wrapper_->CardNext(&card) && card >= 0) { + bool had_error = false; + int card_next_result = 0; ++#if !BUILDFLAG(IS_BSD) + while ((card_next_result = wrapper_->CardNext(&card)) == 0 && card >= 0) { +#endif void** hints = nullptr; - int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints); - if (!error) { -@@ -114,7 +116,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType + int hint_result = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints); + if (!hint_result) { +@@ -119,7 +121,9 @@ bool AudioManagerAlsa::GetAlsaAudioDevices(StreamType DLOG(WARNING) << "GetAlsaAudioDevices: unable to get device hints: " - << wrapper_->StrError(error); + << wrapper_->StrError(hint_result); } -+#if !BUILDFLAG(IS_BSD) ++#if !BUILDFLAG(IS_BSD) } +#endif - } - void AudioManagerAlsa::GetAlsaDevicesInfo(AudioManagerAlsa::StreamType type, -@@ -198,7 +202,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable(AudioMana + if (card_next_result != 0) { + had_error = true; +@@ -211,7 +215,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable(AudioMana // goes through software conversion if needed (e.g. incompatible // sample rate). // TODO(joi): Should we prefer "hw" instead? +#if BUILDFLAG(IS_BSD) + static constexpr std::string_view kDeviceTypeDesired = "plug"; +#else static constexpr std::string_view kDeviceTypeDesired = "plughw"; +#endif return device_name.starts_with(kDeviceTypeDesired); } -@@ -249,7 +257,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( +@@ -262,7 +270,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. +#if !BUILDFLAG(IS_BSD) while (!wrapper_->CardNext(&card) && (card >= 0) && !has_device) { +#endif int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints); if (!error) { const std::string_view unwanted_type = -@@ -278,7 +288,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( +@@ -291,7 +301,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( DLOG(WARNING) << "HasAnyAudioDevice: unable to get device hints: " << wrapper_->StrError(error); } +#if !BUILDFLAG(IS_BSD) } +#endif return has_device; } diff --git a/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc b/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc index cc8c304caf23..4a3b8e00e261 100644 --- a/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc +++ b/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc @@ -1,218 +1,220 @@ ---- media/audio/sndio/audio_manager_sndio.cc.orig 2025-09-03 06:34:22 UTC +--- media/audio/sndio/audio_manager_sndio.cc.orig 2026-07-01 06:24:19 UTC +++ media/audio/sndio/audio_manager_sndio.cc -@@ -0,0 +1,215 @@ +@@ -0,0 +1,217 @@ +// Copyright (c) 2012 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. + +#include "base/command_line.h" +#include "base/metrics/histogram_macros.h" +#include "base/memory/ptr_util.h" + +#include "base/logging.h" + +#include "media/audio/sndio/audio_manager_sndio.h" + +#include "media/audio/audio_device_description.h" +#include "media/audio/audio_output_dispatcher.h" +#if defined(USE_SNDIO) +#include "media/audio/sndio/sndio_input.h" +#include "media/audio/sndio/sndio_output.h" +#endif +#if defined(USE_PULSEAUDIO) +#include "media/audio/pulse/audio_manager_pulse.h" +#include "media/audio/pulse/pulse_util.h" +#endif +#if defined(USE_ALSA) +#include "media/audio/alsa/audio_manager_alsa.h" +#endif +#include "media/audio/fake_audio_manager.h" +#include "media/base/limits.h" +#include "media/base/media_switches.h" + +namespace media { + +#if defined(USE_SNDIO) +// Maximum number of output streams that can be open simultaneously. +static const int kMaxOutputStreams = 50; + +// Default sample rate for input and output streams. +static const int kDefaultSampleRate = 48000; + +void AddDefaultDevice(AudioDeviceNames* device_names) { + DCHECK(device_names->empty()); + device_names->push_front(AudioDeviceName::CreateDefault()); +} + +bool AudioManagerSndio::HasAudioOutputDevices() { + return true; +} + +bool AudioManagerSndio::HasAudioInputDevices() { + return true; +} + -+void AudioManagerSndio::GetAudioInputDeviceNames( ++bool AudioManagerSndio::GetAudioInputDeviceNames( + AudioDeviceNames* device_names) { + DCHECK(device_names->empty()); + AddDefaultDevice(device_names); ++ return true; +} + -+void AudioManagerSndio::GetAudioOutputDeviceNames( ++bool AudioManagerSndio::GetAudioOutputDeviceNames( + AudioDeviceNames* device_names) { + AddDefaultDevice(device_names); ++ return true; +} + +#if defined(USE_SNDIO) +const std::string_view AudioManagerSndio::GetName() { + return "SNDIO"; +} +#endif + +AudioParameters AudioManagerSndio::GetInputStreamParameters( + const std::string& device_id) { + static const int kDefaultInputBufferSize = 1024; + + int user_buffer_size = GetUserBufferSize(); + int buffer_size = user_buffer_size ? + user_buffer_size : kDefaultInputBufferSize; + + return AudioParameters( + AudioParameters::AUDIO_PCM_LOW_LATENCY, ChannelLayoutConfig::Stereo(), + kDefaultSampleRate, buffer_size); +} + +AudioManagerSndio::AudioManagerSndio(std::unique_ptr audio_thread, + AudioLogFactory* audio_log_factory) + : AudioManagerBase(std::move(audio_thread), + audio_log_factory) { + DLOG(WARNING) << "AudioManagerSndio"; + SetMaxOutputStreamsAllowed(kMaxOutputStreams); +} + +AudioManagerSndio::~AudioManagerSndio() = default; + +AudioOutputStream* AudioManagerSndio::MakeLinearOutputStream( + const AudioParameters& params, + const LogCallback& log_callback) { + DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format()); + return MakeOutputStream(params); +} + +AudioOutputStream* AudioManagerSndio::MakeLowLatencyOutputStream( + const AudioParameters& params, + const std::string& device_id, + const LogCallback& log_callback) { + DLOG_IF(ERROR, !device_id.empty()) << "Not implemented!"; + DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format()); + return MakeOutputStream(params); +} + +AudioInputStream* AudioManagerSndio::MakeLinearInputStream( + const AudioParameters& params, + const std::string& device_id, + const LogCallback& log_callback) { + DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format()); + return MakeInputStream(params); +} + +AudioInputStream* AudioManagerSndio::MakeLowLatencyInputStream( + const AudioParameters& params, + const std::string& device_id, + const LogCallback& log_callback) { + DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format()); + return MakeInputStream(params); +} + +AudioParameters AudioManagerSndio::GetPreferredOutputStreamParameters( + const std::string& output_device_id, + const AudioParameters& input_params) { + // TODO(tommi): Support |output_device_id|. + DLOG_IF(ERROR, !output_device_id.empty()) << "Not implemented!"; + static const int kDefaultOutputBufferSize = 2048; + + ChannelLayoutConfig channel_layout_config = ChannelLayoutConfig::Stereo(); + int sample_rate = kDefaultSampleRate; + int buffer_size = kDefaultOutputBufferSize; + if (input_params.IsValid()) { + sample_rate = input_params.sample_rate(); + channel_layout_config = input_params.channel_layout_config(); + buffer_size = std::min(buffer_size, input_params.frames_per_buffer()); + } + + int user_buffer_size = GetUserBufferSize(); + if (user_buffer_size) + buffer_size = user_buffer_size; + + return AudioParameters( + AudioParameters::AUDIO_PCM_LOW_LATENCY, + channel_layout_config, sample_rate, buffer_size); +} + +AudioInputStream* AudioManagerSndio::MakeInputStream( + const AudioParameters& params) { + DLOG(WARNING) << "MakeInputStream"; + return new SndioAudioInputStream(this, + AudioDeviceDescription::kDefaultDeviceId, params); +} + +AudioOutputStream* AudioManagerSndio::MakeOutputStream( + const AudioParameters& params) { + DLOG(WARNING) << "MakeOutputStream"; + return new SndioAudioOutputStream(params, this); +} +#endif + +std::unique_ptr CreateAudioManager( + std::unique_ptr audio_thread, + AudioLogFactory* audio_log_factory) { + DLOG(WARNING) << "CreateAudioManager"; + + auto _ab = kAudioBackendParam.Get(); + + // For testing allow audio output to be disabled. + if (base::CommandLine::ForCurrentProcess()->HasSwitch( + switches::kDisableAudioOutput) || + !base::FeatureList::IsEnabled(media::kAudioBackend)) { + return std::make_unique(std::move(audio_thread), + audio_log_factory); + } + +#if defined(USE_PULSEAUDIO) + pa_threaded_mainloop* pa_mainloop = nullptr; + pa_context* pa_context = nullptr; + if (_ab != AudioBackend::kSndio && _ab != AudioBackend::kAlsa && + pulse::InitPulse(&pa_mainloop, &pa_context)) { + return std::make_unique( + std::move(audio_thread), audio_log_factory, pa_mainloop, pa_context); + } else if (_ab == AudioBackend::kAuto) { + LOG(WARNING) << "Falling back to SNDIO for audio output. PulseAudio is not " + "available or could not be initialized."; + } +#endif + +#if defined(USE_SNDIO) + if (_ab != AudioBackend::kPulseAudio && _ab != AudioBackend::kAlsa) { + return std::make_unique(std::move(audio_thread), + audio_log_factory); + } else if (_ab == AudioBackend::kAuto) { + LOG(WARNING) << "Falling back to ALSA audio output. SNDIO is not " + "available or could not be initialized."; + } +#endif + +#if defined(USE_ALSA) + if (_ab != AudioBackend::kPulseAudio && _ab != AudioBackend::kSndio) { + return std::make_unique(std::move(audio_thread), + audio_log_factory); + } else if (_ab == AudioBackend::kAuto) { + LOG(WARNING) << "Falling back to fake audio output. ALSA is not " + "available or could not be initialized."; + } +#endif + + return std::make_unique(std::move(audio_thread), + audio_log_factory); +} + +} // namespace media diff --git a/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.h b/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.h index d3fcce40a8d0..224bb5bbce73 100644 --- a/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.h +++ b/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.h @@ -1,69 +1,69 @@ ---- media/audio/sndio/audio_manager_sndio.h.orig 2025-07-02 06:08:04 UTC +--- media/audio/sndio/audio_manager_sndio.h.orig 2026-07-01 06:24:19 UTC +++ media/audio/sndio/audio_manager_sndio.h @@ -0,0 +1,66 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef MEDIA_AUDIO_SNDIO_AUDIO_MANAGER_SNDIO_H_ +#define MEDIA_AUDIO_SNDIO_AUDIO_MANAGER_SNDIO_H_ + +#include + +#include "base/compiler_specific.h" +#include "base/memory/ref_counted.h" +#include "base/threading/thread.h" +#include "media/audio/audio_manager_base.h" + +namespace media { + +class MEDIA_EXPORT AudioManagerSndio : public AudioManagerBase { + public: + AudioManagerSndio(std::unique_ptr audio_thread, + AudioLogFactory* audio_log_factory); + + AudioManagerSndio(const AudioManagerSndio&) = delete; + AudioManagerSndio& operator=(const AudioManagerSndio&) = delete; + + ~AudioManagerSndio() override; + + // Implementation of AudioManager. + bool HasAudioOutputDevices() override; + bool HasAudioInputDevices() override; -+ void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; -+ void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; ++ bool GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; ++ bool GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; + AudioParameters GetInputStreamParameters( + const std::string& device_id) override; + const std::string_view GetName() override; + + // Implementation of AudioManagerBase. + AudioOutputStream* MakeLinearOutputStream( + const AudioParameters& params, + const LogCallback& log_callback) override; + AudioOutputStream* MakeLowLatencyOutputStream( + const AudioParameters& params, + const std::string& device_id, + const LogCallback& log_callback) override; + AudioInputStream* MakeLinearInputStream( + const AudioParameters& params, + const std::string& device_id, + const LogCallback& log_callback) override; + AudioInputStream* MakeLowLatencyInputStream( + const AudioParameters& params, + const std::string& device_id, + const LogCallback& log_callback) override; + + protected: + AudioParameters GetPreferredOutputStreamParameters( + const std::string& output_device_id, + const AudioParameters& input_params) override; + + private: + // Called by MakeLinearOutputStream and MakeLowLatencyOutputStream. + AudioOutputStream* MakeOutputStream(const AudioParameters& params); + AudioInputStream* MakeInputStream(const AudioParameters& params); +}; + +} // namespace media + +#endif // MEDIA_AUDIO_SNDIO_AUDIO_MANAGER_SNDIO_H_ diff --git a/www/chromium/files/patch-media_base_media__switches.cc b/www/chromium/files/patch-media_base_media__switches.cc index 16157718434a..10c113b39485 100644 --- a/www/chromium/files/patch-media_base_media__switches.cc +++ b/www/chromium/files/patch-media_base_media__switches.cc @@ -1,111 +1,111 @@ ---- media/base/media_switches.cc.orig 2026-06-17 07:32:12 UTC +--- media/base/media_switches.cc.orig 2026-07-01 06:24:19 UTC +++ media/base/media_switches.cc @@ -20,7 +20,7 @@ #include "ui/gl/gl_features.h" #include "ui/gl/gl_utils.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/cpu.h" #include "components/system_media_controls/linux/buildflags/buildflags.h" #endif -@@ -434,13 +434,35 @@ BASE_FEATURE(kApplicationAudioCaptureMac, base::FEATUR +@@ -436,13 +436,35 @@ BASE_FEATURE(kApplicationAudioCaptureMac, base::FEATUR #endif // BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Enables system audio mirroring using pulseaudio. BASE_FEATURE(kPulseaudioLoopbackForCast, base::FEATURE_DISABLED_BY_DEFAULT); // Enables system audio sharing using pulseaudio. BASE_FEATURE(kPulseaudioLoopbackForScreenShare, base::FEATURE_DISABLED_BY_DEFAULT); + +BASE_FEATURE(kAudioBackend, + "AudioBackend", + base::FEATURE_ENABLED_BY_DEFAULT); + +constexpr base::FeatureParam::Option + kAudioBackendOptions[] = { + {AudioBackend::kAuto, + "auto"}, + {AudioBackend::kPulseAudio, "pulseaudio"}, + {AudioBackend::kSndio, "sndio"}, + {AudioBackend::kAlsa, "alsa"}}; + +const base::FeatureParam + kAudioBackendParam{ + &kAudioBackend, "audio-backend", +#if BUILDFLAG(IS_OPENBSD) + AudioBackend::kSndio, +#elif BUILDFLAG(IS_FREEBSD) + AudioBackend::kAuto, +#endif + &kAudioBackendOptions}; #endif // BUILDFLAG(IS_LINUX) // When enabled, MediaCapabilities will check with GPU Video Accelerator -@@ -721,7 +743,7 @@ BASE_FEATURE(kMediaCodecColorSpaceCleanup, base::FEATU +@@ -716,7 +738,7 @@ BASE_FEATURE(kMediaCodecColorSpaceCleanup, base::FEATU #if !BUILDFLAG(IS_ANDROID) // If enabled, users can request Media Remoting without fullscreen-in-tab. BASE_FEATURE(kMediaRemotingWithoutFullscreen, -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -744,7 +766,7 @@ BASE_FEATURE(kSuspendMediaForFrozenFrames, base::FEATU +@@ -739,7 +761,7 @@ BASE_FEATURE(kSuspendMediaForFrozenFrames, base::FEATU // autoplay policy. BASE_FEATURE(kUnifiedAutoplay, base::FEATURE_ENABLED_BY_DEFAULT); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Enable vaapi/v4l2 video decoding on linux. This is already enabled by default // on chromeos, but needs an experiment on linux. - BASE_FEATURE(kAcceleratedVideoDecodeLinux, -@@ -812,7 +834,7 @@ BASE_FEATURE(kVaapiVp9SModeHWEncoding, base::FEATURE_E +@@ -817,7 +839,7 @@ BASE_FEATURE(kVaapiVp9SModeHWEncoding, base::FEATURE_E // Enables VSync aligned MJPEG decoding. BASE_FEATURE(kVSyncMjpegDecoding, base::FEATURE_DISABLED_BY_DEFAULT); #endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Enable H264 temporal layer encoding with V4L2 HW encoder on ChromeOS. BASE_FEATURE(kV4L2H264TemporalLayerHWEncoding, base::FEATURE_DISABLED_BY_DEFAULT); -@@ -1007,7 +1029,7 @@ BASE_FEATURE(kMediaFoundationMultiGpuAdapterSelection, +@@ -1016,7 +1038,7 @@ BASE_FEATURE(kMediaFoundationMultiGpuAdapterSelection, BASE_FEATURE(kHardwareMediaKeyHandling, #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) base::FEATURE_ENABLED_BY_DEFAULT -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #if BUILDFLAG(USE_MPRIS) base::FEATURE_ENABLED_BY_DEFAULT #else -@@ -1383,7 +1405,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecoding, +@@ -1380,7 +1402,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecoding, BASE_FEATURE(kUseSharedImageInOOPVDProcess, base::FEATURE_ENABLED_BY_DEFAULT); #endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Spawn utility processes to perform hardware encode acceleration instead of // using the GPU process. BASE_FEATURE(kUseOutOfProcessVideoEncoding, base::FEATURE_DISABLED_BY_DEFAULT); -@@ -1445,7 +1467,7 @@ BASE_FEATURE(kRecordMediaEngagementScores, base::FEATU +@@ -1442,7 +1464,7 @@ BASE_FEATURE(kRecordMediaEngagementScores, base::FEATU // Enables Media Engagement Index recording for Web Audio playbacks. BASE_FEATURE(kRecordWebAudioEngagement, base::FEATURE_ENABLED_BY_DEFAULT); -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Reduces the number of buffers needed in the output video frame pool to // populate the Renderer pipeline for hardware accelerated VideoDecoder in // non-low latency scenarios. -@@ -1772,7 +1794,7 @@ bool IsSystemLoopbackCaptureSupported() { +@@ -1768,7 +1790,7 @@ bool IsSystemLoopbackCaptureSupported() { #elif BUILDFLAG(IS_MAC) return (IsMacSckSystemLoopbackCaptureSupported() || IsMacCatapSystemLoopbackCaptureSupported()); -#elif BUILDFLAG(IS_LINUX) && defined(USE_PULSEAUDIO) +#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(USE_PULSEAUDIO) return true; #else return false; diff --git a/www/chromium/files/patch-media_base_media__switches.h b/www/chromium/files/patch-media_base_media__switches.h index d3838e782aed..cd639c55ae7a 100644 --- a/www/chromium/files/patch-media_base_media__switches.h +++ b/www/chromium/files/patch-media_base_media__switches.h @@ -1,57 +1,57 @@ ---- media/base/media_switches.h.orig 2026-06-17 07:32:12 UTC +--- media/base/media_switches.h.orig 2026-07-01 06:24:19 UTC +++ media/base/media_switches.h -@@ -322,13 +322,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaRecorderHEVCSu +@@ -326,13 +326,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); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) MEDIA_EXPORT BASE_DECLARE_FEATURE(kPulseaudioLoopbackForCast); MEDIA_EXPORT BASE_DECLARE_FEATURE(kPulseaudioLoopbackForScreenShare); + +enum class AudioBackend { + kAuto, + kPulseAudio, + kSndio, + kAlsa +}; + +MEDIA_EXPORT BASE_DECLARE_FEATURE(kAudioBackend); +MEDIA_EXPORT extern const base::FeatureParam< + AudioBackend> + kAudioBackendParam; #endif // BUILDFLAG(IS_LINUX) MEDIA_EXPORT BASE_DECLARE_FEATURE(kRecordMediaEngagementScores); MEDIA_EXPORT BASE_DECLARE_FEATURE(kRecordWebAudioEngagement); -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) MEDIA_EXPORT BASE_DECLARE_FEATURE(kReduceHardwareVideoDecoderBuffers); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) MEDIA_EXPORT BASE_DECLARE_FEATURE(kResumeBackgroundVideo); -@@ -347,7 +359,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay); +@@ -351,7 +363,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay); MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseAndroidOverlayForSecureOnly); MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseFakeDeviceForMediaStream); MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaStreamAccurateDroppedFrameCount); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinux); MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinuxGL); MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoEncodeLinux); -@@ -364,7 +376,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiAV1TemporalLay +@@ -368,7 +380,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) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2H264TemporalLayerHWEncoding); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) MEDIA_EXPORT BASE_DECLARE_FEATURE(kVideoBlitColorAccuracy); -@@ -473,7 +485,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOutOfProcessVide +@@ -477,7 +489,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOutOfProcessVide MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseSharedImageInOOPVDProcess); #endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOutOfProcessVideoEncoding); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/chromium/files/patch-media_base_video__frame.h b/www/chromium/files/patch-media_base_video__frame.h index 39b5d20da05f..ef3de272a4f2 100644 --- a/www/chromium/files/patch-media_base_video__frame.h +++ b/www/chromium/files/patch-media_base_video__frame.h @@ -1,47 +1,47 @@ ---- media/base/video_frame.h.orig 2026-06-04 10:12:25 UTC +--- media/base/video_frame.h.orig 2026-07-01 06:24:19 UTC +++ media/base/video_frame.h @@ -40,7 +40,7 @@ #include "ui/gfx/geometry/size.h" #include "ui/gfx/hdr_metadata.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "base/files/scoped_file.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -91,7 +91,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -87,7 +87,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte STORAGE_UNOWNED_MEMORY = 2, // External, non owned data pointers. STORAGE_OWNED_MEMORY = 3, // VideoFrame has allocated its own data buffer. STORAGE_SHMEM = 4, // Backed by read-only shared memory. -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) STORAGE_DMABUFS = 5, // Each plane is stored into a DmaBuf. #endif STORAGE_MAPPABLE_SHARED_IMAGE = 6, -@@ -312,7 +312,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -308,7 +308,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte base::span uv_data, base::TimeDelta timestamp); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // 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 -@@ -631,7 +631,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -616,7 +616,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte // wait for the included sync point. scoped_refptr shared_image() const; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // 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. -@@ -836,7 +836,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -821,7 +821,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte base::ReadOnlySharedMemoryRegion owned_shm_region_; base::ReadOnlySharedMemoryMapping owned_shm_mapping_; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Dmabufs for the frame, used when storage is STORAGE_DMABUFS. Size is either // equal or less than the number of planes of the frame. If it is less, then // the memory area represented by the last FD contains the remaining planes. diff --git a/www/chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc b/www/chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc index 6651ae1a50f6..8f05f5aa3562 100644 --- a/www/chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc +++ b/www/chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc @@ -1,80 +1,80 @@ ---- media/capture/video/linux/video_capture_device_factory_v4l2.cc.orig 2026-05-07 17:02:56 UTC +--- media/capture/video/linux/video_capture_device_factory_v4l2.cc.orig 2026-07-01 06:24:19 UTC +++ media/capture/video/linux/video_capture_device_factory_v4l2.cc -@@ -42,6 +42,7 @@ bool CompareCaptureDevices(const VideoCaptureDeviceInf +@@ -43,6 +43,7 @@ bool CompareCaptureDevices(const VideoCaptureDeviceInf return a.descriptor < b.descriptor; } +#if !BUILDFLAG(IS_OPENBSD) // USB VID and PID are both 4 bytes long. const size_t kVidPidSize = 4; const size_t kMaxInterfaceNameSize = 256; -@@ -74,11 +75,24 @@ std::string ExtractFileNameFromDeviceId(const std::str +@@ -72,11 +73,24 @@ std::string ExtractFileNameFromDeviceId(const std::str DCHECK(base::StartsWith(device_id, kDevDir, base::CompareCase::SENSITIVE)); - return device_id.substr(UNSAFE_TODO(strlen(kDevDir)), device_id.length()); + return device_id.substr(kDevDir.length()); } +#endif class DevVideoFilePathsDeviceProvider : public VideoCaptureDeviceFactoryV4L2::DeviceProvider { public: void GetDeviceIds(std::vector* target_container) override { +#if BUILDFLAG(IS_OPENBSD) + char device[12]; + int fd; + /* unveil(2) limits access to /dev/, try /dev/video[0-7] */ + for (int n = 0; n < 8; n++) { + snprintf(device, sizeof(device), "/dev/video%d", n); + if ((fd = open(device, O_RDONLY)) != -1) { + close(fd); + target_container->emplace_back(device); + } + } +#else const base::FilePath path("/dev/"); base::FileEnumerator enumerator(path, false, base::FileEnumerator::FILES, "video*"); -@@ -86,9 +100,13 @@ class DevVideoFilePathsDeviceProvider +@@ -84,9 +98,13 @@ class DevVideoFilePathsDeviceProvider const base::FileEnumerator::FileInfo info = enumerator.GetInfo(); target_container->emplace_back(path.value() + info.GetName().value()); } +#endif } std::string GetDeviceModelId(const std::string& device_id) override { +#if BUILDFLAG(IS_OPENBSD) + return std::string(); +#else const std::string file_name = ExtractFileNameFromDeviceId(device_id); std::string usb_id; const std::string vid_path = -@@ -105,9 +123,13 @@ class DevVideoFilePathsDeviceProvider +@@ -103,9 +121,13 @@ class DevVideoFilePathsDeviceProvider } return usb_id; +#endif } std::string GetDeviceDisplayName(const std::string& device_id) override { +#if BUILDFLAG(IS_OPENBSD) + return std::string(); +#else const std::string file_name = ExtractFileNameFromDeviceId(device_id); const std::string interface_path = base::StringPrintf(kInterfacePathTemplate, file_name.c_str()); -@@ -118,6 +140,7 @@ class DevVideoFilePathsDeviceProvider +@@ -116,6 +138,7 @@ class DevVideoFilePathsDeviceProvider return std::string(); } return display_name; +#endif } }; -@@ -223,7 +246,7 @@ void VideoCaptureDeviceFactoryV4L2::GetDevicesInfo( +@@ -221,7 +244,7 @@ void VideoCaptureDeviceFactoryV4L2::GetDevicesInfo( std::move(callback).Run(std::move(devices_info)); } -int VideoCaptureDeviceFactoryV4L2::DoIoctl(int fd, int request, void* argp) { +int VideoCaptureDeviceFactoryV4L2::DoIoctl(int fd, unsigned int request, void* argp) { return HANDLE_EINTR(v4l2_->ioctl(fd, request, argp)); } diff --git a/www/chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc b/www/chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc index f21f394a47c9..2338f68384e8 100644 --- a/www/chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc +++ b/www/chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc @@ -1,44 +1,44 @@ ---- media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2025-08-07 06:57:29 UTC +--- media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2026-07-01 06:24:19 UTC +++ media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc @@ -17,7 +17,9 @@ #include "media/gpu/vaapi/vaapi_wrapper.h" #endif +#if !BUILDFLAG(IS_BSD) using sandbox::syscall_broker::BrokerFilePermission; +#endif // TODO(b/195769334): the hardware video decoding sandbox is really only useful // when building with VA-API or V4L2 (otherwise, we're not really doing hardware @@ -33,6 +35,7 @@ using sandbox::syscall_broker::BrokerFilePermission; namespace media { namespace { +#if !BUILDFLAG(IS_BSD) void AllowAccessToRenderNodes(std::vector& permissions, bool include_sys_dev_char, bool read_write) { -@@ -180,6 +183,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2( +@@ -207,6 +210,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2( NOTREACHED(); #endif // BUILDFLAG(USE_V4L2_CODEC) } +#endif } // namespace -@@ -195,6 +199,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2( +@@ -222,6 +226,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2( // (at least). bool HardwareVideoDecodingPreSandboxHook( sandbox::policy::SandboxLinux::Options options) { +#if !BUILDFLAG(IS_BSD) using HardwareVideoDecodingProcessPolicy = sandbox::policy::HardwareVideoDecodingProcessPolicy; using PolicyType = -@@ -240,6 +245,7 @@ bool HardwareVideoDecodingPreSandboxHook( +@@ -267,6 +272,7 @@ bool HardwareVideoDecodingPreSandboxHook( // |permissions| is empty? sandbox::policy::SandboxLinux::GetInstance()->StartBrokerProcess( command_set, permissions, options); +#endif return true; } diff --git a/www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc b/www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc index b11ee65d8e32..8b451c250f65 100644 --- a/www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc +++ b/www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc @@ -1,11 +1,11 @@ ---- media/gpu/vaapi/vaapi_video_decoder.cc.orig 2026-05-07 17:02:56 UTC +--- media/gpu/vaapi/vaapi_video_decoder.cc.orig 2026-07-01 06:24:19 UTC +++ media/gpu/vaapi/vaapi_video_decoder.cc -@@ -790,7 +790,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree +@@ -798,7 +798,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree const gfx::Size decoder_natural_size = aspect_ratio_.GetNaturalSize(decoder_visible_rect); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::optional allocator = base::BindRepeating(&AllocateCustomFrameProxy, weak_this_); std::vector candidates = { diff --git a/www/chromium/files/patch-media_media__options.gni b/www/chromium/files/patch-media_media__options.gni index 3944224e6f8d..3692470d098f 100644 --- a/www/chromium/files/patch-media_media__options.gni +++ b/www/chromium/files/patch-media_media__options.gni @@ -1,19 +1,19 @@ ---- media/media_options.gni.orig 2026-05-07 17:02:56 UTC +--- media/media_options.gni.orig 2026-07-01 06:24:19 UTC +++ media/media_options.gni @@ -209,12 +209,15 @@ declare_args() { # Enables runtime selection of ALSA library for audio. use_alsa = false + # Enable runtime selection of sndio(7) + use_sndio = false + # Alsa should be used on all non-Android, non-Mac POSIX systems - with the # exception of CastOS desktop builds. # # TODO(crbug.com/1336055): Remove legacy target_cpu hack used for targeting # desktop Chromecast builds. - if (is_posix && !is_android && !is_apple && + if (is_posix && !is_android && !is_apple && !is_bsd && - (!is_castos || (target_cpu == "x86" || target_cpu == "x64") || - is_cast_audio_only)) { + (!is_castos || (target_cpu == "x86" || target_cpu == "x64"))) { use_alsa = true + diff --git a/www/chromium/files/patch-media_mojo_mojom_BUILD.gn b/www/chromium/files/patch-media_mojo_mojom_BUILD.gn index 807f0f922845..cf39b802b6ea 100644 --- a/www/chromium/files/patch-media_mojo_mojom_BUILD.gn +++ b/www/chromium/files/patch-media_mojo_mojom_BUILD.gn @@ -1,11 +1,11 @@ ---- media/mojo/mojom/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- media/mojo/mojom/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ media/mojo/mojom/BUILD.gn -@@ -1058,7 +1058,7 @@ source_set("test_support") { +@@ -1072,7 +1072,7 @@ source_set("test_support") { sources = [] deps = [] - if (is_linux || is_chromeos) { + if (!is_bsd && (is_linux || is_chromeos)) { sources += [ "buffer_handle_test_util.cc", "buffer_handle_test_util.h", diff --git a/www/chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc b/www/chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc index 925bf98da9cc..dbb8bb32c957 100644 --- a/www/chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc +++ b/www/chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc @@ -1,47 +1,47 @@ ---- media/mojo/mojom/video_frame_mojom_traits.cc.orig 2026-06-04 10:12:25 UTC +--- media/mojo/mojom/video_frame_mojom_traits.cc.orig 2026-07-01 06:24:19 UTC +++ media/mojo/mojom/video_frame_mojom_traits.cc @@ -23,7 +23,7 @@ #include "ui/gfx/mojom/color_space_mojom_traits.h" #include "ui/gfx/mojom/hdr_metadata_mojom_traits.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "base/posix/eintr_wrapper.h" #include "media/gpu/buffer_validation.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -158,7 +158,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData( +@@ -144,7 +144,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData( media::mojom::OpaqueVideoFrameData::New()); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (input->storage_type() == media::VideoFrame::STORAGE_DMABUFS) { // Duplicates the DMA buffer FDs to a new vector since this cannot take // ownership of the FDs in |input| due to constness. -@@ -189,7 +189,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData( +@@ -175,7 +175,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData( } // namespace -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // static bool StructTraits< media::mojom::ColorPlaneLayoutDataView, -@@ -392,7 +392,7 @@ bool StructTraits struct StructTraits { diff --git a/www/chromium/files/patch-media_video_mappable__shared__image__video__frame__pool.cc b/www/chromium/files/patch-media_video_mappable__shared__image__video__frame__pool.cc index 85cb037a54b5..b70258e23fde 100644 --- a/www/chromium/files/patch-media_video_mappable__shared__image__video__frame__pool.cc +++ b/www/chromium/files/patch-media_video_mappable__shared__image__video__frame__pool.cc @@ -1,20 +1,20 @@ ---- media/video/mappable_shared_image_video_frame_pool.cc.orig 2026-06-04 10:12:25 UTC +--- media/video/mappable_shared_image_video_frame_pool.cc.orig 2026-07-01 06:24:19 UTC +++ media/video/mappable_shared_image_video_frame_pool.cc -@@ -690,7 +690,7 @@ void MappableSharedImageVideoFramePool::PoolImpl::Crea +@@ -689,7 +689,7 @@ void MappableSharedImageVideoFramePool::PoolImpl::Crea } bool is_software_backed_video_frame = !video_frame->HasSharedImage(); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) is_software_backed_video_frame &= !video_frame->HasDmaBufs(); #endif -@@ -1118,7 +1118,7 @@ scoped_refptr MappableSharedImageVideoFram +@@ -1117,7 +1117,7 @@ scoped_refptr MappableSharedImageVideoFram gpu::SHARED_IMAGE_USAGE_WEBGPU_READ); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Gate this on SharedImage usage as ScopedAccess now CHECKs for it. // TOOD(crbug.com/425634684, crbug.com/413659843): Check for webgpu support // from SharedImageCapabilities, once this metadata is compatible. diff --git a/www/chromium/files/patch-media_video_video__encode__accelerator__adapter.cc b/www/chromium/files/patch-media_video_video__encode__accelerator__adapter.cc index 65e604235008..01ba1954aaa0 100644 --- a/www/chromium/files/patch-media_video_video__encode__accelerator__adapter.cc +++ b/www/chromium/files/patch-media_video_video__encode__accelerator__adapter.cc @@ -1,11 +1,11 @@ ---- media/video/video_encode_accelerator_adapter.cc.orig 2026-06-04 10:12:25 UTC +--- media/video/video_encode_accelerator_adapter.cc.orig 2026-07-01 06:24:19 UTC +++ media/video/video_encode_accelerator_adapter.cc -@@ -513,7 +513,7 @@ void VideoEncodeAcceleratorAdapter::InitializeOnAccele +@@ -514,7 +514,7 @@ void VideoEncodeAcceleratorAdapter::InitializeOnAccele #endif // BUILDFLAG(USE_PROPRIETARY_CODECS) auto storage_type = VideoEncodeAccelerator::Config::StorageType::kShmem; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Linux/ChromeOS require a special configuration to use dmabuf storage. // We need to keep sending frames with the same storage type. // Other platforms will happily mix GpuMemoryBuffer storage with shared-mem diff --git a/www/chromium/files/patch-mojo_core_BUILD.gn b/www/chromium/files/patch-mojo_core_BUILD.gn index 0a290e693a72..a33e114f928a 100644 --- a/www/chromium/files/patch-mojo_core_BUILD.gn +++ b/www/chromium/files/patch-mojo_core_BUILD.gn @@ -1,11 +1,11 @@ ---- mojo/core/BUILD.gn.orig 2026-01-14 08:33:23 UTC +--- mojo/core/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ mojo/core/BUILD.gn -@@ -163,7 +163,7 @@ source_set("impl_for_embedder") { +@@ -162,7 +162,7 @@ source_set("impl_for_embedder") { "channel_posix.h", ] - if (is_linux || is_chromeos || is_android) { + if ((is_linux || is_chromeos || is_android) && !is_bsd) { sources += [ "channel_linux.cc", "channel_linux.h", diff --git a/www/chromium/files/patch-mojo_core_channel.cc b/www/chromium/files/patch-mojo_core_channel.cc index 77e578f5cbd1..b66ab405801f 100644 --- a/www/chromium/files/patch-mojo_core_channel.cc +++ b/www/chromium/files/patch-mojo_core_channel.cc @@ -1,32 +1,32 @@ ---- mojo/core/channel.cc.orig 2026-06-30 11:13:46 UTC +--- mojo/core/channel.cc.orig 2026-07-01 06:24:19 UTC +++ mojo/core/channel.cc @@ -74,7 +74,11 @@ const size_t kMaxAttachedHandles = 64; const size_t kMaxAttachedHandles = 253; #endif // BUILDFLAG(IS_FUCHSIA) +#if defined(__i386__) && defined(OS_FREEBSD) +const size_t kChannelMessageAlignment = 4; +#else static_assert(alignof(std::max_align_t) >= kChannelMessageAlignment, ""); +#endif Channel::AlignedBuffer MakeAlignedBuffer(size_t size) { // Generic allocators (such as malloc) return a pointer that is suitably // aligned for storing any type of object with a fundamental alignment -@@ -267,7 +271,7 @@ bool ShouldRecordSubsampledHistograms() { +@@ -268,7 +272,7 @@ bool ShouldRecordSubsampledHistograms() { } // namespace #if BUILDFLAG(IS_ANDROID) || \ - (BUILDFLAG(IS_LINUX) && defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)) + ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)) namespace { -@@ -1318,7 +1322,7 @@ bool Channel::OnControlMessage(Message::MessageType me +@@ -1317,7 +1321,7 @@ bool Channel::OnControlMessage(Message::MessageType me } // Currently only CrOs, Linux, and Android support upgrades. -#if !(BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)) +#if !(BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) // static MOJO_SYSTEM_IMPL_EXPORT bool Channel::SupportsChannelUpgrade() { return false; diff --git a/www/chromium/files/patch-mojo_core_channel.h b/www/chromium/files/patch-mojo_core_channel.h index d334ee9170ec..9800d6b0de2d 100644 --- a/www/chromium/files/patch-mojo_core_channel.h +++ b/www/chromium/files/patch-mojo_core_channel.h @@ -1,11 +1,11 @@ ---- mojo/core/channel.h.orig 2025-12-05 10:12:50 UTC +--- mojo/core/channel.h.orig 2026-07-01 06:24:19 UTC +++ mojo/core/channel.h -@@ -167,7 +167,7 @@ class MOJO_SYSTEM_IMPL_EXPORT Channel +@@ -169,7 +169,7 @@ class MOJO_SYSTEM_IMPL_EXPORT Channel } v2; #if BUILDFLAG(IS_ANDROID) || \ - (BUILDFLAG(IS_LINUX) && defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)) + ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)) // On Android for each pair of connected ipcz::Node instances both sides // of the connection run the same version of code. Restricting this // extension of IpczHeader to Android allows to iterate on the wire format diff --git a/www/chromium/files/patch-mojo_core_channel__posix.cc b/www/chromium/files/patch-mojo_core_channel__posix.cc index 40bc442fef5f..7a24cb53aa15 100644 --- a/www/chromium/files/patch-mojo_core_channel__posix.cc +++ b/www/chromium/files/patch-mojo_core_channel__posix.cc @@ -1,16 +1,16 @@ ---- mojo/core/channel_posix.cc.orig 2026-06-30 11:13:46 UTC +--- mojo/core/channel_posix.cc.orig 2026-07-01 06:24:19 UTC +++ mojo/core/channel_posix.cc -@@ -613,6 +613,13 @@ void Channel::OfferChannelUpgrade() { +@@ -622,6 +622,13 @@ void Channel::OfferChannelUpgrade() { } static_cast(this)->OfferSharedMemUpgrade(); } +#elif BUILDFLAG(IS_BSD) +// static +bool Channel::SupportsChannelUpgrade() { + return false; +} +void Channel::OfferChannelUpgrade() { +} #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || // BUILDFLAG(IS_ANDROID) diff --git a/www/chromium/files/patch-net_BUILD.gn b/www/chromium/files/patch-net_BUILD.gn index d1e9cc8b3b5a..2ad7268997ab 100644 --- a/www/chromium/files/patch-net_BUILD.gn +++ b/www/chromium/files/patch-net_BUILD.gn @@ -1,95 +1,95 @@ ---- net/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- net/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ net/BUILD.gn @@ -115,7 +115,7 @@ net_configs = [ "//build/config/compiler:wexit_time_destructors", ] -if (is_linux || is_chromeos) { +if ((is_linux || is_chromeos) && !is_bsd) { net_configs += [ "//build/config/linux:libresolv" ] } @@ -1416,6 +1416,19 @@ component("net") { ] } + if (is_bsd) { + sources -= [ + "base/address_map_cache_linux.cc", + "base/address_map_cache_linux.h", + "base/address_map_linux.cc", + "base/address_map_linux.h", + "base/address_tracker_linux.cc", + "base/address_tracker_linux.h", + "base/network_change_notifier_linux.cc", + "base/network_interfaces_linux.cc", + ] + } + if (is_mac) { sources += [ "base/network_notification_thread_mac.cc", @@ -1590,7 +1603,7 @@ component("net") { } # Use getifaddrs() on POSIX platforms, except Linux. - if (is_posix && !is_linux && !is_chromeos) { + if ((is_posix && !is_linux && !is_chromeos) || is_bsd) { sources += [ "base/network_interfaces_getifaddrs.cc", "base/network_interfaces_getifaddrs.h", -@@ -2352,7 +2365,7 @@ static_library("test_support") { +@@ -2351,7 +2364,7 @@ static_library("test_support") { ] } - if (is_linux || is_chromeos || is_android) { + if (!is_bsd && (is_linux || is_chromeos || is_android)) { sources += [ "base/address_tracker_linux_test_util.cc", "base/address_tracker_linux_test_util.h", -@@ -3187,14 +3200,14 @@ target(_test_target_type, "net_unittests") { +@@ -3190,14 +3203,14 @@ target(_test_target_type, "net_unittests") { ] } - if (is_linux) { + if (is_linux && !is_bsd) { sources += [ "base/network_change_notifier_linux_unittest.cc", "proxy_resolution/proxy_config_service_linux_unittest.cc", ] } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { sources += [ "base/address_tracker_linux_unittest.cc", "base/network_interfaces_linux_unittest.cc", -@@ -3308,6 +3321,10 @@ target(_test_target_type, "net_unittests") { +@@ -3318,6 +3331,10 @@ target(_test_target_type, "net_unittests") { ] } + if (is_bsd) { + deps += [ "//sandbox/policy" ] + } + if (enable_websockets) { sources += [ "server/http_connection_unittest.cc", -@@ -3364,7 +3381,7 @@ target(_test_target_type, "net_unittests") { +@@ -3375,7 +3392,7 @@ target(_test_target_type, "net_unittests") { ] data_deps = [ "//testing/buildbot/filters:net_unittests_filters" ] - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { sources += [ "tools/quic/quic_simple_server_test.cc" ] } -@@ -3497,7 +3514,7 @@ target(_test_target_type, "net_unittests") { +@@ -3508,7 +3525,7 @@ target(_test_target_type, "net_unittests") { } # Use getifaddrs() on POSIX platforms, except Linux. - if (is_posix && !is_linux && !is_chromeos) { + if (is_posix && !is_linux && !is_chromeos && !is_bsd) { sources += [ "base/network_interfaces_getifaddrs_unittest.cc" ] } diff --git a/www/chromium/files/patch-net_base_features.cc b/www/chromium/files/patch-net_base_features.cc index f5a3c69eb3f9..b92b37fb9d03 100644 --- a/www/chromium/files/patch-net_base_features.cc +++ b/www/chromium/files/patch-net_base_features.cc @@ -1,29 +1,29 @@ ---- net/base/features.cc.orig 2026-06-04 10:12:25 UTC +--- net/base/features.cc.orig 2026-07-01 06:24:19 UTC +++ net/base/features.cc -@@ -36,7 +36,7 @@ BASE_FEATURE(kCapReferrerToOriginOnCrossOrigin, +@@ -40,7 +40,7 @@ BASE_FEATURE(kCapReferrerToOriginOnCrossOrigin, BASE_FEATURE(kAsyncDns, #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID) || \ - BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -309,7 +309,7 @@ inline constexpr auto kMigrateSessionsOnNetworkChangeV +@@ -314,7 +314,7 @@ inline constexpr auto kMigrateSessionsOnNetworkChangeV BASE_FEATURE(kMigrateSessionsOnNetworkChangeV2, kMigrateSessionsOnNetworkChangeV2Default); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kAddressTrackerLinuxIsProxied, base::FEATURE_ENABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_LINUX) -@@ -430,7 +430,7 @@ BASE_FEATURE(kReportingApiEnableEnterpriseCookieIssues +@@ -426,7 +426,7 @@ BASE_FEATURE(kReportingApiEnableEnterpriseCookieIssues base::FEATURE_DISABLED_BY_DEFAULT); BASE_FEATURE(kSimdutfBase64Support, -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/chromium/files/patch-net_dns_BUILD.gn b/www/chromium/files/patch-net_dns_BUILD.gn index 025a1304f745..e4ea56ce9e8f 100644 --- a/www/chromium/files/patch-net_dns_BUILD.gn +++ b/www/chromium/files/patch-net_dns_BUILD.gn @@ -1,39 +1,39 @@ ---- net/dns/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- net/dns/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ net/dns/BUILD.gn -@@ -169,7 +169,7 @@ source_set("dns") { +@@ -167,7 +167,7 @@ source_set("dns") { "dns_config_service_android.cc", "dns_config_service_android.h", ] - } else if (is_linux) { + } else if (is_linux && !is_bsd) { sources += [ "dns_config_service_linux.cc", "dns_config_service_linux.h", -@@ -203,6 +203,7 @@ source_set("dns") { +@@ -201,6 +201,7 @@ source_set("dns") { } deps = [ "//net:net_deps" ] + deps += [ "//services/screen_ai/buildflags" ] public_deps = [ ":dns_client", -@@ -281,6 +282,7 @@ source_set("host_resolver") { +@@ -279,6 +280,7 @@ source_set("host_resolver") { deps = [ "//net:net_deps", "//net/dns/public", + "//printing/buildflags", ] public_deps = [ "//net:net_public_deps" ] -@@ -484,9 +486,9 @@ source_set("tests") { +@@ -481,9 +483,9 @@ source_set("tests") { "mock_dns_platform_android_attempt_delegate.cc", "mock_dns_platform_android_attempt_delegate.h", ] - } else if (is_linux) { + } else if (is_linux && !is_bsd) { sources += [ "dns_config_service_linux_unittest.cc" ] - } else if (is_posix) { + } else if (is_posix && !is_bsd) { sources += [ "dns_config_service_posix_unittest.cc" ] } diff --git a/www/chromium/files/patch-net_tools_cert__verify__tool_cert__verify__tool.cc b/www/chromium/files/patch-net_tools_cert__verify__tool_cert__verify__tool.cc index 1822c86a0fbe..a0755e197fc9 100644 --- a/www/chromium/files/patch-net_tools_cert__verify__tool_cert__verify__tool.cc +++ b/www/chromium/files/patch-net_tools_cert__verify__tool_cert__verify__tool.cc @@ -1,20 +1,20 @@ ---- net/tools/cert_verify_tool/cert_verify_tool.cc.orig 2026-01-14 08:33:23 UTC +--- net/tools/cert_verify_tool/cert_verify_tool.cc.orig 2026-07-01 06:24:19 UTC +++ net/tools/cert_verify_tool/cert_verify_tool.cc -@@ -36,7 +36,7 @@ +@@ -37,7 +37,7 @@ #include "third_party/boringssl/src/pki/trust_store.h" #include "third_party/boringssl/src/pki/trust_store_collection.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "net/proxy_resolution/proxy_config.h" #include "net/proxy_resolution/proxy_config_service_fixed.h" #endif -@@ -68,7 +68,7 @@ void SetUpOnNetworkThread( +@@ -69,7 +69,7 @@ void SetUpOnNetworkThread( base::WaitableEvent* initialization_complete_event) { net::URLRequestContextBuilder url_request_context_builder; url_request_context_builder.set_user_agent(GetUserAgent()); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // On Linux, use a fixed ProxyConfigService, since the default one // depends on glib. // diff --git a/www/chromium/files/patch-net_websockets_websocket__basic__stream__adapters__test.cc b/www/chromium/files/patch-net_websockets_websocket__basic__stream__adapters__test.cc index 451aa1f8b756..fa018d4bb43e 100644 --- a/www/chromium/files/patch-net_websockets_websocket__basic__stream__adapters__test.cc +++ b/www/chromium/files/patch-net_websockets_websocket__basic__stream__adapters__test.cc @@ -1,15 +1,15 @@ ---- net/websockets/websocket_basic_stream_adapters_test.cc.orig 2026-05-07 17:02:56 UTC +--- net/websockets/websocket_basic_stream_adapters_test.cc.orig 2026-07-01 06:24:19 UTC +++ net/websockets/websocket_basic_stream_adapters_test.cc -@@ -1102,10 +1102,10 @@ TEST_F(WebSocketSpdyStreamAdapterTest, +@@ -1103,10 +1103,10 @@ TEST_F(WebSocketSpdyStreamAdapterTest, OnCloseOkShouldBeTranslatedToConnectionClose) { spdy::SpdySerializedFrame response_headers( spdy_util_.ConstructSpdyResponseHeaders(1, ResponseHeaders(), false)); - spdy::SpdySerializedFrame close( + spdy::SpdySerializedFrame test_close( spdy_util_.ConstructSpdyRstStream(1, spdy::ERROR_CODE_NO_ERROR)); MockRead reads[] = {CreateMockRead(response_headers, 1), - CreateMockRead(close, 2), MockRead(ASYNC, 0, 3)}; + CreateMockRead(test_close, 2), MockRead(ASYNC, 0, 3)}; spdy::SpdySerializedFrame request_headers(spdy_util_.ConstructSpdyHeaders( 1, RequestHeaders(), DEFAULT_PRIORITY, false)); MockWrite writes[] = {CreateMockWrite(request_headers, 0)}; diff --git a/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc b/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc index ecd720e47257..3ccd4cda8861 100644 --- a/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc +++ b/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc @@ -1,20 +1,20 @@ ---- pdf/pdfium/pdfium_engine.cc.orig 2026-06-04 10:12:25 UTC +--- pdf/pdfium/pdfium_engine.cc.orig 2026-07-01 06:24:19 UTC +++ pdf/pdfium/pdfium_engine.cc -@@ -128,7 +128,7 @@ +@@ -130,7 +130,7 @@ #include "ui/accessibility/ax_features.mojom-features.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "pdf/pdfium/pdfium_font_linux.h" #endif -@@ -707,7 +707,7 @@ void InitializeSDK(bool enable_v8, +@@ -797,7 +797,7 @@ void InitializeSDK(bool enable_v8, FPDF_InitLibraryWithConfig(&config); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) g_font_mapping_mode = font_mapping_mode; InitializeLinuxFontMapper(); #endif diff --git a/www/chromium/files/patch-printing_backend_cups__helper.cc b/www/chromium/files/patch-printing_backend_cups__helper.cc index 1199986dafce..74d69111436b 100644 --- a/www/chromium/files/patch-printing_backend_cups__helper.cc +++ b/www/chromium/files/patch-printing_backend_cups__helper.cc @@ -1,52 +1,52 @@ ---- printing/backend/cups_helper.cc.orig 2026-01-14 08:33:23 UTC +--- printing/backend/cups_helper.cc.orig 2026-07-01 06:24:19 UTC +++ printing/backend/cups_helper.cc @@ -8,7 +8,7 @@ #include "base/time/time.h" #include "build/build_config.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include #include #include @@ -38,11 +38,11 @@ #include "url/gurl.h" #endif // BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "printing/backend/cups_weak_functions.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) using base::EqualsCaseInsensitiveASCII; #endif // BUILDFLAG(IS_LINUX) @@ -55,7 +55,7 @@ namespace { // able to start and respond on all systems within this duration. constexpr base::TimeDelta kCupsTimeout = base::Seconds(5); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // CUPS default max copies value (parsed from kCupsMaxCopies PPD attribute). constexpr int32_t kDefaultMaxCopies = 9999; constexpr char kCupsMaxCopies[] = "cupsMaxCopies"; @@ -761,7 +761,7 @@ const int kDefaultIPPServerPort = 631; } // namespace -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Helper wrapper around http_t structure, with connection and cleanup // functionality. HttpConnectionCUPS::HttpConnectionCUPS(const GURL& print_server_url, -@@ -966,7 +966,7 @@ ScopedHttpPtr HttpConnect2(const char* host, +@@ -970,7 +970,7 @@ ScopedHttpPtr HttpConnect2(const char* host, int blocking, int msec, int* cancel) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ScopedHttpPtr http; if (httpConnect2) { http.reset(httpConnect2(host, port, diff --git a/www/chromium/files/patch-printing_printing__features.cc b/www/chromium/files/patch-printing_printing__features.cc index 29a487a6fcb5..d67ae6b2afc0 100644 --- a/www/chromium/files/patch-printing_printing__features.cc +++ b/www/chromium/files/patch-printing_printing__features.cc @@ -1,20 +1,20 @@ ---- printing/printing_features.cc.orig 2026-06-04 10:12:25 UTC +--- printing/printing_features.cc.orig 2026-07-01 06:24:19 UTC +++ printing/printing_features.cc @@ -17,7 +17,7 @@ namespace printing::features { BASE_FEATURE(kAlignPdfDefaultPrintSettingsWithHTML, base::FEATURE_DISABLED_BY_DEFAULT); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Use the CUPS IPP printing backend instead of the original CUPS backend that // calls the deprecated PPD API. BASE_FEATURE(kCupsIppPrintingBackend, base::FEATURE_DISABLED_BY_DEFAULT); -@@ -52,7 +52,7 @@ BASE_FEATURE(kUseXpsForPrintingFromPdf, base::FEATURE_ +@@ -40,7 +40,7 @@ BASE_FEATURE(kPrintWithReducedRasterization, base::FEA // Enables printing interactions with the operating system to be performed // out-of-process. BASE_FEATURE(kEnableOopPrintDrivers, -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/chromium/files/patch-remoting_base_crash_crashpad__database__manager.cc b/www/chromium/files/patch-remoting_base_crash_crashpad__database__manager.cc index 1eaac44768f0..b21ed777b313 100644 --- a/www/chromium/files/patch-remoting_base_crash_crashpad__database__manager.cc +++ b/www/chromium/files/patch-remoting_base_crash_crashpad__database__manager.cc @@ -1,47 +1,47 @@ ---- remoting/base/crash/crashpad_database_manager.cc.orig 2026-06-04 10:12:25 UTC +--- remoting/base/crash/crashpad_database_manager.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/base/crash/crashpad_database_manager.cc @@ -24,7 +24,7 @@ #if BUILDFLAG(IS_WIN) #include "base/base_paths.h" #include "base/strings/utf_string_conversions.h" -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include #include #include @@ -39,7 +39,7 @@ namespace remoting { namespace { -#if !BUILDFLAG(IS_LINUX) -+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) ++#if !BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const base::FilePath::CharType kChromotingCrashpadDatabasePath[] = FILE_PATH_LITERAL("crashpad"); #endif @@ -56,7 +56,7 @@ const size_t kMaxReportsToRetain = 20; // Maximum number of days to keep reports around in the local database. const size_t kMaxReportAgeDays = 7; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) inline base::FilePath GetDaemonProcessCrashpadDatabasePath() { return GetVarLibDir().Append("crashpad.daemon"); @@ -131,7 +131,7 @@ base::FilePath GetCrashpadDatabasePath() { base::FilePath path; base::PathService::Get(base::BasePathKey::DIR_ASSETS, &path); return path.Append(kChromotingCrashpadDatabasePath); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (getuid() == 0) { return GetDaemonProcessCrashpadDatabasePath(); } @@ -186,7 +186,7 @@ CrashpadDatabaseManager::CrashpadDatabaseManager(Logge CrashpadDatabaseManager::~CrashpadDatabaseManager() = default; bool CrashpadDatabaseManager::InitializeCrashpadDatabase() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) SetupCrashpadDirectories(); #endif diff --git a/www/chromium/files/patch-remoting_host_audio__injector.cc b/www/chromium/files/patch-remoting_host_audio__injector.cc index 167ee3e2a06a..bceeb8c3d417 100644 --- a/www/chromium/files/patch-remoting_host_audio__injector.cc +++ b/www/chromium/files/patch-remoting_host_audio__injector.cc @@ -1,20 +1,29 @@ ---- remoting/host/audio_injector.cc.orig 2026-06-04 10:12:25 UTC +--- remoting/host/audio_injector.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/audio_injector.cc -@@ -8,7 +8,7 @@ +@@ -7,7 +7,7 @@ #include "build/build_config.h" - #include "remoting/proto/audio.pb.h" + #include "remoting/base/fifo_buffer.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "remoting/host/linux/pipewire_audio_injector.h" #endif -@@ -26,7 +26,7 @@ void AudioInjector::ProcessAudioPacket(std::unique_ptr +@@ -19,7 +19,7 @@ AudioInjector::~AudioInjector() = default; // static bool AudioInjector::IsSupported() { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // On Linux, we check if PipeWire is available and can be initialized. // Note that in multi-process mode, this may return true in the network // process because the libraries are loadable, even though the virtual audio +@@ -34,7 +34,7 @@ bool AudioInjector::IsSupported() { + // static + std::unique_ptr AudioInjector::Create( + std::unique_ptr audio_reader) { +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return PipewireAudioInjector::Create(std::move(audio_reader)); + #else + return nullptr; diff --git a/www/chromium/files/patch-remoting_host_chromoting__host__services__client.cc b/www/chromium/files/patch-remoting_host_chromoting__host__services__client.cc index e9ae54ec2ee1..03b46bee47e0 100644 --- a/www/chromium/files/patch-remoting_host_chromoting__host__services__client.cc +++ b/www/chromium/files/patch-remoting_host_chromoting__host__services__client.cc @@ -1,20 +1,20 @@ ---- remoting/host/chromoting_host_services_client.cc.orig 2026-05-07 17:02:56 UTC +--- remoting/host/chromoting_host_services_client.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/chromoting_host_services_client.cc -@@ -74,7 +74,7 @@ mojo::PendingRemote Con +@@ -78,7 +78,7 @@ mojo::PendingRemote Con ChromotingHostServicesClient::ChromotingHostServicesClient() : ChromotingHostServicesClient( -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::vector{GetChromotingHostServicesServerName(), GetLegacyChromotingHostServicesServerName()} #else -@@ -163,7 +163,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic +@@ -147,7 +147,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic if (session_services_remote_.is_bound()) { return true; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!environment_->HasVar(kChromeRemoteDesktopSessionEnvVar)) { LOG(WARNING) << "Current desktop environment is not remotable."; return false; diff --git a/www/chromium/files/patch-remoting_host_chromoting__host__services__server.cc b/www/chromium/files/patch-remoting_host_chromoting__host__services__server.cc index 7c1883f2bf83..3bc132cbb343 100644 --- a/www/chromium/files/patch-remoting_host_chromoting__host__services__server.cc +++ b/www/chromium/files/patch-remoting_host_chromoting__host__services__server.cc @@ -1,29 +1,29 @@ ---- remoting/host/chromoting_host_services_server.cc.orig 2026-05-07 17:02:56 UTC +--- remoting/host/chromoting_host_services_server.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/chromoting_host_services_server.cc @@ -16,7 +16,7 @@ #include "remoting/host/mojo_caller_security_checker.h" #include "remoting/host/mojom/chromoting_host_services.mojom.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include #endif -@@ -44,7 +44,7 @@ named_mojo_ipc_server::EndpointOptions CreateEndpointO - options.security_descriptor = - base::StrCat({L"O:", user_sid, L"G:", user_sid, L"D:(A;;GA;;;AU)"}); +@@ -47,7 +47,7 @@ named_mojo_ipc_server::EndpointOptions CreateEndpointO options.include_peer_process_info = true; + options.extra_send_invitation_flags = + MOJO_SEND_INVITATION_FLAG_UNTRUSTED_PROCESS; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Allow the endpoint to be connected by any users iff the server is run as // root. options.require_same_peer_user = (getuid() != 0); -@@ -57,7 +57,7 @@ named_mojo_ipc_server::EndpointOptions CreateEndpointO +@@ -60,7 +60,7 @@ named_mojo_ipc_server::EndpointOptions CreateEndpointO ChromotingHostServicesServer::ChromotingHostServicesServer( BindChromotingHostServicesCallback bind_chromoting_host_services) : ChromotingHostServicesServer( -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // For the multi-process host, the server is run as root; for the // legacy single-process host, the server is run as the login user. (getuid() == 0) ? GetChromotingHostServicesServerName() diff --git a/www/chromium/files/patch-remoting_host_client__session.cc b/www/chromium/files/patch-remoting_host_client__session.cc index 5acafdc051d0..31179ca2ba66 100644 --- a/www/chromium/files/patch-remoting_host_client__session.cc +++ b/www/chromium/files/patch-remoting_host_client__session.cc @@ -1,11 +1,11 @@ ---- remoting/host/client_session.cc.orig 2026-06-04 10:12:25 UTC +--- remoting/host/client_session.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/client_session.cc -@@ -218,7 +218,7 @@ void ClientSession::NotifyClientResolution( +@@ -222,7 +222,7 @@ void ClientSession::NotifyClientResolution( if (effective_policies_.curtain_required.value_or(false)) { dpi_vector.set(resolution.x_dpi(), resolution.y_dpi()); } -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) dpi_vector.set(resolution.x_dpi(), resolution.y_dpi()); #endif diff --git a/www/chromium/files/patch-remoting_host_desktop__session__proxy.cc b/www/chromium/files/patch-remoting_host_desktop__session__proxy.cc index 23e11e4f7ed0..094eb79d9269 100644 --- a/www/chromium/files/patch-remoting_host_desktop__session__proxy.cc +++ b/www/chromium/files/patch-remoting_host_desktop__session__proxy.cc @@ -1,20 +1,20 @@ ---- remoting/host/desktop_session_proxy.cc.orig 2026-06-04 10:12:25 UTC +--- remoting/host/desktop_session_proxy.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/desktop_session_proxy.cc -@@ -165,7 +165,7 @@ DesktopSessionProxy::CreateRemoteWebAuthnStateChangeNo +@@ -169,7 +169,7 @@ DesktopSessionProxy::CreateRemoteWebAuthnStateChangeNo base::BindRepeating(&DesktopSessionProxy::SignalWebAuthnExtension, this)); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void DesktopSessionProxy::OnSessionServicesClientConnected( mojo::PendingReceiver receiver) { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -@@ -205,7 +205,7 @@ std::string DesktopSessionProxy::GetCapabilities() con +@@ -209,7 +209,7 @@ std::string DesktopSessionProxy::GetCapabilities() con result += protocol::kRemoteWebAuthnCapability; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) result += " "; result += protocol::kClientControlledLayoutCapability; #endif diff --git a/www/chromium/files/patch-remoting_host_desktop__session__proxy.h b/www/chromium/files/patch-remoting_host_desktop__session__proxy.h index 5ffec46de61c..e6827c196e7f 100644 --- a/www/chromium/files/patch-remoting_host_desktop__session__proxy.h +++ b/www/chromium/files/patch-remoting_host_desktop__session__proxy.h @@ -1,11 +1,11 @@ ---- remoting/host/desktop_session_proxy.h.orig 2026-06-04 10:12:25 UTC +--- remoting/host/desktop_session_proxy.h.orig 2026-07-01 06:24:19 UTC +++ remoting/host/desktop_session_proxy.h -@@ -107,7 +107,7 @@ class DesktopSessionProxy +@@ -108,7 +108,7 @@ class DesktopSessionProxy std::unique_ptr CreateUrlForwarderConfigurator(); std::unique_ptr CreateRemoteWebAuthnStateChangeNotifier(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void OnSessionServicesClientConnected( mojo::PendingReceiver receiver); #endif diff --git a/www/chromium/files/patch-remoting_host_ipc__desktop__environment.cc b/www/chromium/files/patch-remoting_host_ipc__desktop__environment.cc index adb56c2c6bf8..4d18cba9172d 100644 --- a/www/chromium/files/patch-remoting_host_ipc__desktop__environment.cc +++ b/www/chromium/files/patch-remoting_host_ipc__desktop__environment.cc @@ -1,11 +1,11 @@ ---- remoting/host/ipc_desktop_environment.cc.orig 2026-06-04 10:12:25 UTC +--- remoting/host/ipc_desktop_environment.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/ipc_desktop_environment.cc -@@ -367,7 +367,7 @@ void IpcDesktopEnvironmentFactory::OnTerminalDisconnec +@@ -371,7 +371,7 @@ void IpcDesktopEnvironmentFactory::OnTerminalDisconnec } } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void IpcDesktopEnvironmentFactory::OnSessionServicesClientConnected( int terminal_id, mojo::PendingReceiver receiver) { diff --git a/www/chromium/files/patch-remoting_host_ipc__desktop__environment.h b/www/chromium/files/patch-remoting_host_ipc__desktop__environment.h index e9bad15b1a8c..921fe70ed4a4 100644 --- a/www/chromium/files/patch-remoting_host_ipc__desktop__environment.h +++ b/www/chromium/files/patch-remoting_host_ipc__desktop__environment.h @@ -1,20 +1,20 @@ ---- remoting/host/ipc_desktop_environment.h.orig 2026-06-04 10:12:25 UTC +--- remoting/host/ipc_desktop_environment.h.orig 2026-07-01 06:24:19 UTC +++ remoting/host/ipc_desktop_environment.h -@@ -128,7 +128,7 @@ class IpcDesktopEnvironmentFactory : public DesktopEnv +@@ -130,7 +130,7 @@ class IpcDesktopEnvironmentFactory : public DesktopEnv int terminal_id, mojo::ScopedMessagePipeHandle desktop_pipe) override; void OnTerminalDisconnected(int terminal_id) override; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void OnSessionServicesClientConnected( int terminal_id, mojo::PendingReceiver receiver) -@@ -170,7 +170,7 @@ class IpcDesktopEnvironmentFactory : public DesktopEnv +@@ -172,7 +172,7 @@ class IpcDesktopEnvironmentFactory : public DesktopEnv // the same email address reconnects, the desktop session will be reused and // the desktop process will be requested to send a new desktop pipe. // TODO: yuweih - see if it makes sense to enable it on Windows. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool persist_desktop_sessions_ = true; #else bool persist_desktop_sessions_ = false; diff --git a/www/chromium/files/patch-remoting_host_mojo__caller__security__checker.cc b/www/chromium/files/patch-remoting_host_mojo__caller__security__checker.cc index 6f52576f98d9..02ff57e120cd 100644 --- a/www/chromium/files/patch-remoting_host_mojo__caller__security__checker.cc +++ b/www/chromium/files/patch-remoting_host_mojo__caller__security__checker.cc @@ -1,29 +1,29 @@ ---- remoting/host/mojo_caller_security_checker.cc.orig 2026-05-07 17:02:56 UTC +--- remoting/host/mojo_caller_security_checker.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/mojo_caller_security_checker.cc -@@ -32,7 +32,7 @@ +@@ -40,7 +40,7 @@ namespace remoting { namespace { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) constexpr auto kAllowedCallerProgramNames = base::MakeFixedFlatSet({ "remote-open-url", -@@ -62,7 +62,7 @@ bool IsTrustedMojoEndpoint( +@@ -136,7 +136,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) static base::NoDestructor current_process_image_path( GetProcessImagePath(base::GetCurrentProcId())); -@@ -99,7 +99,7 @@ bool IsTrustedMojoEndpoint( +@@ -173,7 +173,7 @@ bool IsTrustedMojoEndpoint( base::FilePath::StringType program_name = caller_process_image_path.BaseName().value(); if (!kAllowedCallerProgramNames.contains(program_name)) { -#if BUILDFLAG(IS_LINUX) && !defined(NDEBUG) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !defined(NDEBUG) // Linux binaries generated in out/Debug are underscore-separated. To make // debugging easier, we just check the name again with underscores replaced // with hyphens. diff --git a/www/chromium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc b/www/chromium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc index a0e5bca6a591..1c853db5b3be 100644 --- a/www/chromium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc +++ b/www/chromium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc @@ -1,20 +1,20 @@ ---- remoting/host/remote_open_url/remote_open_url_main.cc.orig 2026-06-04 10:12:25 UTC +--- remoting/host/remote_open_url/remote_open_url_main.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/remote_open_url/remote_open_url_main.cc -@@ -23,7 +23,7 @@ +@@ -22,7 +22,7 @@ #include "remoting/host/usage_stats_consent.h" #include "ui/base/l10n/l10n_util.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "remoting/base/crash/crash_reporting_crashpad.h" #endif // BUILDFLAG(IS_LINUX) -@@ -47,7 +47,7 @@ int RemoteOpenUrlMain(int argc, char** argv) { +@@ -46,7 +46,7 @@ int RemoteOpenUrlMain(int argc, char** argv) { #if defined(REMOTING_ENABLE_CRASH_REPORTING) if (IsUsageStatsAllowed()) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) InitializeCrashpadReporting(); #elif BUILDFLAG(IS_WIN) InitializeBreakpadReporting(); diff --git a/www/chromium/files/patch-remoting_host_security__key_remote__security__key__main.cc b/www/chromium/files/patch-remoting_host_security__key_remote__security__key__main.cc index 1722d9754624..d406d92e0712 100644 --- a/www/chromium/files/patch-remoting_host_security__key_remote__security__key__main.cc +++ b/www/chromium/files/patch-remoting_host_security__key_remote__security__key__main.cc @@ -1,20 +1,20 @@ ---- remoting/host/security_key/remote_security_key_main.cc.orig 2025-07-02 06:08:04 UTC +--- remoting/host/security_key/remote_security_key_main.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/security_key/remote_security_key_main.cc -@@ -24,7 +24,7 @@ +@@ -23,7 +23,7 @@ #include "remoting/host/security_key/security_key_message_handler.h" #include "remoting/host/usage_stats_consent.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "remoting/base/crash/crash_reporting_crashpad.h" #endif // BUILDFLAG(IS_LINUX) -@@ -96,7 +96,7 @@ int RemoteSecurityKeyMain(int argc, char** argv) { +@@ -90,7 +90,7 @@ int RemoteSecurityKeyMain(int argc, char** argv) { #if defined(REMOTING_ENABLE_CRASH_REPORTING) if (IsUsageStatsAllowed()) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) InitializeCrashpadReporting(); #elif BUILDFLAG(IS_WIN) InitializeBreakpadReporting(); diff --git a/www/chromium/files/patch-remoting_host_setup_me2me__native__messaging__host.cc b/www/chromium/files/patch-remoting_host_setup_me2me__native__messaging__host.cc new file mode 100644 index 000000000000..a84e8ee6a18f --- /dev/null +++ b/www/chromium/files/patch-remoting_host_setup_me2me__native__messaging__host.cc @@ -0,0 +1,11 @@ +--- remoting/host/setup/me2me_native_messaging_host.cc.orig 2026-07-01 06:24:19 UTC ++++ remoting/host/setup/me2me_native_messaging_host.cc +@@ -331,7 +331,7 @@ void Me2MeNativeMessagingHost::ProcessStartDaemon(base + base::DictValue response) { + DCHECK(task_runner()->BelongsToCurrentThread()); + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // See: b/215406223, crbug.com/514525547 + // TODO: yuweih - consider re-enabling starting host via native messaging once + // the GDM-managed host becomes the default. diff --git a/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__caller__security__utils.cc b/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__caller__security__utils.cc index b9da889b82e8..80d07ab42abc 100644 --- a/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__caller__security__utils.cc +++ b/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__caller__security__utils.cc @@ -1,29 +1,34 @@ ---- remoting/host/webauthn/remote_webauthn_caller_security_utils.cc.orig 2025-05-28 14:55:43 UTC +--- remoting/host/webauthn/remote_webauthn_caller_security_utils.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/webauthn/remote_webauthn_caller_security_utils.cc -@@ -14,7 +14,7 @@ - #include "base/strings/utf_string_conversions.h" +@@ -13,11 +13,11 @@ + #include "base/process/process_handle.h" #include "build/build_config.h" +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "base/containers/fixed_flat_set.h" + #endif + -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - #include "base/containers/fixed_flat_set.h" #include "base/files/file_path.h" #include "remoting/host/base/process_util.h" -@@ -48,7 +48,7 @@ namespace { + #endif +@@ -46,7 +46,7 @@ namespace { // No static variables needed for debug builds. -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) constexpr auto kAllowedCallerPrograms = base::MakeFixedFlatSet({ -@@ -99,7 +99,7 @@ bool IsLaunchedByTrustedProcess() { +@@ -105,7 +105,7 @@ bool IsLaunchedByTrustedProcess() { #if !defined(NDEBUG) // Just return true on debug builds for the convenience of development. return true; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::ProcessId parent_pid = base::GetParentProcessId(base::GetCurrentProcessHandle()); // Note that on Linux the process image may no longer exist in its original diff --git a/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc b/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc index df0429a6408a..9703ae448b5d 100644 --- a/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc +++ b/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc @@ -1,20 +1,20 @@ ---- remoting/host/webauthn/remote_webauthn_main.cc.orig 2025-07-02 06:08:04 UTC +--- remoting/host/webauthn/remote_webauthn_main.cc.orig 2026-07-01 06:24:19 UTC +++ remoting/host/webauthn/remote_webauthn_main.cc -@@ -27,7 +27,7 @@ +@@ -26,7 +26,7 @@ #include "remoting/host/webauthn/remote_webauthn_caller_security_utils.h" #include "remoting/host/webauthn/remote_webauthn_native_messaging_host.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "remoting/base/crash/crash_reporting_crashpad.h" #endif // BUILDFLAG(IS_LINUX) -@@ -50,7 +50,7 @@ int RemoteWebAuthnMain(int argc, char** argv) { +@@ -49,7 +49,7 @@ int RemoteWebAuthnMain(int argc, char** argv) { #if defined(REMOTING_ENABLE_CRASH_REPORTING) if (IsUsageStatsAllowed()) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) InitializeCrashpadReporting(); #elif BUILDFLAG(IS_WIN) InitializeBreakpadReporting(); diff --git a/www/chromium/files/patch-remoting_tools_magi-mode_tests_testdata_mock__app.cc b/www/chromium/files/patch-remoting_tools_magi-mode_tests_testdata_mock__app.cc new file mode 100644 index 000000000000..d74e9b190168 --- /dev/null +++ b/www/chromium/files/patch-remoting_tools_magi-mode_tests_testdata_mock__app.cc @@ -0,0 +1,20 @@ +--- remoting/tools/magi-mode/tests/testdata/mock_app.cc.orig 2026-07-01 06:24:19 UTC ++++ remoting/tools/magi-mode/tests/testdata/mock_app.cc +@@ -14,7 +14,7 @@ + #include "file_manager_win.h" + #endif + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "socket_handler_linux.h" + #endif + +@@ -39,7 +39,7 @@ void RunMockApp() { + ProcessFile(); + #endif + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + ReadConfig(); + #endif + } diff --git a/www/chromium/files/patch-rollup_rust_bindings__napi_Cargo.toml b/www/chromium/files/patch-rollup_rust_bindings__napi_Cargo.toml index 0c0afecb39fe..9bbbb975eaa7 100644 --- a/www/chromium/files/patch-rollup_rust_bindings__napi_Cargo.toml +++ b/www/chromium/files/patch-rollup_rust_bindings__napi_Cargo.toml @@ -1,15 +1,20 @@ ---- rollup/rust/bindings_napi/Cargo.toml.orig 2026-02-11 09:05:39 UTC +--- rollup/rust/bindings_napi/Cargo.toml.orig 2026-07-01 06:24:19 UTC +++ rollup/rust/bindings_napi/Cargo.toml -@@ -15,10 +15,10 @@ napi-derive = "2.16.12" +@@ -15,7 +15,7 @@ napi-derive = "3.5.5" parse_ast = { path = "../parse_ast" } xxhash = { path = "../xxhash" } --[target.'cfg(not(target_os = "linux"))'.dependencies] +-[target.'cfg(not(any(target_os = "linux", target_os = "freebsd")))'.dependencies] +[target.'cfg(not(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd")))'.dependencies] - mimalloc-rust = { version = "0.2.1" } + mimalloc-safe = { version = "0.1.58" } --[target.'cfg(all(target_os = "linux", not(all(target_env = "musl", target_arch = "aarch64"))))'.dependencies] -+[target.'cfg(any(all(target_os = "linux", not(all(target_env = "musl", target_arch = "aarch64"))), all(target_os = "freebsd", not(target_arch = "aarch64")), all(target_os = "openbsd", not(target_arch = "aarch64"))))'.dependencies] - mimalloc-rust = { version = "0.2.1", features = ["local-dynamic-tls"] } + # Readable version of the target specifier +@@ -33,7 +33,7 @@ mimalloc-safe = { version = "0.1.58" } + # ) + # ) + # ) +-[target.'cfg(any(all(target_os = "linux", not(target_arch = "loongarch64"), not(all(target_arch = "riscv64", target_env = "musl")), not(target_env = "ohos")), all(target_os = "freebsd", not(target_arch = "aarch64"))))'.dependencies] ++[target.'cfg(any(all(target_os = "linux", not(target_arch = "loongarch64"), not(all(target_arch = "riscv64", target_env = "musl")), not(target_env = "ohos")), all(target_os = "openbsd", not(target_arch = "aarch64")), all(target_os = "freebsd", not(target_arch = "aarch64"))))'.dependencies] + mimalloc-safe = { version = "0.1.58", features = ["local_dynamic_tls"] } - [build-dependencies] + # Disable architecture specific optimizations on aarch64 platforms diff --git a/www/chromium/files/patch-rollup_rust_bindings__napi_src_lib.rs b/www/chromium/files/patch-rollup_rust_bindings__napi_src_lib.rs index d08b1de21353..47258c265b84 100644 --- a/www/chromium/files/patch-rollup_rust_bindings__napi_src_lib.rs +++ b/www/chromium/files/patch-rollup_rust_bindings__napi_src_lib.rs @@ -1,11 +1,10 @@ ---- rollup/rust/bindings_napi/src/lib.rs.orig 2026-02-11 09:05:39 UTC +--- rollup/rust/bindings_napi/src/lib.rs.orig 2026-07-01 06:24:19 UTC +++ rollup/rust/bindings_napi/src/lib.rs -@@ -4,6 +4,8 @@ use parse_ast::parse_ast; - - #[cfg(all( - not(all(target_os = "linux", target_env = "musl", target_arch = "aarch64")), -+ not(all(target_os = "freebsd", target_arch = "aarch64")), +@@ -8,6 +8,7 @@ use std::mem; + not(all(target_os = "linux", target_arch = "riscv64", target_env = "musl")), + not(all(target_os = "linux", target_env = "ohos")), + not(all(target_os = "freebsd", target_arch = "aarch64")), + not(all(target_os = "openbsd", target_arch = "aarch64")), not(debug_assertions) ))] #[global_allocator] diff --git a/www/chromium/files/patch-services_device_public_cpp_device__features.cc b/www/chromium/files/patch-services_device_public_cpp_device__features.cc index 57c80becc259..381fb54401af 100644 --- a/www/chromium/files/patch-services_device_public_cpp_device__features.cc +++ b/www/chromium/files/patch-services_device_public_cpp_device__features.cc @@ -1,16 +1,16 @@ ---- services/device/public/cpp/device_features.cc.orig 2026-06-17 07:32:12 UTC +--- services/device/public/cpp/device_features.cc.orig 2026-07-01 06:24:19 UTC +++ services/device/public/cpp/device_features.cc -@@ -161,11 +161,11 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() { +@@ -174,11 +174,11 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() { // a USB interface is busy. #if BUILDFLAG(IS_ANDROID) BASE_FEATURE(kAutomaticUsbDetach, base::FEATURE_ENABLED_BY_DEFAULT); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kAutomaticUsbDetach, base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Controls whether we report the product name (like macOS and Win) // over the HID_NAME in the WebHID API. BASE_FEATURE(kProductNameOverHidName, base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/chromium/files/patch-services_device_public_cpp_device__features.h b/www/chromium/files/patch-services_device_public_cpp_device__features.h index cdcf5cff0119..8f09c37d2e7a 100644 --- a/www/chromium/files/patch-services_device_public_cpp_device__features.h +++ b/www/chromium/files/patch-services_device_public_cpp_device__features.h @@ -1,16 +1,16 @@ ---- services/device/public/cpp/device_features.h.orig 2026-06-17 07:32:12 UTC +--- services/device/public/cpp/device_features.h.orig 2026-07-01 06:24:19 UTC +++ services/device/public/cpp/device_features.h -@@ -60,11 +60,11 @@ extern const DEVICE_FEATURES_EXPORT +@@ -64,11 +64,11 @@ extern const DEVICE_FEATURES_EXPORT DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermissionSupportEnabled(); -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) DEVICE_FEATURES_EXPORT BASE_DECLARE_FEATURE(kAutomaticUsbDetach); #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) DEVICE_FEATURES_EXPORT BASE_DECLARE_FEATURE(kProductNameOverHidName); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc b/www/chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc index 00d9dd0c424f..c125359c19bc 100644 --- a/www/chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc +++ b/www/chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc @@ -1,47 +1,47 @@ ---- services/device/usb/usb_device_handle_usbfs.cc.orig 2026-02-11 09:05:39 UTC +--- services/device/usb/usb_device_handle_usbfs.cc.orig 2026-07-01 06:24:19 UTC +++ services/device/usb/usb_device_handle_usbfs.cc @@ -33,7 +33,7 @@ #include "chromeos/dbus/permission_broker/permission_broker_client.h" #endif -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/metrics/histogram_macros.h" #include "services/device/public/cpp/device_features.h" #include "services/device/usb/usb_interface_detach_allowlist.h" @@ -50,7 +50,7 @@ using mojom::UsbTransferType; namespace { -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Outcome of detaching a kernel driver before ClaimInterface(). // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. @@ -292,7 +292,7 @@ bool UsbDeviceHandleUsbfs::BlockingTaskRunnerHelper::R return true; } -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool UsbDeviceHandleUsbfs::BlockingTaskRunnerHelper::DetachInterface( int interface_number, const CombinedInterfaceInfo& interface_info) { @@ -629,7 +629,7 @@ void UsbDeviceHandleUsbfs::ClaimInterface(int interfac return; } #endif -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(features::kAutomaticUsbDetach)) { const mojom::UsbConfigurationInfo* config = device_->GetActiveConfiguration(); -@@ -975,7 +975,7 @@ void UsbDeviceHandleUsbfs::ReleaseInterfaceComplete(in +@@ -982,7 +982,7 @@ void UsbDeviceHandleUsbfs::ReleaseInterfaceComplete(in return; } #endif -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (base::FeatureList::IsEnabled(features::kAutomaticUsbDetach)) { helper_.AsyncCall(&BlockingTaskRunnerHelper::ReattachInterface) .WithArgs(interface_number) diff --git a/www/chromium/files/patch-services_network_BUILD.gn b/www/chromium/files/patch-services_network_BUILD.gn index 41b006f48b70..5ae55814ae02 100644 --- a/www/chromium/files/patch-services_network_BUILD.gn +++ b/www/chromium/files/patch-services_network_BUILD.gn @@ -1,10 +1,10 @@ ---- services/network/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- services/network/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ services/network/BUILD.gn -@@ -453,7 +453,6 @@ if (is_linux || is_chromeos) { +@@ -447,7 +447,6 @@ if (is_linux || is_chromeos) { deps = [ "//base", "//components/vrp_flags:buildflags", - "//sandbox/linux:sandbox_services", "//sandbox/policy", ] configs += [ "//build/config/compiler:wexit_time_destructors" ] diff --git a/www/chromium/files/patch-services_network_network__context.cc b/www/chromium/files/patch-services_network_network__context.cc index a4468b14354e..d52fe873f80a 100644 --- a/www/chromium/files/patch-services_network_network__context.cc +++ b/www/chromium/files/patch-services_network_network__context.cc @@ -1,20 +1,20 @@ ---- services/network/network_context.cc.orig 2026-06-04 10:12:25 UTC +--- services/network/network_context.cc.orig 2026-07-01 06:24:19 UTC +++ services/network/network_context.cc -@@ -650,7 +650,7 @@ NetworkContext::NetworkContextHttpAuthPreferences:: +@@ -651,7 +651,7 @@ NetworkContext::NetworkContextHttpAuthPreferences:: NetworkContext::NetworkContextHttpAuthPreferences:: ~NetworkContextHttpAuthPreferences() = default; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool NetworkContext::NetworkContextHttpAuthPreferences::AllowGssapiLibraryLoad() const { if (network_service_) { -@@ -2723,7 +2723,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged( +@@ -2709,7 +2709,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged( http_auth_dynamic_network_service_params->android_negotiate_account_type); #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) http_auth_merged_preferences_.set_allow_gssapi_library_load( http_auth_dynamic_network_service_params->allow_gssapi_library_load); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-services_network_network__context.h b/www/chromium/files/patch-services_network_network__context.h index 04f3ebddc130..fdb15c053826 100644 --- a/www/chromium/files/patch-services_network_network__context.h +++ b/www/chromium/files/patch-services_network_network__context.h @@ -1,11 +1,11 @@ ---- services/network/network_context.h.orig 2026-06-04 10:12:25 UTC +--- services/network/network_context.h.orig 2026-07-01 06:24:19 UTC +++ services/network/network_context.h -@@ -769,7 +769,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext +@@ -764,7 +764,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext public: explicit NetworkContextHttpAuthPreferences(NetworkService* network_service); ~NetworkContextHttpAuthPreferences() override; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool AllowGssapiLibraryLoad() const override; #endif // BUILDFLAG(IS_LINUX) private: diff --git a/www/chromium/files/patch-services_network_network__service.cc b/www/chromium/files/patch-services_network_network__service.cc index e5e64ad05601..d75c43964600 100644 --- a/www/chromium/files/patch-services_network_network__service.cc +++ b/www/chromium/files/patch-services_network_network__service.cc @@ -1,29 +1,29 @@ ---- services/network/network_service.cc.orig 2026-06-04 10:12:25 UTC +--- services/network/network_service.cc.orig 2026-07-01 06:24:19 UTC +++ services/network/network_service.cc @@ -104,7 +104,7 @@ #include "third_party/boringssl/src/include/openssl/cpu.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "services/network/network_change_notifier_passive_factory.h" #endif -@@ -1038,7 +1038,7 @@ void NetworkService::SetExplicitlyAllowedPorts( +@@ -1051,7 +1051,7 @@ void NetworkService::SetExplicitlyAllowedPorts( net::SetExplicitlyAllowedPorts(ports); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void NetworkService::SetGssapiLibraryLoadObserver( mojo::PendingRemote gssapi_library_load_observer) { -@@ -1178,7 +1178,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo +@@ -1191,7 +1191,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo ); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void NetworkService::OnBeforeGssapiLibraryLoad() { if (gssapi_library_load_observer_.is_bound()) { gssapi_library_load_observer_->OnBeforeGssapiLibraryLoad(); diff --git a/www/chromium/files/patch-services_network_network__service.h b/www/chromium/files/patch-services_network_network__service.h index a430ba08b898..9e92b144446a 100644 --- a/www/chromium/files/patch-services_network_network__service.h +++ b/www/chromium/files/patch-services_network_network__service.h @@ -1,29 +1,29 @@ ---- services/network/network_service.h.orig 2026-06-04 10:12:25 UTC +--- services/network/network_service.h.orig 2026-07-01 06:24:19 UTC +++ services/network/network_service.h -@@ -233,7 +233,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -235,7 +235,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService void SetFirstPartySets(net::GlobalFirstPartySets sets) override; void SetExplicitlyAllowedPorts(const std::vector& ports) override; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void SetGssapiLibraryLoadObserver( mojo::PendingRemote gssapi_library_load_observer) override; -@@ -300,7 +300,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -302,7 +302,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService std::unique_ptr CreateHttpAuthHandlerFactory( NetworkContext* network_context); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // This is called just before a GSSAPI library may be loaded. void OnBeforeGssapiLibraryLoad(); #endif // BUILDFLAG(IS_LINUX) -@@ -572,7 +572,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -574,7 +574,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService // leaking stale listeners between tests. std::unique_ptr mock_network_change_notifier_; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) mojo::Remote gssapi_library_load_observer_; #endif // BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-services_network_public_cpp_BUILD.gn b/www/chromium/files/patch-services_network_public_cpp_BUILD.gn index a8db9242f0d7..c9f911b86d4a 100644 --- a/www/chromium/files/patch-services_network_public_cpp_BUILD.gn +++ b/www/chromium/files/patch-services_network_public_cpp_BUILD.gn @@ -1,11 +1,11 @@ ---- services/network/public/cpp/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- services/network/public/cpp/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ services/network/public/cpp/BUILD.gn -@@ -749,7 +749,7 @@ component("cpp_base") { +@@ -753,7 +753,7 @@ component("cpp_base") { sources += [ "transferable_directory_fuchsia.cc" ] } - if (is_linux) { + if (is_linux && !is_bsd) { sources += [ "network_interface_change_listener_mojom_traits.cc", "network_interface_change_listener_mojom_traits.h", diff --git a/www/chromium/files/patch-services_network_public_mojom_BUILD.gn b/www/chromium/files/patch-services_network_public_mojom_BUILD.gn index bfb16cb910c6..e3e2da343676 100644 --- a/www/chromium/files/patch-services_network_public_mojom_BUILD.gn +++ b/www/chromium/files/patch-services_network_public_mojom_BUILD.gn @@ -1,34 +1,34 @@ ---- services/network/public/mojom/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- services/network/public/mojom/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ services/network/public/mojom/BUILD.gn -@@ -726,11 +726,11 @@ mojom("url_loader_base") { +@@ -727,11 +727,11 @@ mojom("url_loader_base") { ] enabled_features = [] - if (is_android || is_chromeos || is_linux) { + if (!is_bsd && (is_android || is_chromeos || is_linux)) { enabled_features += [ "network_change_notifier_in_browser" ] } - if (is_linux) { + if (is_linux && !is_bsd) { # TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does # not include lacros. enabled_features += [ "use_network_interface_change_listener" ] -@@ -1111,7 +1111,7 @@ mojom("url_loader_base") { +@@ -1125,7 +1125,7 @@ mojom("url_loader_base") { }, ] - if (is_linux) { + if (is_linux && !is_bsd) { cpp_typemaps += [ { types = [ -@@ -2064,7 +2064,7 @@ mojom("mojom") { +@@ -2084,7 +2084,7 @@ mojom("mojom") { } } - if (is_linux) { + if (is_linux && !is_bsd) { # TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does # not include lacros. enabled_features += [ "use_network_interface_change_listener" ] diff --git a/www/chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc b/www/chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc index 094e4d17ef7f..6c99030b9a15 100644 --- a/www/chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc +++ b/www/chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc @@ -1,18 +1,18 @@ ---- services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc.orig 2026-05-07 17:02:56 UTC +--- services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc.orig 2026-07-01 06:24:19 UTC +++ services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc -@@ -71,6 +71,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path +@@ -59,6 +59,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path } } +#if !BUILDFLAG(IS_BSD) auto* instance = sandbox::policy::SandboxLinux::GetInstance(); std::vector permissions{ -@@ -92,6 +93,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path +@@ -80,6 +81,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path sandbox::syscall_broker::COMMAND_OPEN}), permissions, options); instance->EngageNamespaceSandboxIfPossible(); +#endif return true; } diff --git a/www/chromium/files/patch-services_screen__ai_screen__ai__service__impl.cc b/www/chromium/files/patch-services_screen__ai_screen__ai__service__impl.cc index b2c4b74feabc..1afd46f8fbab 100644 --- a/www/chromium/files/patch-services_screen__ai_screen__ai__service__impl.cc +++ b/www/chromium/files/patch-services_screen__ai_screen__ai__service__impl.cc @@ -1,20 +1,20 @@ ---- services/screen_ai/screen_ai_service_impl.cc.orig 2026-06-04 10:12:25 UTC +--- services/screen_ai/screen_ai_service_impl.cc.orig 2026-07-01 06:24:19 UTC +++ services/screen_ai/screen_ai_service_impl.cc -@@ -34,7 +34,7 @@ +@@ -32,7 +32,7 @@ #include "ui/accessibility/ax_tree_id.h" #include "ui/gfx/geometry/rect_f.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "partition_alloc/buildflags.h" #if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) -@@ -211,7 +211,7 @@ ScreenAIService::ScreenAIService( +@@ -209,7 +209,7 @@ ScreenAIService::ScreenAIService( : factory_receiver_(this, std::move(receiver)), ocr_receiver_(this), main_content_extraction_receiver_(this) { -#if BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) // TODO(crbug.com/418199684): Remove when the bug is fixed. if (base::FeatureList::IsEnabled( ::features::kScreenAIPartitionAllocAdvancedChecksEnabled)) { diff --git a/www/chromium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc b/www/chromium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc index 30ed0c769379..4066f03af86b 100644 --- a/www/chromium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc +++ b/www/chromium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc @@ -1,11 +1,11 @@ ---- services/tracing/public/cpp/perfetto/track_name_recorder.cc.orig 2026-06-04 10:12:25 UTC +--- services/tracing/public/cpp/perfetto/track_name_recorder.cc.orig 2026-07-01 06:24:19 UTC +++ services/tracing/public/cpp/perfetto/track_name_recorder.cc -@@ -54,7 +54,7 @@ void FillThreadTrack(const perfetto::ThreadTrack& trac +@@ -53,7 +53,7 @@ void FillThreadTrack(const perfetto::ThreadTrack& trac desc.mutable_chrome_thread()->set_thread_type( static_cast(thread_type)); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) - if (base::GetCurrentProcId() != - base::trace_event::TraceLog::GetInstance()->process_id()) { + if (base::GetCurrentProcId() != perfetto::Platform::GetCurrentProcessId()) { desc.mutable_chrome_thread()->set_is_sandboxed_tid(true); + } diff --git a/www/chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc b/www/chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc index 8a192eb2708d..74b2f40ede44 100644 --- a/www/chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc +++ b/www/chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc @@ -1,38 +1,38 @@ ---- services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2026-06-04 10:12:25 UTC +--- services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2026-07-01 06:24:19 UTC +++ services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc @@ -42,7 +42,7 @@ #include "third_party/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.h" #include "third_party/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.h" -#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) +#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD) #include "base/profiler/thread_delegate_posix.h" #define INITIALIZE_THREAD_DELEGATE_POSIX 1 #else // BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) @@ -264,7 +264,7 @@ struct FrameDetails { ANDROID_ARM64_UNWINDING_SUPPORTED || ANDROID_CFI_UNWINDING_SUPPORTED || \ (BUILDFLAG(IS_CHROMEOS) && \ (defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64))) || \ - BUILDFLAG(IS_LINUX) + BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Returns whether stack sampling is supported on the current platform. bool IsStackSamplingSupported() { return base::StackSamplingProfiler::IsSupportedForCurrentPlatform(); @@ -384,7 +384,7 @@ void TracingSamplerProfiler::TracingProfileBuilder::Wr thread_descriptor->set_reference_timestamp_us( last_timestamp_.since_origin().InMicroseconds()); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) - if (base::GetCurrentProcId() != - base::trace_event::TraceLog::GetInstance()->process_id()) { + if (base::GetCurrentProcId() != perfetto::Platform::GetCurrentProcessId()) { auto* chrome_thread = track_descriptor->set_chrome_thread(); -@@ -656,7 +656,7 @@ bool TracingSamplerProfiler::IsStackUnwindingSupported + chrome_thread->set_is_sandboxed_tid(true); +@@ -655,7 +655,7 @@ bool TracingSamplerProfiler::IsStackUnwindingSupported ANDROID_ARM64_UNWINDING_SUPPORTED || ANDROID_CFI_UNWINDING_SUPPORTED || \ (BUILDFLAG(IS_CHROMEOS) && \ (defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64))) || \ - BUILDFLAG(IS_LINUX) + BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return IsStackSamplingSupported(); #else return false; diff --git a/www/chromium/files/patch-services_webnn_features.gni b/www/chromium/files/patch-services_webnn_features.gni index 00d396ca33d5..c7871eee4170 100644 --- a/www/chromium/files/patch-services_webnn_features.gni +++ b/www/chromium/files/patch-services_webnn_features.gni @@ -1,11 +1,11 @@ ---- services/webnn/features.gni.orig 2026-05-07 17:02:56 UTC +--- services/webnn/features.gni.orig 2026-07-01 06:24:19 UTC +++ services/webnn/features.gni @@ -9,7 +9,7 @@ assert(use_blink) declare_args() { # TFLite is used as a fallback option on Apple and Windows. - webnn_use_tflite = is_android || is_chromeos || is_linux || is_apple || is_win + webnn_use_tflite = !is_bsd && (is_android || is_chromeos || is_linux || is_apple || is_win) - # LiteRT matches TFLite except for arm. - # TODO(b/454732289): Add arm support once APK size issue is resolved. + # LiteRT matches TFLite. + webnn_use_litert = is_android || is_chromeos || is_linux || is_apple || is_win diff --git a/www/chromium/files/patch-services_webnn_webnn__graph__impl__fuzzer.cc b/www/chromium/files/patch-services_webnn_webnn__graph__impl__fuzzer.cc index 921822037ffd..8eaa1d23dfe1 100644 --- a/www/chromium/files/patch-services_webnn_webnn__graph__impl__fuzzer.cc +++ b/www/chromium/files/patch-services_webnn_webnn__graph__impl__fuzzer.cc @@ -1,20 +1,20 @@ ---- services/webnn/webnn_graph_impl_fuzzer.cc.orig 2026-06-04 10:12:25 UTC +--- services/webnn/webnn_graph_impl_fuzzer.cc.orig 2026-07-01 06:24:19 UTC +++ services/webnn/webnn_graph_impl_fuzzer.cc -@@ -850,7 +850,7 @@ std::optional SetUpConv2dDescriptor +@@ -1053,7 +1053,7 @@ std::optional SetUpConv2dDescriptor params.groups = params.input_channels; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (params.conv2d_kind == mojom::Conv2d::Kind::kTransposed) { // ConvTranspose2d does not support dilation and groups for TFLite backend: // https://source.chromium.org/chromium/chromium/src/+/db6bda50f023057ffa82845f232852dea0f271e1:services/webnn/tflite/graph_builder_tflite.cc;l=4125 -@@ -979,7 +979,7 @@ std::optional SetUpPool2dDescriptor +@@ -1349,7 +1349,7 @@ std::optional SetUpPool2dDescriptor Pool2dParams& params) { InputOperandLayout input_layout = context_properties.input_operand_layout; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Pool2d does not support dilation for TFLite backend: // https://source.chromium.org/chromium/chromium/src/+/4c1aaa2f981951e7e6f636df92fb89e48b642aa6:services/webnn/tflite/graph_builder_tflite.cc;l=7203 // TODO(crbug.com/498987226): Remove this restriction to increase test diff --git a/www/chromium/files/patch-sql_database.cc b/www/chromium/files/patch-sql_database.cc index dc9dbc8c521d..581f24002287 100644 --- a/www/chromium/files/patch-sql_database.cc +++ b/www/chromium/files/patch-sql_database.cc @@ -1,11 +1,11 @@ ---- sql/database.cc.orig 2026-06-04 10:12:25 UTC +--- sql/database.cc.orig 2026-07-01 06:24:19 UTC +++ sql/database.cc -@@ -113,7 +113,7 @@ bool FilePathIsFixedSSD(const base::FilePath& path) { +@@ -118,7 +118,7 @@ bool FilePathIsFixedSSD(const base::FilePath& path) { return !drive_info->has_seek_penalty.value_or(false) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) && !drive_info->is_removable.value_or(false) #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) diff --git a/www/chromium/files/patch-third__party_angle_BUILD.gn b/www/chromium/files/patch-third__party_angle_BUILD.gn index 34ab1d74b226..84beb67233ea 100644 --- a/www/chromium/files/patch-third__party_angle_BUILD.gn +++ b/www/chromium/files/patch-third__party_angle_BUILD.gn @@ -1,29 +1,29 @@ ---- third_party/angle/BUILD.gn.orig 2026-05-07 17:02:56 UTC +--- third_party/angle/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ third_party/angle/BUILD.gn -@@ -373,7 +373,6 @@ config("extra_warnings") { +@@ -391,7 +391,6 @@ config("extra_warnings") { "-Wtautological-type-limit-compare", "-Wundefined-reinterpret-cast", "-Wunneeded-internal-declaration", - "-Wunused-but-set-variable", "-Wsuggest-destructor-override", "-Wsuggest-override", -@@ -558,7 +557,7 @@ template("angle_common_lib") { +@@ -578,7 +577,7 @@ template("angle_common_lib") { all_dependent_configs = [ ":angle_disable_pool_alloc" ] } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { libs = [ "dl" ] } -@@ -721,6 +720,9 @@ angle_static_library("angle_gpu_info_util") { +@@ -741,6 +740,9 @@ angle_static_library("angle_gpu_info_util") { "Xi", "Xext", ] + if (is_bsd) { + libs += [ "GL" ] + } } if (angle_use_wayland && angle_has_build) { diff --git a/www/chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp b/www/chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp index 225cb01d50ba..d5deb05f6c3a 100644 --- a/www/chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp +++ b/www/chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp @@ -1,56 +1,56 @@ ---- third_party/angle/src/libANGLE/Display.cpp.orig 2026-02-11 09:05:39 UTC +--- third_party/angle/src/libANGLE/Display.cpp.orig 2026-07-01 06:24:19 UTC +++ third_party/angle/src/libANGLE/Display.cpp @@ -64,7 +64,7 @@ # include "libANGLE/renderer/gl/wgl/DisplayWGL.h" # elif ANGLE_ENABLE_CGL # include "libANGLE/renderer/gl/cgl/DisplayCGL.h" -# elif defined(ANGLE_PLATFORM_LINUX) +# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) # include "libANGLE/renderer/gl/egl/DisplayEGL.h" # if defined(ANGLE_USE_X11) # include "libANGLE/renderer/gl/glx/DisplayGLX_api.h" -@@ -427,7 +427,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di +@@ -435,7 +435,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di impl = new rx::DisplayCGL(state); break; -# elif defined(ANGLE_PLATFORM_LINUX) +# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) # if defined(ANGLE_USE_GBM) || defined(ANGLE_USE_WAYLAND) if (platformType == 0) { -@@ -478,7 +478,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di +@@ -493,7 +493,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di #if defined(ANGLE_ENABLE_OPENGL) # if defined(ANGLE_PLATFORM_WINDOWS) impl = new rx::DisplayWGL(state); -# elif defined(ANGLE_PLATFORM_LINUX) +# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) # if defined(ANGLE_USE_GBM) || defined(ANGLE_USE_WAYLAND) if (platformType == 0) { -@@ -534,7 +534,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di +@@ -556,7 +556,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di impl = rx::CreateVulkanWin32Display(state); } break; -# elif defined(ANGLE_PLATFORM_LINUX) +# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) # if defined(ANGLE_USE_GBM) if (platformType == EGL_PLATFORM_GBM_KHR && rx::IsVulkanGbmDisplayAvailable()) { -@@ -2185,7 +2185,7 @@ static ClientExtensions GenerateClientExtensions() +@@ -2207,7 +2207,7 @@ static ClientExtensions GenerateClientExtensions() extensions.platformWaylandEXT = true; #endif -#if defined(ANGLE_PLATFORM_LINUX) && (defined(ANGLE_ENABLE_OPENGL) || defined(ANGLE_ENABLE_VULKAN)) +#if (defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD)) && (defined(ANGLE_ENABLE_OPENGL) || defined(ANGLE_ENABLE_VULKAN)) extensions.platformSurfacelessMESA = true; #endif -@@ -2232,7 +2232,7 @@ static ClientExtensions GenerateClientExtensions() +@@ -2254,7 +2254,7 @@ static ClientExtensions GenerateClientExtensions() extensions.x11Visual = true; #endif -#if defined(ANGLE_PLATFORM_LINUX) +#if defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) extensions.platformANGLEDeviceTypeEGLANGLE = true; #endif diff --git a/www/chromium/files/patch-third__party_angle_util_BUILD.gn b/www/chromium/files/patch-third__party_angle_util_BUILD.gn index 266b88bc3811..c7fd8ebb4739 100644 --- a/www/chromium/files/patch-third__party_angle_util_BUILD.gn +++ b/www/chromium/files/patch-third__party_angle_util_BUILD.gn @@ -1,11 +1,11 @@ ---- third_party/angle/util/BUILD.gn.orig 2025-09-06 10:01:20 UTC +--- third_party/angle/util/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ third_party/angle/util/BUILD.gn -@@ -334,7 +334,7 @@ foreach(is_shared_library, +@@ -343,7 +343,7 @@ foreach(is_shared_library, ] libs = [] - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { libs += [ "rt", "dl", diff --git a/www/chromium/files/patch-third__party_blink_common_features.cc b/www/chromium/files/patch-third__party_blink_common_features.cc index 7c880c933aec..5533d85064d7 100644 --- a/www/chromium/files/patch-third__party_blink_common_features.cc +++ b/www/chromium/files/patch-third__party_blink_common_features.cc @@ -1,20 +1,20 @@ ---- third_party/blink/common/features.cc.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/common/features.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/common/features.cc -@@ -684,7 +684,7 @@ BASE_FEATURE(kDevToolsWebMCPSupport, base::FEATURE_DIS +@@ -692,7 +692,7 @@ BASE_FEATURE(kDevToolsAdsPanel, base::FEATURE_DISABLED BASE_FEATURE(kDirectCompositorThreadIpc, #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_WIN) + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -2063,7 +2063,7 @@ BASE_FEATURE(kPrefetchFontLookupTables, +@@ -2071,7 +2071,7 @@ BASE_FEATURE(kPrefetchFontLookupTables, // currently out of scope. BASE_FEATURE(kPreloadingEagerHoverHeuristics, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc b/www/chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc index a336342da606..eea7d6ff71e8 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc @@ -1,29 +1,29 @@ ---- third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/core/exported/web_view_impl.cc -@@ -398,7 +398,7 @@ void RecordPrerenderActivationSignalDelay(const String +@@ -399,7 +399,7 @@ void RecordPrerenderActivationSignalDelay(const String #if !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_WIN) SkFontHinting RendererPreferencesToSkiaHinting( const blink::RendererPreferences& prefs) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!prefs.should_antialias_text) { // When anti-aliasing is off, GTK maps all non-zero hinting settings to // 'Normal' hinting so we do the same. Otherwise, folks who have 'Slight' -@@ -3474,7 +3474,7 @@ void WebViewImpl::UpdateFontRenderingFromRendererPrefs +@@ -3490,7 +3490,7 @@ void WebViewImpl::UpdateFontRenderingFromRendererPrefs gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE); WebFontRenderStyle::SetSubpixelPositioning( renderer_preferences_.use_subpixel_positioning); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (!renderer_preferences_.system_font_family_name.empty()) { WebFontRenderStyle::SetSystemFontFamily(blink::WebString::FromUtf8( renderer_preferences_.system_font_family_name)); -@@ -3623,7 +3623,7 @@ void WebViewImpl::UpdateRendererPreferences( +@@ -3639,7 +3639,7 @@ void WebViewImpl::UpdateRendererPreferences( renderer_preferences_.selection_clipboard_buffer_available); #endif // BUILDFLAG(IS_OZONE) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) GetSettings()->SetMiddleClickPasteAllowed( renderer_preferences_.middle_click_paste_allowed); #endif // BUILDFLAG(IS_LINUX) diff --git a/www/chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc b/www/chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc index 18cc5f97114c..e15d4cdf4d36 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc @@ -1,20 +1,20 @@ ---- third_party/blink/renderer/core/layout/layout_view.cc.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/core/layout/layout_view.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/core/layout/layout_view.cc @@ -76,7 +76,7 @@ #include "ui/display/screen_info.h" #include "ui/gfx/geometry/quad_f.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "third_party/blink/renderer/platform/fonts/font_cache.h" #endif -@@ -862,7 +862,7 @@ void LayoutView::LayoutRoot() { +@@ -849,7 +849,7 @@ void LayoutView::LayoutRoot() { intrinsic_logical_widths_ = LogicalWidth(); } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // The font code in FontPlatformData does not have a direct connection to the // document, the frame or anything from which we could retrieve the device // scale factor. After using zoom for DSF, the GraphicsContext does only ever diff --git a/www/chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc b/www/chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc index cdd85e11e37e..b673a303f0b7 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc @@ -1,11 +1,11 @@ ---- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc -@@ -6601,7 +6601,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid +@@ -6684,7 +6684,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid params.function_id == kTexImage2D || (params.function_id == kTexSubImage2D && base::FeatureList::IsEnabled(kAllowGpuUploadForTexSubImageOnAndroid)); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // TODO(crbug.com/1181562): TexSubImage2D via the GPU path performs poorly on // Linux when used with frames backed by SharedImages holding shared memory. // We don't have a way to differentiate this case from that of true texture diff --git a/www/chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc b/www/chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc index 735b7719e660..0102d576851a 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc @@ -1,20 +1,20 @@ ---- third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc.orig 2026-05-07 17:02:56 UTC +--- third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc -@@ -270,7 +270,7 @@ GPUCanvasContext::PaintRenderingResultsToSnapshot( +@@ -274,7 +274,7 @@ GPUCanvasContext::PaintRenderingResultsToSnapshot( scoped_refptr front_buffer_texture; if (source_buffer == kFrontBuffer) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // By returning false here the canvas will show up as black in the scenarios // that copy the front buffer, such as printing. // TODO(crbug.com/40902474): Support concurrent SharedImage reads via Dawn -@@ -486,7 +486,7 @@ void GPUCanvasContext::configure(const GPUCanvasConfig +@@ -491,7 +491,7 @@ void GPUCanvasContext::configure(const GPUCanvasConfig } #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (texture_descriptor_.format == wgpu::TextureFormat::BGRA8Unorm) { // WebGPU on vulkan with GL interop cannot support BGRA due to bugs in // mesa. See anglebug.com/40644739 diff --git a/www/chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc b/www/chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc index 88de3410c005..a7fdb3d79727 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc @@ -1,11 +1,11 @@ ---- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/modules/webgpu/gpu_queue.cc -@@ -1022,7 +1022,7 @@ bool GPUQueue::CopyFromCanvasSourceImage( +@@ -1026,7 +1026,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. -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool forceReadback = true; #elif BUILDFLAG(IS_ANDROID) // TODO(crbug.com/dawn/1969): Some Android devices don't fail to copy from diff --git a/www/chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn b/www/chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn index 8b5ef1bf014c..20f1ac80b324 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn +++ b/www/chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn @@ -1,11 +1,11 @@ ---- third_party/blink/renderer/platform/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/platform/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/platform/BUILD.gn -@@ -2083,7 +2083,7 @@ static_library("test_support") { +@@ -2079,7 +2079,7 @@ static_library("test_support") { ] # fuzzed_data_provider may not work with a custom toolchain. - if (custom_toolchain == "" && is_clang) { + if ((custom_toolchain == "" && is_clang) && !is_bsd) { sources += [ "testing/fuzzed_data_provider.cc", "testing/fuzzed_data_provider.h", diff --git a/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc b/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc index a5b8d21abdf2..1c0e7b9de5c6 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc @@ -1,20 +1,20 @@ ---- third_party/blink/renderer/platform/fonts/font_cache.cc.orig 2026-02-11 09:05:39 UTC +--- third_party/blink/renderer/platform/fonts/font_cache.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/platform/fonts/font_cache.cc -@@ -80,7 +80,7 @@ const char kMonoEmojiLocale[] = "und-Zsym"; +@@ -82,7 +82,7 @@ const char kMonoEmojiLocale[] = "und-Zsym"; extern const char kNotoColorEmojiCompat[] = "Noto Color Emoji Compat"; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) float FontCache::device_scale_factor_ = 1.0; #endif -@@ -112,7 +112,7 @@ const FontPlatformData* FontCache::SystemFontPlatformD +@@ -114,7 +114,7 @@ const FontPlatformData* FontCache::SystemFontPlatformD const FontDescription& font_description) { const AtomicString& family = FontCache::SystemFontFamily(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \ - BUILDFLAG(IS_IOS) + BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) if (family.empty() || family == font_family_names::kSystemUi) return nullptr; #else diff --git a/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h b/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h index 894f88a4cc30..6236efbb2d68 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h +++ b/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h @@ -1,38 +1,38 @@ ---- third_party/blink/renderer/platform/fonts/font_cache.h.orig 2026-02-11 09:05:39 UTC +--- third_party/blink/renderer/platform/fonts/font_cache.h.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/platform/fonts/font_cache.h -@@ -53,7 +53,7 @@ +@@ -54,7 +54,7 @@ #include "third_party/skia/include/core/SkFontMgr.h" #include "third_party/skia/include/core/SkRefCnt.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "ui/gfx/font_fallback_linux.h" #endif -@@ -150,7 +150,7 @@ class PLATFORM_EXPORT FontCache final { +@@ -148,7 +148,7 @@ class PLATFORM_EXPORT FontCache final { static void MaybePreloadSystemFonts(); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // These are needed for calling QueryRenderStyleForStrike, since // gfx::GetFontRenderParams makes distinctions based on DSF. static float DeviceScaleFactor() { return device_scale_factor_; } @@ -226,7 +226,7 @@ class PLATFORM_EXPORT FontCache final { const char* locale_family_name); #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) static bool GetFontForCharacter(UChar32, const char* preferred_locale, gfx::FallbackFontData*); @@ -311,7 +311,7 @@ class PLATFORM_EXPORT FontCache final { static int32_t status_font_height_; #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) static float device_scale_factor_; #endif diff --git a/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc b/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc index 8a763e031bec..8f1d7c4afe4b 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc @@ -1,11 +1,11 @@ ---- third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc -@@ -303,7 +303,7 @@ const FontPlatformData* FontCache::CreateFontPlatformD +@@ -301,7 +301,7 @@ const FontPlatformData* FontCache::CreateFontPlatformD std::string name; sk_sp typeface; -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool noto_color_emoji_from_gmscore = false; #if BUILDFLAG(IS_ANDROID) // Use the unique local matching pathway for fetching Noto Color Emoji Compat diff --git a/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_canvas__resource__provider.cc b/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_canvas__resource__provider.cc index c23d3ec0673e..96ee1a0a6ae0 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_canvas__resource__provider.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_canvas__resource__provider.cc @@ -1,11 +1,20 @@ ---- third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc -@@ -1547,7 +1547,7 @@ std::unique_ptr CanvasResourceProvider::CreateShare +@@ -1285,7 +1285,7 @@ Canvas2DResourceProviderSharedImage::CreateWithClear( + gpu::SHARED_IMAGE_USAGE_CONCURRENT_READ_WRITE); + #endif + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // WebGpu preferred canvas on linux is RGBA and interop (vk on gl) is + // dependent on canvas copies being RGBA (not BGRA). + should_force_bgra8_to_rgba = true; +@@ -1439,7 +1439,7 @@ CanvasNon2DResourceProviderSharedImage::Create( gpu::SHARED_IMAGE_USAGE_CONCURRENT_READ_WRITE); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // WebGpu preferred canvas on linux is RGBA and interop (vk on gl) is // dependent on canvas copies being RGBA (not BGRA). should_force_bgra8_to_rgba = true; diff --git a/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc b/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc index c70edb95d555..927c15f90c1d 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc +++ b/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc @@ -1,11 +1,11 @@ ---- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/platform/graphics/video_frame_submitter.cc -@@ -382,7 +382,7 @@ void VideoFrameSubmitter::OnBeginFrame( +@@ -410,7 +410,7 @@ void VideoFrameSubmitter::OnBeginFrame( auto& details = timing_details.find(frame_token)->value; auto& feedback = details.presentation_feedback; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // TODO: On Linux failure flag is unreliable, and perfectly rendered frames // are reported as failures all the time. bool presentation_failure = false; diff --git a/www/chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 b/www/chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 index 221ee0016842..b6dcf53cb8d2 100644 --- a/www/chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 +++ b/www/chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 @@ -1,128 +1,128 @@ ---- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2026-06-04 10:12:25 UTC +--- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2026-07-01 06:24:19 UTC +++ third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -418,7 +418,7 @@ +@@ -431,7 +431,7 @@ name: "AIPromptAPILegacyParams", public: true, origin_trial_feature_name: "AIPromptAPIParams", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], origin_trial_allows_third_party: true, implied_by: ["AIPromptAPIParams"], }, -@@ -444,7 +444,7 @@ +@@ -457,7 +457,7 @@ "default": "", }, origin_trial_feature_name: "AIPromptAPIParams", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], origin_trial_allows_third_party: true, }, { -@@ -476,7 +476,7 @@ +@@ -489,7 +489,7 @@ "default": "", }, origin_trial_feature_name: "AIProofreaderAPI", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], origin_trial_allows_third_party: true, base_feature_status: "enabled", copied_from_base_feature_if: "overridden", -@@ -491,7 +491,7 @@ +@@ -504,7 +504,7 @@ "default": "", }, origin_trial_feature_name: "AIRewriterAPI", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], origin_trial_allows_third_party: true, base_feature_status: "enabled", copied_from_base_feature_if: "overridden", -@@ -528,7 +528,7 @@ +@@ -540,7 +540,7 @@ "default": "", }, origin_trial_feature_name: "AIWriterAPI", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], origin_trial_allows_third_party: true, base_feature_status: "enabled", copied_from_base_feature_if: "overridden", -@@ -665,7 +665,7 @@ +@@ -686,7 +686,7 @@ name: "AppTitle", status: "experimental", origin_trial_feature_name: "AppTitle", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], base_feature: "WebAppEnableAppTitle", }, { -@@ -1426,7 +1426,7 @@ +@@ -1454,7 +1454,7 @@ name: "CSPHashesV1", base_feature: "none", origin_trial_feature_name: "CSPExtendedScriptSrcHashes", - origin_trial_os: ["win", "linux", "mac", "android", "chromeos"], + origin_trial_os: ["win", "linux", "mac", "android", "chromeos", "openbsd", "freebsd"], status: "experimental", public: true, }, -@@ -2318,7 +2318,7 @@ +@@ -2353,7 +2353,7 @@ name: "DocumentIsolationPolicy", status: "experimental", origin_trial_feature_name: "DocumentIsolationPolicy", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], base_feature: "none", }, { -@@ -2650,7 +2650,7 @@ +@@ -2700,7 +2700,7 @@ base_feature: "none", public: true, origin_trial_feature_name: "FedCmMultipleIdentityProviders", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], origin_trial_allows_third_party: true, }, { -@@ -3454,7 +3454,7 @@ +@@ -3534,7 +3534,7 @@ name: "InstallElement", status: {"Android": "", "default": "test"}, origin_trial_feature_name: "InstallElement", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], public: true, base_feature_status: "enabled", copied_from_base_feature_if: "overridden", -@@ -6122,7 +6122,7 @@ +@@ -6279,7 +6279,7 @@ name: "UnrestrictedSharedArrayBuffer", base_feature: "none", origin_trial_feature_name: "UnrestrictedSharedArrayBuffer", - origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "openbsd", "freebsd"], }, // Enables using policy-controlled feature "usb-unrestricted" to allow // isolated context to access protected USB interface classes and to -@@ -6220,7 +6220,7 @@ +@@ -6377,7 +6377,7 @@ status: "experimental", origin_trial_feature_name: "UserMediaElement", public: true, - origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "android"], + origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "android", "openbsd", "freebsd"], base_feature_status: "enabled", copied_from_base_feature_if: "overridden", }, -@@ -6335,7 +6335,7 @@ +@@ -6492,7 +6492,7 @@ name: "WebAppInstallation", status: {"Android": "", "default": "test"}, origin_trial_feature_name: "WebAppInstallation", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], public: true, base_feature_status: "enabled", copied_from_base_feature_if: "overridden", -@@ -6349,7 +6349,7 @@ +@@ -6506,7 +6506,7 @@ { name: "WebAppScopeExtensions", origin_trial_feature_name: "WebAppScopeExtensions", - origin_trial_os: ["win", "mac", "linux", "chromeos"], + origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], status: "experimental", base_feature: "none", }, diff --git a/www/chromium/files/patch-third__party_cpuinfo_BUILD.gn b/www/chromium/files/patch-third__party_cpuinfo_BUILD.gn index 4ab4266f36f0..57e801c486cd 100644 --- a/www/chromium/files/patch-third__party_cpuinfo_BUILD.gn +++ b/www/chromium/files/patch-third__party_cpuinfo_BUILD.gn @@ -1,47 +1,47 @@ ---- third_party/cpuinfo/BUILD.gn.orig 2026-05-07 17:02:56 UTC +--- third_party/cpuinfo/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ third_party/cpuinfo/BUILD.gn -@@ -67,7 +67,7 @@ source_set("cpuinfo") { +@@ -87,7 +87,7 @@ target(_cpuinfo_target_type, "cpuinfo") { } source_set("os_specific") { - if (is_chromeos || is_linux || is_android) { + if (!is_bsd && (is_chromeos || is_linux || is_android)) { sources = [ "src/src/linux/cpulist.c", "src/src/linux/multiline.c", -@@ -149,7 +149,7 @@ source_set("x86_cache") { +@@ -169,7 +169,7 @@ source_set("x86_cache") { } source_set("cpu_and_os_specific") { - if ((is_linux || is_chromeos) && + if (!is_bsd && (is_linux || is_chromeos) && (current_cpu == "x86" || current_cpu == "x64")) { sources = [ "src/src/x86/linux/cpuinfo.c", -@@ -157,7 +157,7 @@ source_set("cpu_and_os_specific") { +@@ -177,7 +177,7 @@ source_set("cpu_and_os_specific") { ] } - if ((is_linux || is_chromeos) && current_cpu == "arm") { + if (!is_bsd && (is_linux || is_chromeos) && current_cpu == "arm") { sources = [ "src/src/arm/linux/aarch32-isa.c", "src/src/arm/linux/api.h", -@@ -170,7 +170,7 @@ source_set("cpu_and_os_specific") { +@@ -190,7 +190,7 @@ source_set("cpu_and_os_specific") { ] } - if ((is_linux || is_chromeos) && current_cpu == "arm64") { + if (!is_bsd && (is_linux || is_chromeos) && current_cpu == "arm64") { sources = [ "src/src/arm/linux/aarch64-isa.c", "src/src/arm/linux/api.h", -@@ -183,7 +183,7 @@ source_set("cpu_and_os_specific") { +@@ -203,7 +203,7 @@ source_set("cpu_and_os_specific") { ] } - if ((is_linux || is_chromeos) && current_cpu == "riscv64") { + if (!is_bsd && (is_linux || is_chromeos) && current_cpu == "riscv64") { sources = [ "src/src/riscv/linux/init.c", "src/src/riscv/linux/riscv-hw.c", diff --git a/www/chromium/files/patch-third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp b/www/chromium/files/patch-third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp index dfd1c698f755..107a61a594de 100644 --- a/www/chromium/files/patch-third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp +++ b/www/chromium/files/patch-third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp @@ -1,11 +1,11 @@ ---- third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp.orig 2026-06-04 10:12:25 UTC +--- third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp.orig 2026-07-01 06:24:19 UTC +++ third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp -@@ -62,7 +62,7 @@ constexpr char kSwiftshaderLibName[] = "libvk_swiftsha +@@ -58,7 +58,7 @@ constexpr char kSwiftshaderLibName[] = "libvk_swiftsha #endif #if DAWN_PLATFORM_IS(LINUX) -#if DAWN_PLATFORM_IS(ANDROID) +#if DAWN_PLATFORM_IS(ANDROID) || DAWN_PLATFORM_IS(BSD) constexpr char kVulkanLibName[] = "libvulkan.so"; #else constexpr char kVulkanLibName[] = "libvulkan.so.1"; diff --git a/www/chromium/files/patch-third__party_dawn_src_dawn_common_Platform.h b/www/chromium/files/patch-third__party_dawn_src_utils_platform.h similarity index 71% rename from www/chromium/files/patch-third__party_dawn_src_dawn_common_Platform.h rename to www/chromium/files/patch-third__party_dawn_src_utils_platform.h index 93d63f7106d1..975c9c7cc5c2 100644 --- a/www/chromium/files/patch-third__party_dawn_src_dawn_common_Platform.h +++ b/www/chromium/files/patch-third__party_dawn_src_utils_platform.h @@ -1,14 +1,14 @@ ---- third_party/dawn/src/dawn/common/Platform.h.orig 2025-04-04 08:52:13 UTC -+++ third_party/dawn/src/dawn/common/Platform.h +--- third_party/dawn/src/utils/platform.h.orig 2026-07-01 06:24:19 UTC ++++ third_party/dawn/src/utils/platform.h @@ -60,6 +60,11 @@ #error "Unsupported Windows platform." #endif +#elif defined(__OpenBSD__) || defined(__FreeBSD__) +#define DAWN_PLATFORM_IS_LINUX 1 +#define DAWN_PLATFORM_IS_BSD 1 +#define DAWN_PLATFORM_IS_POSIX 1 + #elif defined(__linux__) #define DAWN_PLATFORM_IS_LINUX 1 #define DAWN_PLATFORM_IS_POSIX 1 diff --git a/www/chromium/files/patch-third__party_devtools-frontend_src_node__modules_rollup_dist_native.js b/www/chromium/files/patch-third__party_devtools-frontend_src_node__modules_rollup_dist_native.js index fd90db89ec48..d26c75ab3e11 100644 --- a/www/chromium/files/patch-third__party_devtools-frontend_src_node__modules_rollup_dist_native.js +++ b/www/chromium/files/patch-third__party_devtools-frontend_src_node__modules_rollup_dist_native.js @@ -1,17 +1,28 @@ ---- third_party/devtools-frontend/src/node_modules/rollup/dist/native.js.orig 2026-02-12 08:43:57 UTC +--- third_party/devtools-frontend/src/node_modules/rollup/dist/native.js.orig 2026-07-01 06:24:19 UTC +++ third_party/devtools-frontend/src/node_modules/rollup/dist/native.js -@@ -13,6 +13,14 @@ const bindingsByPlatformAndArch = { - arm64: { base: 'darwin-arm64' }, +@@ -57,9 +57,13 @@ const bindingsByPlatformAndArch = { x64: { base: 'darwin-x64' } }, -+ freebsd: { + freebsd: { +- arm64: { base: 'freebsd-arm64' }, +- x64: { base: 'freebsd-x64' } + arm64: { base: 'freebsd' }, + x64: { base: 'freebsd' } -+ }, + }, + openbsd: { + arm64: { base: 'openbsd' }, + x64: { base: 'openbsd' } + }, linux: { arm: { base: 'linux-arm-gnueabihf', musl: 'linux-arm-musleabihf' }, arm64: { base: 'linux-arm64-gnu', musl: 'linux-arm64-musl' }, +@@ -68,9 +72,6 @@ const bindingsByPlatformAndArch = { + riscv64: { base: 'linux-riscv64-gnu', musl: 'linux-riscv64-musl' }, + s390x: { base: 'linux-s390x-gnu', musl: null }, + x64: { base: 'linux-x64-gnu', musl: 'linux-x64-musl' } +- }, +- openbsd: { +- x64: { base: 'openbsd-x64' } + }, + openharmony: { + arm64: { base: 'openharmony-arm64' } diff --git a/www/chromium/files/patch-third__party_ffmpeg_configure b/www/chromium/files/patch-third__party_ffmpeg_configure index 937af74cd7f3..d1f33326201b 100644 --- a/www/chromium/files/patch-third__party_ffmpeg_configure +++ b/www/chromium/files/patch-third__party_ffmpeg_configure @@ -1,13 +1,13 @@ ---- third_party/ffmpeg/configure.orig 2026-05-07 17:02:56 UTC +--- third_party/ffmpeg/configure.orig 2026-07-01 06:24:19 UTC +++ third_party/ffmpeg/configure -@@ -7198,8 +7198,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en +@@ -7256,8 +7256,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en if enabled pthread_np_h; then hdrs="$hdrs pthread_np.h" fi - check_lib pthread_set_name_np "$hdrs" pthread_set_name_np -lpthread - check_lib pthread_setname_np "$hdrs" pthread_setname_np -lpthread + check_lib pthread_set_name_np pthread_np.h pthread_set_name_np -lpthread + check_lib pthread_setname_np pthread_np.h pthread_setname_np -lpthread fi fi diff --git a/www/chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h b/www/chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h index 592173b55295..fa38aca1c335 100644 --- a/www/chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h +++ b/www/chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h @@ -1,24 +1,24 @@ ---- third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h.orig 2026-04-09 06:05:42 UTC +--- third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h.orig 2026-07-01 06:24:19 UTC +++ third_party/libaom/source/config/linux/arm64-cpu-detect/config/av1_rtcd.h @@ -194,8 +194,10 @@ RTCD_EXTERN void (*av1_dist_wtd_convolve_x)(const uint void av1_dist_wtd_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params); void av1_dist_wtd_convolve_y_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params); +#if (VERSION_PACKED > 199937) void av1_dist_wtd_convolve_y_neon_dotprod(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params); void av1_dist_wtd_convolve_y_neon_i8mm(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params); +#endif RTCD_EXTERN void (*av1_dist_wtd_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams *filter_params_y, const int subpel_y_qn, ConvolveParams *conv_params); void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy); -@@ -531,8 +533,10 @@ static void setup_rtcd_internal(void) +@@ -534,8 +536,10 @@ static void setup_rtcd_internal(void) if (flags & HAS_NEON_DOTPROD) av1_dist_wtd_convolve_x = av1_dist_wtd_convolve_x_neon_dotprod; if (flags & HAS_NEON_I8MM) av1_dist_wtd_convolve_x = av1_dist_wtd_convolve_x_neon_i8mm; av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon; +#if (VERSION_PACKED > 199937) if (flags & HAS_NEON_DOTPROD) av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon_dotprod; if (flags & HAS_NEON_I8MM) av1_dist_wtd_convolve_y = av1_dist_wtd_convolve_y_neon_i8mm; +#endif av1_filter_intra_predictor = av1_filter_intra_predictor_neon; if (flags & HAS_NEON_I8MM) av1_filter_intra_predictor = av1_filter_intra_predictor_neon_i8mm; av1_get_crc32c_value = av1_get_crc32c_value_c; diff --git a/www/chromium/files/patch-third__party_libusb_BUILD.gn b/www/chromium/files/patch-third__party_libusb_BUILD.gn index 00e3e938b588..db23b71ebea2 100644 --- a/www/chromium/files/patch-third__party_libusb_BUILD.gn +++ b/www/chromium/files/patch-third__party_libusb_BUILD.gn @@ -1,52 +1,52 @@ ---- third_party/libusb/BUILD.gn.orig 2023-09-13 12:11:42 UTC +--- third_party/libusb/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ third_party/libusb/BUILD.gn @@ -3,7 +3,7 @@ # found in the LICENSE file. # libusb is only used by //services/device/usb on macOS. -assert(is_mac) +assert(is_mac || is_bsd) - import("//build/config/chromeos/ui_mode.gni") import("//build/config/features.gni") -@@ -103,7 +103,7 @@ static_library("libusb") { + +@@ -102,7 +102,7 @@ static_library("libusb") { ] } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { sources += [ "src/libusb/os/linux_usbfs.c", "src/libusb/os/linux_usbfs.h", -@@ -114,11 +114,21 @@ static_library("libusb") { +@@ -113,11 +113,21 @@ static_library("libusb") { ] } + if (is_openbsd) { + sources += [ + "src/libusb/os/openbsd_usb.c", + ] + defines += [ + "OS_OPENBSD=1", + "_GNU_SOURCE=1", + ] + } + - if (is_chromeos_ash) { + if (is_chromeos) { defines += [ "USBI_TIMERFD_AVAILABLE" ] } - if (use_udev) { + if (use_udev && !is_bsd) { sources += [ "src/libusb/os/linux_udev.cc" ] defines += [ "HAVE_LIBUDEV=1", -@@ -127,7 +137,7 @@ static_library("libusb") { +@@ -126,7 +136,7 @@ static_library("libusb") { deps += [ "//build/linux/libudev" ] } - if ((is_linux || is_chromeos) && !use_udev) { + if ((is_linux || is_chromeos) && !use_udev && !is_bsd) { sources += [ "src/libusb/os/linux_netlink.c" ] defines += [ "HAVE_LINUX_NETLINK_H" ] } diff --git a/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_time.h b/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_time.h index 4b5062e402ce..8eee6bed12ee 100644 --- a/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_time.h +++ b/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_time.h @@ -1,11 +1,11 @@ ---- third_party/perfetto/include/perfetto/base/time.h.orig 2026-01-14 08:33:23 UTC +--- third_party/perfetto/include/perfetto/base/time.h.orig 2026-07-01 06:24:19 UTC +++ third_party/perfetto/include/perfetto/base/time.h -@@ -242,7 +242,7 @@ inline TimeNanos GetWallTimeNs() { +@@ -294,7 +294,7 @@ inline TimeNanos GetWallTimeNs() { } inline TimeNanos GetWallTimeRawNs() { -#if (PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD)) +#if (PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || PERFETTO_BUILDFLAG(PERFETTO_OS_OPENBSD)) // Note: CLOCK_MONOTONIC_RAW is a Linux extension. // FreeBSD doesn't implement it and its CLOCK_MONOTONIC_FAST // doesnt implement the same semantics as CLOCK_MONOTONIC_RAW. diff --git a/www/chromium/files/patch-third__party_sqlite_BUILD.gn b/www/chromium/files/patch-third__party_sqlite_BUILD.gn index bf7e563d38bd..eb59931c1cea 100644 --- a/www/chromium/files/patch-third__party_sqlite_BUILD.gn +++ b/www/chromium/files/patch-third__party_sqlite_BUILD.gn @@ -1,11 +1,11 @@ ---- third_party/sqlite/BUILD.gn.orig 2025-03-05 08:14:56 UTC +--- third_party/sqlite/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ third_party/sqlite/BUILD.gn -@@ -155,7 +155,7 @@ config("sqlite_warnings") { +@@ -159,7 +159,7 @@ config("sqlite_warnings") { ] } } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { cflags += [ # SQLite doesn't believe in compiler warnings, preferring testing. # http://www.sqlite.org/faq.html#q17 diff --git a/www/chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c b/www/chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c index a34d0af3c2b2..01613d51fcdc 100644 --- a/www/chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c +++ b/www/chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c @@ -1,11 +1,11 @@ ---- third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2026-05-07 17:02:56 UTC +--- third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2026-07-01 06:24:19 UTC +++ third_party/sqlite/src/amalgamation_dev/sqlite3.c -@@ -14770,7 +14770,7 @@ struct fts5_api { +@@ -15161,7 +15161,7 @@ struct fts5_api { ** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit ** it. */ -#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) +#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && !defined(__FreeBSD__) # define _XOPEN_SOURCE 600 #endif diff --git a/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c b/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c index 15b589abfaf0..810564424bd7 100644 --- a/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c +++ b/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c @@ -1,32 +1,32 @@ ---- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2026-05-07 17:02:56 UTC +--- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2026-07-01 06:24:19 UTC +++ third_party/sqlite/src/amalgamation/sqlite3.c -@@ -14770,7 +14770,7 @@ struct fts5_api { +@@ -15161,7 +15161,7 @@ struct fts5_api { ** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit ** it. */ -#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) +#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && !defined(__FreeBSD__) # define _XOPEN_SOURCE 600 #endif -@@ -46304,7 +46304,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB +@@ -47271,7 +47271,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB memset(zBuf, 0, nBuf); randomnessPid = osGetpid(0); #if !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS) +#if defined(__OpenBSD__) { + arc4random_buf(zBuf, nBuf); + } +#else + { int fd, got; fd = robust_open("/dev/urandom", O_RDONLY, 0); if( fd<0 ){ -@@ -46319,6 +46324,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB +@@ -47286,6 +47291,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB robust_close(0, fd, __LINE__); } } +#endif #endif return nBuf; } diff --git a/www/chromium/files/patch-third__party_webrtc_BUILD.gn b/www/chromium/files/patch-third__party_webrtc_BUILD.gn index 75c8ee92442c..5fdf00e4f480 100644 --- a/www/chromium/files/patch-third__party_webrtc_BUILD.gn +++ b/www/chromium/files/patch-third__party_webrtc_BUILD.gn @@ -1,12 +1,12 @@ ---- third_party/webrtc/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- third_party/webrtc/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ third_party/webrtc/BUILD.gn -@@ -242,6 +242,9 @@ config("common_inherited_config") { +@@ -251,6 +251,9 @@ config("common_inherited_config") { if (is_linux || is_chromeos) { defines += [ "WEBRTC_LINUX" ] } + if (is_bsd) { + defines += [ "WEBRTC_BSD" ] + } if (is_mac) { defines += [ "WEBRTC_MAC" ] } diff --git a/www/chromium/files/patch-third__party_widevine_cdm_widevine.gni b/www/chromium/files/patch-third__party_widevine_cdm_widevine.gni index 8989416c8c46..ab8591177a1c 100644 --- a/www/chromium/files/patch-third__party_widevine_cdm_widevine.gni +++ b/www/chromium/files/patch-third__party_widevine_cdm_widevine.gni @@ -1,11 +1,11 @@ ---- third_party/widevine/cdm/widevine.gni.orig 2026-06-04 10:12:25 UTC +--- third_party/widevine/cdm/widevine.gni.orig 2026-07-01 06:24:19 UTC +++ third_party/widevine/cdm/widevine.gni -@@ -28,6 +28,8 @@ library_widevine_cdm_available = +@@ -27,6 +27,8 @@ library_widevine_cdm_available = (is_chromeos && (target_cpu == "x64" || target_cpu == "arm" || target_cpu == "arm64")) || (target_os == "linux" && (target_cpu == "x64" || target_cpu == "arm64")) || + (target_os == "openbsd" && target_cpu == "x64") || + (target_os == "freebsd" && target_cpu == "x64") || (target_os == "mac" && (target_cpu == "x64" || target_cpu == "arm64")) || (target_os == "win" && (target_cpu == "x86" || target_cpu == "x64" || target_cpu == "arm64")) diff --git a/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn b/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn index af6b065a9bc4..79d3b86cfd24 100644 --- a/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn +++ b/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn @@ -1,20 +1,20 @@ ---- tools/perf/chrome_telemetry_build/BUILD.gn.orig 2026-04-09 06:05:42 UTC +--- tools/perf/chrome_telemetry_build/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ tools/perf/chrome_telemetry_build/BUILD.gn @@ -56,7 +56,7 @@ group("telemetry_chrome_test") { data_deps += [ "//chrome:reorder_imports" ] } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { data_deps += [ "//third_party/breakpad:dump_syms" ] # CrOS currently has issues with the locally compiled version of -@@ -199,7 +199,7 @@ group("telemetry_chrome_test_without_chrome") { +@@ -200,7 +200,7 @@ group("telemetry_chrome_test_without_chrome") { ] # Cr-Fuchsia doesn't support breakpad. - if (!is_win && !is_fuchsia) { + if (!is_win && !is_fuchsia && !is_bsd) { data_deps += [ # This is defined for Windows, but is unused by Telemetry on # Windows, and including it can have issues when cross-compiling diff --git a/www/chromium/files/patch-ui_accessibility_accessibility__features.cc b/www/chromium/files/patch-ui_accessibility_accessibility__features.cc index db73846ef822..55cfcd182bad 100644 --- a/www/chromium/files/patch-ui_accessibility_accessibility__features.cc +++ b/www/chromium/files/patch-ui_accessibility_accessibility__features.cc @@ -1,20 +1,20 @@ ---- ui/accessibility/accessibility_features.cc.orig 2026-06-04 10:12:25 UTC +--- ui/accessibility/accessibility_features.cc.orig 2026-07-01 06:24:19 UTC +++ ui/accessibility/accessibility_features.cc -@@ -458,7 +458,7 @@ bool IsScreenAITestModeEnabled() { +@@ -467,7 +467,7 @@ bool IsScreenAITestModeEnabled() { return base::FeatureList::IsEnabled(::features::kScreenAITestMode); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kScreenAIPartitionAllocAdvancedChecksEnabled, base::FEATURE_DISABLED_BY_DEFAULT); #endif -@@ -499,7 +499,7 @@ bool IsMacAccessibilityTextOperationEnabled() { +@@ -508,7 +508,7 @@ bool IsMacAccessibilityTextOperationEnabled() { } #endif // BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kWasmTtsEngineAutoInstallDisabled, base::FEATURE_DISABLED_BY_DEFAULT); bool IsWasmTtsEngineAutoInstallDisabled() { diff --git a/www/chromium/files/patch-ui_accessibility_accessibility__features.h b/www/chromium/files/patch-ui_accessibility_accessibility__features.h index c9fd06e0f379..1c04d4ff1ff2 100644 --- a/www/chromium/files/patch-ui_accessibility_accessibility__features.h +++ b/www/chromium/files/patch-ui_accessibility_accessibility__features.h @@ -1,20 +1,20 @@ ---- ui/accessibility/accessibility_features.h.orig 2026-06-04 10:12:25 UTC +--- ui/accessibility/accessibility_features.h.orig 2026-07-01 06:24:19 UTC +++ ui/accessibility/accessibility_features.h -@@ -361,7 +361,7 @@ AX_BASE_EXPORT bool IsScreenAIOCREnabled(); +@@ -364,7 +364,7 @@ AX_BASE_EXPORT bool IsScreenAIOCREnabled(); AX_BASE_EXPORT BASE_DECLARE_FEATURE(kScreenAITestMode); AX_BASE_EXPORT bool IsScreenAITestModeEnabled(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Enables advanced partition allocation checks in ScreenAI service. // TODO(crbug.com/418199684): Remove when the bug is fixed. AX_BASE_EXPORT BASE_DECLARE_FEATURE( -@@ -393,7 +393,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kMacAccessibilityT +@@ -396,7 +396,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kMacAccessibilityT AX_BASE_EXPORT bool IsMacAccessibilityTextOperationEnabled(); #endif // BUILDFLAG(IS_MAC) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Disable the wasm tts engine component to use dev version local extension // files. AX_BASE_EXPORT BASE_DECLARE_FEATURE(kWasmTtsEngineAutoInstallDisabled); diff --git a/www/chromium/files/patch-ui_base_accelerators_accelerator.cc b/www/chromium/files/patch-ui_base_accelerators_accelerator.cc index 7f03e9bf9d73..63559f950b24 100644 --- a/www/chromium/files/patch-ui_base_accelerators_accelerator.cc +++ b/www/chromium/files/patch-ui_base_accelerators_accelerator.cc @@ -1,11 +1,11 @@ ---- ui/base/accelerators/accelerator.cc.orig 2025-07-02 06:08:04 UTC +--- ui/base/accelerators/accelerator.cc.orig 2026-07-01 06:24:19 UTC +++ ui/base/accelerators/accelerator.cc -@@ -335,7 +335,7 @@ std::vector Accelerator::GetLongFormMo +@@ -402,7 +402,7 @@ std::vector Accelerator::GetLongFormMo modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_SEARCH_KEY)); #elif BUILDFLAG(IS_WIN) modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_WINDOWS_KEY)); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_SUPER_KEY)); #else NOTREACHED(); diff --git a/www/chromium/files/patch-ui_base_accelerators_command.cc b/www/chromium/files/patch-ui_base_accelerators_command.cc index d0f9cc2658e0..37ba63b7a698 100644 --- a/www/chromium/files/patch-ui_base_accelerators_command.cc +++ b/www/chromium/files/patch-ui_base_accelerators_command.cc @@ -1,11 +1,11 @@ ---- ui/base/accelerators/command.cc.orig 2026-01-14 08:33:23 UTC +--- ui/base/accelerators/command.cc.orig 2026-07-01 06:24:19 UTC +++ ui/base/accelerators/command.cc -@@ -80,7 +80,7 @@ std::string Command::CommandPlatform() { +@@ -81,7 +81,7 @@ std::string Command::CommandPlatform() { return ui::kKeybindingPlatformMac; #elif BUILDFLAG(IS_CHROMEOS) return ui::kKeybindingPlatformChromeOs; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return ui::kKeybindingPlatformLinux; #elif BUILDFLAG(IS_FUCHSIA) // TODO(crbug.com/40220501): Change this once we decide what string should be diff --git a/www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__non__backed.cc b/www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__non__backed.cc index 9c8d9990c243..892e63ac810c 100644 --- a/www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__non__backed.cc +++ b/www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__non__backed.cc @@ -1,11 +1,11 @@ ---- ui/base/dragdrop/os_exchange_data_provider_non_backed.cc.orig 2026-02-11 09:05:39 UTC +--- ui/base/dragdrop/os_exchange_data_provider_non_backed.cc.orig 2026-07-01 06:24:19 UTC +++ ui/base/dragdrop/os_exchange_data_provider_non_backed.cc -@@ -104,7 +104,7 @@ void OSExchangeDataProviderNonBacked::SetPickledData( +@@ -105,7 +105,7 @@ void OSExchangeDataProviderNonBacked::SetPickledData( std::optional OSExchangeDataProviderNonBacked::GetString() const { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (HasFile()) { // Various Linux file managers both pass a list of file:// URIs and set the // string representation to the URI. We explicitly don't want to return use diff --git a/www/chromium/files/patch-ui_base_ime_text__input__client.h b/www/chromium/files/patch-ui_base_ime_text__input__client.h index b6a2cf4fb2e0..4029063c4ca5 100644 --- a/www/chromium/files/patch-ui_base_ime_text__input__client.h +++ b/www/chromium/files/patch-ui_base_ime_text__input__client.h @@ -1,11 +1,11 @@ ---- ui/base/ime/text_input_client.h.orig 2025-03-05 08:14:56 UTC +--- ui/base/ime/text_input_client.h.orig 2026-07-01 06:24:19 UTC +++ ui/base/ime/text_input_client.h -@@ -337,7 +337,7 @@ class COMPONENT_EXPORT(UI_BASE_IME) TextInputClient { - // fields that are considered 'private' (e.g. in incognito tabs). - virtual bool ShouldDoLearning() = 0; +@@ -342,7 +342,7 @@ class COMPONENT_EXPORT(UI_BASE_IME) TextInputClient { + virtual bool SupportsAutoFill() const; + #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Start composition over a given UTF-16 code range from existing text. This // should only be used for composition scenario when IME wants to start // composition on existing text. Returns whether the operation was successful. diff --git a/www/chromium/files/patch-ui_base_resource_resource__bundle.cc b/www/chromium/files/patch-ui_base_resource_resource__bundle.cc index ad5e802fd026..2d36878adb11 100644 --- a/www/chromium/files/patch-ui_base_resource_resource__bundle.cc +++ b/www/chromium/files/patch-ui_base_resource_resource__bundle.cc @@ -1,11 +1,11 @@ ---- ui/base/resource/resource_bundle.cc.orig 2026-06-04 10:12:25 UTC +--- ui/base/resource/resource_bundle.cc.orig 2026-07-01 06:24:19 UTC +++ ui/base/resource/resource_bundle.cc -@@ -995,7 +995,7 @@ void ResourceBundle::ReloadFonts() { +@@ -996,7 +996,7 @@ void ResourceBundle::ReloadFonts() { } ResourceScaleFactor ResourceBundle::GetMaxResourceScaleFactor() const { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return max_scale_factor_; #else return GetMaxSupportedResourceScaleFactor(); diff --git a/www/chromium/files/patch-ui_base_test_ui__controls.h b/www/chromium/files/patch-ui_base_test_ui__controls.h index b3017f81861a..84bdf75aaecf 100644 --- a/www/chromium/files/patch-ui_base_test_ui__controls.h +++ b/www/chromium/files/patch-ui_base_test_ui__controls.h @@ -1,11 +1,11 @@ ---- ui/base/test/ui_controls.h.orig 2026-04-09 06:05:42 UTC +--- ui/base/test/ui_controls.h.orig 2026-07-01 06:24:19 UTC +++ ui/base/test/ui_controls.h -@@ -196,7 +196,7 @@ bool SendTouchEventsNotifyWhenDone(int action, +@@ -194,7 +194,7 @@ bool SendTouchEventsNotifyWhenDone(int action, base::OnceClosure task); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Forces the platform implementation to use screen coordinates, even if they're // not really available, the next time that ui_controls::SendMouseMove() or // ui_controls::SendMouseMoveNotifyWhenDone() is called, or some other method diff --git a/www/chromium/files/patch-ui_base_ui__base__features.cc b/www/chromium/files/patch-ui_base_ui__base__features.cc index 397367ad3346..b67104013ac4 100644 --- a/www/chromium/files/patch-ui_base_ui__base__features.cc +++ b/www/chromium/files/patch-ui_base_ui__base__features.cc @@ -1,29 +1,29 @@ ---- ui/base/ui_base_features.cc.orig 2026-06-04 10:12:25 UTC +--- ui/base/ui_base_features.cc.orig 2026-07-01 06:24:19 UTC +++ ui/base/ui_base_features.cc -@@ -119,7 +119,7 @@ BASE_FEATURE(kWaylandTextInputV3, base::FEATURE_ENABLE - BASE_FEATURE(kWaylandSessionManagement, base::FEATURE_DISABLED_BY_DEFAULT); +@@ -142,7 +142,7 @@ BASE_FEATURE(kWaylandExternalBeginFrameSource, + base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_OZONE) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kGlobalShortcutsPortalPreferredTrigger, base::FEATURE_DISABLED_BY_DEFAULT); #endif -@@ -175,7 +175,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists, base::FEATUR +@@ -198,7 +198,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists, base::FEATUR // Enables the use of a touch fling curve that is based on the behavior of // native apps on Windows. BASE_FEATURE(kExperimentalFlingAnimation, -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -264,7 +264,7 @@ bool IsForcedColorsEnabled() { +@@ -287,7 +287,7 @@ bool IsForcedColorsEnabled() { // milestones. BASE_FEATURE(kEyeDropper, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/chromium/files/patch-ui_base_ui__base__features.h b/www/chromium/files/patch-ui_base_ui__base__features.h index c7b47d76afd1..0985bb3149ce 100644 --- a/www/chromium/files/patch-ui_base_ui__base__features.h +++ b/www/chromium/files/patch-ui_base_ui__base__features.h @@ -1,11 +1,11 @@ ---- ui/base/ui_base_features.h.orig 2026-06-04 10:12:25 UTC +--- ui/base/ui_base_features.h.orig 2026-07-01 06:24:19 UTC +++ ui/base/ui_base_features.h -@@ -134,7 +134,7 @@ COMPONENT_EXPORT(UI_BASE_FEATURES) - BASE_DECLARE_FEATURE(kWaylandSessionManagement); +@@ -142,7 +142,7 @@ COMPONENT_EXPORT(UI_BASE_FEATURES) + BASE_DECLARE_FEATURE(kWaylandExternalBeginFrameSource); #endif // BUILDFLAG(IS_OZONE) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) COMPONENT_EXPORT(UI_BASE_FEATURES) BASE_DECLARE_FEATURE(kGlobalShortcutsPortalPreferredTrigger); #endif diff --git a/www/chromium/files/patch-ui_base_x_x11__cursor__loader.cc b/www/chromium/files/patch-ui_base_x_x11__cursor__loader.cc index 056ee1d864b9..bbe775ae1ebf 100644 --- a/www/chromium/files/patch-ui_base_x_x11__cursor__loader.cc +++ b/www/chromium/files/patch-ui_base_x_x11__cursor__loader.cc @@ -1,41 +1,41 @@ ---- ui/base/x/x11_cursor_loader.cc.orig 2026-06-10 07:57:19 UTC +--- ui/base/x/x11_cursor_loader.cc.orig 2026-07-01 06:24:19 UTC +++ ui/base/x/x11_cursor_loader.cc -@@ -37,7 +37,7 @@ +@@ -38,7 +38,7 @@ #include "ui/gfx/x/connection.h" #include "ui/gfx/x/xproto.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/linux/linux_ui.h" #endif -@@ -79,7 +79,11 @@ std::string CursorPathFromLibXcursor() { +@@ -80,7 +80,11 @@ std::string CursorPathFromLibXcursor() { void operator()(void* ptr) const { dlclose(ptr); } }; +#if BUILDFLAG(IS_BSD) + std::unique_ptr lib(dlopen("libXcursor.so", RTLD_LAZY)); +#else std::unique_ptr lib(dlopen("libXcursor.so.1", RTLD_LAZY)); +#endif if (!lib) return ""; -@@ -234,7 +238,7 @@ scoped_refptr ReadCursorFile( +@@ -235,7 +239,7 @@ scoped_refptr ReadCursorFile( const std::string& rm_xcursor_theme) { constexpr const char kDefaultTheme[] = "default"; std::string themes[] = { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // The toolkit theme has the highest priority. LinuxUi::instance() ? LinuxUi::instance()->GetCursorThemeName() : std::string(), -@@ -428,7 +432,7 @@ uint32_t XCursorLoader::GetPreferredCursorSize() const +@@ -429,7 +433,7 @@ uint32_t XCursorLoader::GetPreferredCursorSize() const return size; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Let the toolkit have the next say. auto* linux_ui = LinuxUi::instance(); size = linux_ui ? linux_ui->GetCursorThemeSize() : 0; diff --git a/www/chromium/files/patch-ui_color_color__id.h b/www/chromium/files/patch-ui_color_color__id.h index 5ef054158d9b..270459775bb2 100644 --- a/www/chromium/files/patch-ui_color_color__id.h +++ b/www/chromium/files/patch-ui_color_color__id.h @@ -1,11 +1,11 @@ ---- ui/color/color_id.h.orig 2026-06-04 10:12:25 UTC +--- ui/color/color_id.h.orig 2026-07-01 06:24:19 UTC +++ ui/color/color_id.h -@@ -664,7 +664,7 @@ +@@ -667,7 +667,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(kColorNativeBoxFrameBorder)\ E_CPONLY(kColorNativeHeaderButtonBorderActive) \ diff --git a/www/chromium/files/patch-ui_compositor_compositor.h b/www/chromium/files/patch-ui_compositor_compositor.h index b656771fafdc..a827869dd04e 100644 --- a/www/chromium/files/patch-ui_compositor_compositor.h +++ b/www/chromium/files/patch-ui_compositor_compositor.h @@ -1,11 +1,11 @@ ---- ui/compositor/compositor.h.orig 2026-06-04 10:12:25 UTC +--- ui/compositor/compositor.h.orig 2026-07-01 06:24:19 UTC +++ ui/compositor/compositor.h -@@ -465,7 +465,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe +@@ -463,7 +463,7 @@ class COMPOSITOR_EXPORT Compositor // base::PowerSuspendObserver: void OnResume() override; -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(SUPPORTS_OZONE_X11) void OnCompleteSwapWithNewSize(const gfx::Size& size); #endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(SUPPORTS_OZONE_X11) diff --git a/www/chromium/files/patch-ui_events_event.cc b/www/chromium/files/patch-ui_events_event.cc index 85724fb926f8..fe834b90fb55 100644 --- a/www/chromium/files/patch-ui_events_event.cc +++ b/www/chromium/files/patch-ui_events_event.cc @@ -1,29 +1,29 @@ ---- ui/events/event.cc.orig 2026-05-07 17:02:56 UTC +--- ui/events/event.cc.orig 2026-07-01 06:24:19 UTC +++ ui/events/event.cc -@@ -373,7 +373,7 @@ std::string LocatedEvent::ToString() const { +@@ -408,7 +408,7 @@ std::string LocatedEvent::ToString() const { MouseEvent::MouseEvent(const PlatformEvent& native_event) : LocatedEvent(native_event), changed_button_flags_(GetChangedMouseButtonFlagsFromNative(native_event)), -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) movement_(GetMouseMovementFromNative(native_event)), #endif pointer_details_(GetMousePointerDetailsFromNative(native_event)) { -@@ -629,7 +629,7 @@ std::unique_ptr MouseWheelEvent::Clone() const +@@ -664,7 +664,7 @@ std::unique_ptr MouseWheelEvent::Clone() const return std::make_unique(*this); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // This value matches Windows, Fuchsia WHEEL_DELTA, and (roughly) Firefox on // Linux. // static -@@ -892,7 +892,7 @@ void KeyEvent::InitializeNative() { +@@ -927,7 +927,7 @@ void KeyEvent::InitializeNative() { SetFlags(flags() | EF_IS_REPEAT); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) NormalizeFlags(); #elif BUILDFLAG(IS_WIN) // Only Windows has native character events. diff --git a/www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.h b/www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.h index 0fec07e61fd1..3391445d4ef6 100644 --- a/www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.h +++ b/www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.h @@ -1,11 +1,11 @@ ---- ui/events/keycodes/dom/keycode_converter.h.orig 2024-06-17 12:56:06 UTC +--- ui/events/keycodes/dom/keycode_converter.h.orig 2026-07-01 06:24:19 UTC +++ ui/events/keycodes/dom/keycode_converter.h -@@ -64,7 +64,7 @@ class KeycodeConverter { +@@ -65,7 +65,7 @@ class KeycodeConverter { // Convert a DomCode into a native keycode. static int DomCodeToNativeKeycode(DomCode code); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FREEBSD) // Convert a XKB keycode into a DomCode. static DomCode XkbKeycodeToDomCode(uint32_t xkb_keycode); diff --git a/www/chromium/files/patch-ui_gfx_render__text__api__fuzzer.cc b/www/chromium/files/patch-ui_gfx_render__text__api__fuzzer.cc index 91079ce0598c..a15c6ea4dc32 100644 --- a/www/chromium/files/patch-ui_gfx_render__text__api__fuzzer.cc +++ b/www/chromium/files/patch-ui_gfx_render__text__api__fuzzer.cc @@ -1,20 +1,20 @@ ---- ui/gfx/render_text_api_fuzzer.cc.orig 2025-01-15 09:18:26 UTC +--- ui/gfx/render_text_api_fuzzer.cc.orig 2026-07-01 06:24:19 UTC +++ ui/gfx/render_text_api_fuzzer.cc -@@ -19,7 +19,7 @@ - #include "ui/gfx/font_util.h" - #include "ui/gfx/render_text.h" +@@ -24,7 +24,7 @@ + #include "base/test/test_support_android.h" + #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "third_party/test_fonts/fontconfig/fontconfig_util_linux.h" #endif -@@ -46,7 +46,7 @@ struct Environment { +@@ -59,7 +59,7 @@ struct Environment { CHECK(base::i18n::InitializeICU()); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) test_fonts::SetUpFontconfig(); #endif gfx::InitializeFonts(); diff --git a/www/chromium/files/patch-ui_gfx_render__text__fuzzer.cc b/www/chromium/files/patch-ui_gfx_render__text__fuzzer.cc index 71a4af478cea..1c20741295f8 100644 --- a/www/chromium/files/patch-ui_gfx_render__text__fuzzer.cc +++ b/www/chromium/files/patch-ui_gfx_render__text__fuzzer.cc @@ -1,20 +1,20 @@ ---- ui/gfx/render_text_fuzzer.cc.orig 2026-03-13 06:02:14 UTC +--- ui/gfx/render_text_fuzzer.cc.orig 2026-07-01 06:24:19 UTC +++ ui/gfx/render_text_fuzzer.cc -@@ -17,7 +17,7 @@ - #include "ui/gfx/canvas.h" - #include "ui/gfx/font_util.h" +@@ -22,7 +22,7 @@ + #include "base/test/test_support_android.h" + #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "third_party/test_fonts/fontconfig/fontconfig_util_linux.h" #endif -@@ -40,7 +40,7 @@ struct Environment { +@@ -53,7 +53,7 @@ struct Environment { CHECK(base::i18n::InitializeICU()); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) test_fonts::SetUpFontconfig(); #endif gfx::InitializeFonts(); diff --git a/www/chromium/files/patch-ui_gfx_render__text__harfbuzz.cc b/www/chromium/files/patch-ui_gfx_render__text__harfbuzz.cc new file mode 100644 index 000000000000..a90e12fe69a3 --- /dev/null +++ b/www/chromium/files/patch-ui_gfx_render__text__harfbuzz.cc @@ -0,0 +1,11 @@ +--- ui/gfx/render_text_harfbuzz.cc.orig 2026-07-01 06:24:19 UTC ++++ ui/gfx/render_text_harfbuzz.cc +@@ -184,7 +184,7 @@ const char* GetPlatformColorEmojiFontName() { + return "Segoe UI Emoji"; + #elif BUILDFLAG(IS_APPLE) + return "Apple Color Emoji"; +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + return "Noto Color Emoji"; + #else + return nullptr; diff --git a/www/chromium/files/patch-ui_gl_gl__switches.cc b/www/chromium/files/patch-ui_gl_gl__switches.cc index 16025af8323a..ccba9b48745a 100644 --- a/www/chromium/files/patch-ui_gl_gl__switches.cc +++ b/www/chromium/files/patch-ui_gl_gl__switches.cc @@ -1,29 +1,29 @@ ---- ui/gl/gl_switches.cc.orig 2026-06-04 10:12:25 UTC +--- ui/gl/gl_switches.cc.orig 2026-07-01 06:24:19 UTC +++ ui/gl/gl_switches.cc @@ -16,7 +16,7 @@ #endif #if BUILDFLAG(ENABLE_VULKAN) && \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) + (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) #include #include "third_party/angle/src/gpu_info_util/SystemInfo.h" // nogncheck #endif // BUILDFLAG(ENABLE_VULKAN) && (BUILDFLAG(IS_LINUX) || -@@ -312,7 +312,7 @@ bool IsDefaultANGLEVulkan() { +@@ -316,7 +316,7 @@ bool IsDefaultANGLEVulkan() { } #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(ENABLE_VULKAN) && \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) + (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) angle::SystemInfo system_info; { TRACE_EVENT("gpu,startup", "angle::GetSystemInfoVulkan"); -@@ -394,7 +394,7 @@ bool IsDefaultANGLEVulkan() { +@@ -398,7 +398,7 @@ bool IsDefaultANGLEVulkan() { } #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // AMDVLK driver is buggy, so disable Vulkan with AMDVLK for now. // crbug.com/1340081 if (active_gpu.driverId == VK_DRIVER_ID_AMD_OPEN_SOURCE) diff --git a/www/chromium/files/patch-ui_ozone_common_egl__util.cc b/www/chromium/files/patch-ui_ozone_common_egl__util.cc index 64e4e1005cdb..d8c51433b038 100644 --- a/www/chromium/files/patch-ui_ozone_common_egl__util.cc +++ b/www/chromium/files/patch-ui_ozone_common_egl__util.cc @@ -1,14 +1,14 @@ ---- ui/ozone/common/egl_util.cc.orig 2025-07-02 06:08:04 UTC +--- ui/ozone/common/egl_util.cc.orig 2026-07-01 06:24:19 UTC +++ ui/ozone/common/egl_util.cc -@@ -35,9 +35,9 @@ const base::FilePath::CharType kDefaultGlesSoname[] = +@@ -37,9 +37,9 @@ const base::FilePath::CharType kDefaultGlesSoname[] = FILE_PATH_LITERAL("libGLESv2.so"); #else // BUILDFLAG(IS_FUCHSIA) const base::FilePath::CharType kDefaultEglSoname[] = - FILE_PATH_LITERAL("libEGL.so.1"); + FILE_PATH_LITERAL("libEGL.so"); const base::FilePath::CharType kDefaultGlesSoname[] = - FILE_PATH_LITERAL("libGLESv2.so.2"); + FILE_PATH_LITERAL("libGLESv2.so"); #endif - #if !BUILDFLAG(USE_STATIC_ANGLE) + const base::FilePath::CharType kAngleEglSoname[] = diff --git a/www/chromium/files/patch-ui_ozone_platform_wayland_BUILD.gn b/www/chromium/files/patch-ui_ozone_platform_wayland_BUILD.gn index cdd97225b1a8..5cf2a77b2561 100644 --- a/www/chromium/files/patch-ui_ozone_platform_wayland_BUILD.gn +++ b/www/chromium/files/patch-ui_ozone_platform_wayland_BUILD.gn @@ -1,10 +1,10 @@ ---- ui/ozone/platform/wayland/BUILD.gn.orig 2025-12-06 09:30:09 UTC +--- ui/ozone/platform/wayland/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ ui/ozone/platform/wayland/BUILD.gn -@@ -246,7 +246,6 @@ source_set("wayland") { +@@ -248,7 +248,6 @@ source_set("wayland") { "//mojo/public/cpp/system", "//skia", "//third_party/angle:includes", - "//third_party/libsync", "//third_party/wayland:wayland_client", "//third_party/wayland:wayland_cursor", "//third_party/wayland:wayland_egl", diff --git a/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__exchange__data__provider.cc b/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__exchange__data__provider.cc index bc7e6a27c243..9cafa8f5c1d2 100644 --- a/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__exchange__data__provider.cc +++ b/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__exchange__data__provider.cc @@ -1,47 +1,47 @@ ---- ui/ozone/platform/wayland/host/wayland_exchange_data_provider.cc.orig 2026-05-07 17:02:56 UTC +--- ui/ozone/platform/wayland/host/wayland_exchange_data_provider.cc.orig 2026-07-01 06:24:19 UTC +++ ui/ozone/platform/wayland/host/wayland_exchange_data_provider.cc -@@ -74,7 +74,7 @@ int MimeTypeToFormat(const std::string& mime_type) { +@@ -76,7 +76,7 @@ int MimeTypeToFormat(const std::string& mime_type) { if (mime_type == ui::kMimeTypeDataTransferCustomData) { return OSExchangeData::PICKLED_DATA; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (mime_type == ui::kMimeTypePortalFileTransfer || mime_type == ui::kMimeTypePortalFiles) { return OSExchangeData::PICKLED_DATA; -@@ -210,7 +210,7 @@ std::unique_ptr WaylandExchang +@@ -211,7 +211,7 @@ std::unique_ptr WaylandExchang const { auto clone = std::make_unique(); CopyData(clone.get()); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) clone->additional_data_ = additional_data_; #endif return clone; -@@ -254,7 +254,7 @@ std::vector WaylandExchangeDataProvider:: +@@ -255,7 +255,7 @@ std::vector WaylandExchangeDataProvider:: mime_types.push_back(mime_type); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) for (const auto& item : additional_data_) { mime_types.push_back(item.first); } -@@ -272,7 +272,7 @@ void WaylandExchangeDataProvider::AddData(PlatformClip +@@ -273,7 +273,7 @@ void WaylandExchangeDataProvider::AddData(PlatformClip DCHECK(data); DCHECK(IsMimeTypeSupported(mime_type)); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (mime_type == ui::kMimeTypePortalFileTransfer || mime_type == ui::kMimeTypePortalFiles) { additional_data_[mime_type] = base::as_string_view(*data); -@@ -345,7 +345,7 @@ bool WaylandExchangeDataProvider::ExtractData(const st +@@ -349,7 +349,7 @@ bool WaylandExchangeDataProvider::ExtractData(const st *out_content = std::string(pickle->AsStringView()); return true; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto it = additional_data_.find(mime_type); if (it != additional_data_.end()) { *out_content = it->second; diff --git a/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc b/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc index d5a258d0c049..5a92574ae89c 100644 --- a/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc +++ b/www/chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc @@ -1,65 +1,65 @@ ---- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig 2026-05-07 17:02:56 UTC +--- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig 2026-07-01 06:24:19 UTC +++ ui/ozone/platform/wayland/host/wayland_frame_manager.cc @@ -5,7 +5,9 @@ #include "ui/ozone/platform/wayland/host/wayland_frame_manager.h" #include +#if !BUILDFLAG(IS_BSD) #include +#endif #include #include -@@ -463,8 +465,10 @@ std::optional WaylandFrameManager::ApplySurfaceC +@@ -464,8 +466,10 @@ std::optional WaylandFrameManager::ApplySurfaceC surface->UpdateBufferDamageRegion( gfx::ToEnclosingRectIgnoringError(surface_damage)); +#if !BUILDFLAG(IS_BSD) if (!config.access_fence_handle.is_null()) surface->set_acquire_fence(std::move(config.access_fence_handle)); +#endif bool needs_commit = false; -@@ -496,6 +500,9 @@ std::optional WaylandFrameManager::ApplySurfaceC +@@ -497,6 +501,9 @@ std::optional WaylandFrameManager::ApplySurfaceC case WaylandBufferHandle::SyncMethod::kNone: break; case WaylandBufferHandle::SyncMethod::kSyncobj: +#if BUILDFLAG(IS_BSD) + LOG(WARNING) << "WaylandBufferHandle::SyncMethod::kSyncobj is not supported!"; +#endif surface->RequestExplicitRelease( base::BindOnce(&WaylandFrameManager::OnExplicitBufferRelease, weak_factory_.GetWeakPtr(), surface)); -@@ -503,6 +510,9 @@ std::optional WaylandFrameManager::ApplySurfaceC +@@ -504,6 +511,9 @@ std::optional WaylandFrameManager::ApplySurfaceC case WaylandBufferHandle::SyncMethod::kDMAFence: [[fallthrough]]; case WaylandBufferHandle::SyncMethod::kImplicit: +#if BUILDFLAG(IS_BSD) + LOG(WARNING) << "WaylandBufferHandle::SyncMethod::kSyncobj is not supported!"; +#endif buffer_handle->set_buffer_released_callback( base::BindOnce(&WaylandFrameManager::OnWlBufferRelease, weak_factory_.GetWeakPtr(), surface), -@@ -737,8 +747,10 @@ void WaylandFrameManager::OnExplicitBufferRelease(Wayl +@@ -762,8 +772,10 @@ void WaylandFrameManager::OnExplicitBufferRelease(Wayl if (fence.is_valid()) { if (frame->merged_release_fence_fd.is_valid()) { +#if !BUILDFLAG(IS_BSD) frame->merged_release_fence_fd.reset(sync_merge( "", frame->merged_release_fence_fd.get(), fence.get())); +#endif } else { frame->merged_release_fence_fd = std::move(fence); } -@@ -776,8 +788,10 @@ void WaylandFrameManager::OnWlBufferRelease(WaylandSur +@@ -801,8 +813,10 @@ void WaylandFrameManager::OnWlBufferRelease(WaylandSur if (fence.is_valid()) { if (frame->merged_release_fence_fd.is_valid()) { +#if !BUILDFLAG(IS_BSD) frame->merged_release_fence_fd.reset(sync_merge( "", frame->merged_release_fence_fd.get(), fence.get())); +#endif } else { frame->merged_release_fence_fd = std::move(fence); } diff --git a/www/chromium/files/patch-ui_ozone_platform_x11_x11__window.cc b/www/chromium/files/patch-ui_ozone_platform_x11_x11__window.cc index 6297947abca2..836c7962e7c1 100644 --- a/www/chromium/files/patch-ui_ozone_platform_x11_x11__window.cc +++ b/www/chromium/files/patch-ui_ozone_platform_x11_x11__window.cc @@ -1,11 +1,11 @@ ---- ui/ozone/platform/x11/x11_window.cc.orig 2026-06-04 10:12:25 UTC +--- ui/ozone/platform/x11/x11_window.cc.orig 2026-07-01 06:24:19 UTC +++ ui/ozone/platform/x11/x11_window.cc -@@ -1568,7 +1568,7 @@ void X11Window::OnXWindowStateChanged() { +@@ -1588,7 +1588,7 @@ void X11Window::OnXWindowStateChanged() { WindowTiledEdges tiled_state = GetTiledState(); if (tiled_state != tiled_state_) { tiled_state_ = tiled_state; -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) platform_window_delegate_->OnWindowTiledStateChanged(tiled_state); UpdateDecorationInsets(); #endif diff --git a/www/chromium/files/patch-ui_views_BUILD.gn b/www/chromium/files/patch-ui_views_BUILD.gn index 374d6a96de3a..3de700249c5b 100644 --- a/www/chromium/files/patch-ui_views_BUILD.gn +++ b/www/chromium/files/patch-ui_views_BUILD.gn @@ -1,10 +1,10 @@ ---- ui/views/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- ui/views/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ ui/views/BUILD.gn -@@ -862,7 +862,6 @@ component("views") { +@@ -891,7 +891,6 @@ component("views") { "windows_stationarity_monitor_aura.cc", ] deps += [ - "//components/crash/core/common:crash_key", "//ui/aura", "//ui/base/cursor/mojom:cursor_type_shared", "//ui/events", diff --git a/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc b/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc index 9359c2af6d6d..f3f9d7621723 100644 --- a/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc +++ b/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc @@ -1,65 +1,65 @@ ---- ui/views/controls/textfield/textfield.cc.orig 2026-05-30 09:39:35 UTC +--- ui/views/controls/textfield/textfield.cc.orig 2026-07-01 06:24:19 UTC +++ ui/views/controls/textfield/textfield.cc -@@ -88,7 +88,7 @@ +@@ -89,7 +89,7 @@ #include "base/win/win_util.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/base/ime/linux/text_edit_command_auralinux.h" #include "ui/base/ime/text_input_flags.h" #include "ui/linux/linux_ui.h" -@@ -185,7 +185,7 @@ bool IsControlKeyModifier(int flags) { +@@ -186,7 +186,7 @@ bool IsControlKeyModifier(int flags) { // Control-modified key combination, but we cannot extend it to other platforms // as Control has different meanings and behaviors. // https://crrev.com/2580483002/#msg46 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return flags & ui::EF_CONTROL_DOWN; #else return false; -@@ -796,7 +796,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event +@@ -826,7 +826,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event return handled; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!handled) { if (auto* linux_ui = ui::LinuxUi::instance()) { const auto command = -@@ -981,7 +981,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bo +@@ -1011,7 +1011,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bo } bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Skip any accelerator handling that conflicts with custom keybindings. if (auto* linux_ui = ui::LinuxUi::instance()) { if (IsTextEditCommandEnabled(linux_ui->GetTextEditCommandForEvent( -@@ -2100,7 +2100,7 @@ bool Textfield::ShouldDoLearning() { +@@ -2130,7 +2130,7 @@ bool Textfield::ShouldDoLearning() { return false; } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // TODO(crbug.com/41452689): Implement this method to support Korean IME // reconversion feature on native text fields (e.g. find bar). bool Textfield::SetCompositionFromExistingText( -@@ -2627,7 +2627,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( +@@ -2657,7 +2657,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( #endif return ui::TextEditCommand::DELETE_BACKWARD; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Only erase by line break on Linux and ChromeOS. if (shift) { return ui::TextEditCommand::DELETE_TO_BEGINNING_OF_LINE; -@@ -2635,7 +2635,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( +@@ -2665,7 +2665,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( #endif return ui::TextEditCommand::DELETE_WORD_BACKWARD; case ui::VKEY_DELETE: -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Only erase by line break on Linux and ChromeOS. if (shift && control) { return ui::TextEditCommand::DELETE_TO_END_OF_LINE; diff --git a/www/chromium/files/patch-ui_views_controls_textfield_textfield.h b/www/chromium/files/patch-ui_views_controls_textfield_textfield.h index bceebe5efd07..8a6dc224de13 100644 --- a/www/chromium/files/patch-ui_views_controls_textfield_textfield.h +++ b/www/chromium/files/patch-ui_views_controls_textfield_textfield.h @@ -1,20 +1,20 @@ ---- ui/views/controls/textfield/textfield.h.orig 2026-05-30 09:39:35 UTC +--- ui/views/controls/textfield/textfield.h.orig 2026-07-01 06:24:19 UTC +++ ui/views/controls/textfield/textfield.h -@@ -51,7 +51,7 @@ +@@ -52,7 +52,7 @@ #include "ui/views/view_observer.h" #include "ui/views/word_lookup_client.h" -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include #endif -@@ -484,7 +484,7 @@ class VIEWS_EXPORT Textfield : public View, +@@ -497,7 +497,7 @@ class VIEWS_EXPORT Textfield : public View, // Set whether the text should be used to improve typing suggestions. void SetShouldDoLearning(bool value) { should_do_learning_ = value; } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) bool SetCompositionFromExistingText( const gfx::Range& range, const std::vector& ui_ime_text_spans) override; diff --git a/www/chromium/files/patch-ui_views_test_ui__controls__factory__desktop__aura__ozone.cc b/www/chromium/files/patch-ui_views_test_ui__controls__factory__desktop__aura__ozone.cc index c5f6b44e9e51..eae65f77c71b 100644 --- a/www/chromium/files/patch-ui_views_test_ui__controls__factory__desktop__aura__ozone.cc +++ b/www/chromium/files/patch-ui_views_test_ui__controls__factory__desktop__aura__ozone.cc @@ -1,11 +1,11 @@ ---- ui/views/test/ui_controls_factory_desktop_aura_ozone.cc.orig 2025-01-15 09:18:26 UTC +--- ui/views/test/ui_controls_factory_desktop_aura_ozone.cc.orig 2026-07-01 06:24:19 UTC +++ ui/views/test/ui_controls_factory_desktop_aura_ozone.cc -@@ -237,7 +237,7 @@ bool SendMouseClick(MouseButton type, gfx::NativeWindo +@@ -241,7 +241,7 @@ bool SendMouseClick(MouseButton type, gfx::NativeWindo window_hint); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // static void ForceUseScreenCoordinatesOnce() { g_ozone_ui_controls_test_helper->ForceUseScreenCoordinatesOnce(); diff --git a/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc b/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc index 41660d283860..b1e556aea568 100644 --- a/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc +++ b/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc @@ -1,29 +1,29 @@ ---- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2026-06-17 07:32:12 UTC +--- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2026-07-01 06:24:19 UTC +++ ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc -@@ -51,7 +51,7 @@ +@@ -53,7 +53,7 @@ #include "ui/wm/core/window_util.h" #include "ui/wm/public/window_move_client.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.h" #endif -@@ -357,7 +357,7 @@ std::unique_ptr +@@ -371,7 +371,7 @@ std::unique_ptr DesktopWindowTreeHostPlatform::CreateDragDropClient() { ui::WmDragHandler* drag_handler = ui::GetWmDragHandler(*(platform_window())); std::unique_ptr drag_drop_client = -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::make_unique(window(), drag_handler); #else std::make_unique(window(), drag_handler); -@@ -1290,7 +1290,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg +@@ -1307,7 +1307,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg // DesktopWindowTreeHost: // Linux subclasses this host and adds some Linux specific bits. -#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD) // static DesktopWindowTreeHost* DesktopWindowTreeHost::Create( internal::NativeWidgetDelegate* native_widget_delegate, diff --git a/www/chromium/files/patch-ui_views_widget_widget.cc b/www/chromium/files/patch-ui_views_widget_widget.cc index 07d62bba3be6..ec28e6174f62 100644 --- a/www/chromium/files/patch-ui_views_widget_widget.cc +++ b/www/chromium/files/patch-ui_views_widget_widget.cc @@ -1,20 +1,20 @@ ---- ui/views/widget/widget.cc.orig 2026-06-04 10:12:25 UTC +--- ui/views/widget/widget.cc.orig 2026-07-01 06:24:19 UTC +++ ui/views/widget/widget.cc -@@ -66,7 +66,7 @@ - #include "ui/views/widget/widget_removals_observer.h" +@@ -67,7 +67,7 @@ #include "ui/views/window/dialog_delegate.h" + #include "ui/wm/core/window_properties.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/linux/linux_ui.h" #endif -@@ -2620,7 +2620,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const +@@ -2640,7 +2640,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const return parent_->GetNativeTheme(); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (auto* linux_ui_theme = ui::LinuxUiTheme::GetForWindow(GetNativeWindow())) { return linux_ui_theme->GetNativeTheme(); diff --git a/www/chromium/files/patch-ui_views_widget_widget.h b/www/chromium/files/patch-ui_views_widget_widget.h index 65b38bc8998d..d7bc66826346 100644 --- a/www/chromium/files/patch-ui_views_widget_widget.h +++ b/www/chromium/files/patch-ui_views_widget_widget.h @@ -1,11 +1,11 @@ ---- ui/views/widget/widget.h.orig 2026-05-07 17:02:56 UTC +--- ui/views/widget/widget.h.orig 2026-07-01 06:24:19 UTC +++ ui/views/widget/widget.h -@@ -486,7 +486,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWid +@@ -489,7 +489,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWid bool dont_show_in_taskbar = false; #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Only used by X11, for root level windows. Specifies the res_name and // res_class fields, respectively, of the WM_CLASS window property. Controls // window grouping and desktop file matching in Linux window managers. diff --git a/www/chromium/files/patch-ui_webui_webui__features.gni b/www/chromium/files/patch-ui_webui_webui__features.gni new file mode 100644 index 000000000000..b992996ab42b --- /dev/null +++ b/www/chromium/files/patch-ui_webui_webui__features.gni @@ -0,0 +1,12 @@ +--- ui/webui/webui_features.gni.orig 2026-07-01 06:24:19 UTC ++++ ui/webui/webui_features.gni +@@ -44,7 +44,8 @@ if (enable_cast_receiver || is_cast_android || is_cast + # Enable the WebUI version of the New Tab Page. + enable_webui_ntp = + target_os == "win" || target_os == "mac" || target_os == "linux" || +- target_os == "chromeos" || is_desktop_android ++ target_os == "chromeos" || is_desktop_android || target_os == "openbsd" || ++ target_os == "freebsd" + } + declare_args() { + # Enable WebUI Contextual Tasks Composebox. diff --git a/www/chromium/files/patch-v8_BUILD.gn b/www/chromium/files/patch-v8_BUILD.gn index 1f74917cb176..b6602eb66e8d 100644 --- a/www/chromium/files/patch-v8_BUILD.gn +++ b/www/chromium/files/patch-v8_BUILD.gn @@ -1,84 +1,84 @@ ---- v8/BUILD.gn.orig 2026-06-04 10:12:25 UTC +--- v8/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ v8/BUILD.gn -@@ -1045,6 +1045,8 @@ external_v8_defines = [ +@@ -1047,6 +1047,8 @@ external_v8_defines = [ "V8_TARGET_OS_MACOS", "V8_TARGET_OS_WIN", "V8_TARGET_OS_CHROMEOS", + "V8_TARGET_OS_OPENBSD", + "V8_TARGET_OS_FREEBSD", "V8_TARGET_ARCH_ARM64", "V8_TARGET_ARCH_PPC64", "V8_TARGET_ARCH_MIPS64", -@@ -1129,6 +1131,12 @@ if (target_os == "android") { +@@ -1131,6 +1133,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" ] +} else if (target_os == "openbsd") { + enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ] + enabled_external_v8_defines += [ "V8_TARGET_OS_OPENBSD" ] +} else if (target_os == "freebsd") { + enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ] + enabled_external_v8_defines += [ "V8_TARGET_OS_FREEBSD" ] } # Some V8_TARGET_ARCH_ defines that affect Api constants (see usages of -@@ -1796,7 +1804,7 @@ config("toolchain") { - - if (is_clang) { - cflags += [ "-Wunreachable-code" ] -- if (v8_current_cpu != "ppc64" && v8_current_cpu != "s390x") { -+ if (v8_current_cpu != "ppc64" && v8_current_cpu != "s390x" && !is_bsd) { +@@ -1806,7 +1814,7 @@ config("toolchain") { + # don't block compiler updates in Chromium. We'll resolve these when + # rolling the compiler update into V8 instead. + if (!build_with_chromium && v8_current_cpu != "ppc64" && +- v8_current_cpu != "s390x") { ++ v8_current_cpu != "s390x" && !is_bsd) { cflags += [ "-Wlifetime-safety-permissive" ] } -@@ -1899,9 +1907,6 @@ config("strict_warnings") { +@@ -1909,9 +1917,6 @@ config("strict_warnings") { cflags += [ "-Wshorten-64-to-32" ] } cflags += [ "-Wmissing-field-initializers" ] - if (v8_current_cpu != "ppc64" && v8_current_cpu != "s390x") { - cflags += [ "-Wunnecessary-virtual-specifier" ] - } } } -@@ -2822,6 +2827,12 @@ template("run_mksnapshot") { +@@ -2837,6 +2842,12 @@ template("run_mksnapshot") { if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) { args += [ "--reorder-builtins" ] } + + if (v8_current_cpu == "x86") { + args -= [ + "--abort-on-bad-builtin-profile-data", + ] + } } # This is needed to distinguish between generating code for the simulator -@@ -7263,7 +7274,7 @@ v8_component("v8_libbase") { +@@ -7286,7 +7297,7 @@ v8_component("v8_libbase") { } } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { sources += [ "src/base/debug/stack_trace_posix.cc", "src/base/platform/platform-linux.cc", -@@ -7274,6 +7285,18 @@ v8_component("v8_libbase") { +@@ -7297,6 +7308,18 @@ v8_component("v8_libbase") { "dl", "rt", ] + } else if (is_openbsd) { + sources += [ + "src/base/debug/stack_trace_posix.cc", + "src/base/platform/platform-openbsd.cc", + ] + libs = [ "execinfo" ] + } else if (is_freebsd) { + sources += [ + "src/base/debug/stack_trace_posix.cc", + "src/base/platform/platform-freebsd.cc", + ] + libs = [ "execinfo" ] } else if (current_os == "aix") { sources += [ "src/base/debug/stack_trace_posix.cc", diff --git a/www/chromium/files/patch-v8_gni_v8.gni b/www/chromium/files/patch-v8_gni_v8.gni new file mode 100644 index 000000000000..40b2230b8b84 --- /dev/null +++ b/www/chromium/files/patch-v8_gni_v8.gni @@ -0,0 +1,11 @@ +--- v8/gni/v8.gni.orig 2026-07-01 06:24:19 UTC ++++ v8/gni/v8.gni +@@ -351,7 +351,7 @@ is_drumbrake_supported = + (v8_current_cpu == "x64" || v8_current_cpu == "arm64" || + v8_current_cpu == "riscv64") && + (target_os == "win" || target_os == "linux" || target_os == "mac" || +- target_os == "ios") ++ target_os == "ios" || target_os == "openbds" || target_os == "freebsd") + + # Turbofan is enabled by default, except in lite mode. + if (v8_enable_turbofan == "") { diff --git a/www/chromium/files/patch-v8_src_api_api.cc b/www/chromium/files/patch-v8_src_api_api.cc index 8b44b6b5b277..30e17f5d9713 100644 --- a/www/chromium/files/patch-v8_src_api_api.cc +++ b/www/chromium/files/patch-v8_src_api_api.cc @@ -1,20 +1,20 @@ ---- v8/src/api/api.cc.orig 2026-06-04 10:12:25 UTC +--- v8/src/api/api.cc.orig 2026-07-01 06:24:19 UTC +++ v8/src/api/api.cc @@ -167,7 +167,7 @@ #include "src/strings/string-hasher-inl.h" -#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD +#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD || V8_OS_OPENBSD #include #include -@@ -6384,7 +6384,7 @@ bool v8::V8::Initialize(const int build_config) { +@@ -6383,7 +6383,7 @@ bool v8::V8::Initialize(const int build_config) { return true; } -#if V8_OS_LINUX || V8_OS_DARWIN +#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD || V8_OS_OPENBSD bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info, void* context) { #if V8_ENABLE_WEBASSEMBLY && V8_TRAP_HANDLER_SUPPORTED diff --git a/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc b/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc index 28f23f39ec2a..4b9faa063a4a 100644 --- a/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc +++ b/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc @@ -1,53 +1,53 @@ ---- v8/src/base/platform/platform-posix.cc.orig 2026-03-13 06:02:14 UTC +--- v8/src/base/platform/platform-posix.cc.orig 2026-07-01 06:24:19 UTC +++ v8/src/base/platform/platform-posix.cc @@ -78,7 +78,7 @@ #include #endif -#if V8_OS_FREEBSD || V8_OS_DARWIN || V8_OS_OPENBSD || V8_OS_SOLARIS +#if V8_OS_FREEBSD || V8_OS_DARWIN || V8_OS_BSD || V8_OS_SOLARIS #define MAP_ANONYMOUS MAP_ANON #endif @@ -359,8 +359,15 @@ void OS::SetRandomMmapSeed(int64_t seed) { } } +#if V8_OS_OPENBSD +// Allow OpenBSD's mmap to select a random address on OpenBSD // static void* OS::GetRandomMmapAddr() { + return nullptr; +} +#else +// static +void* OS::GetRandomMmapAddr() { uintptr_t raw_addr; { MutexGuard guard(rng_mutex.Pointer()); @@ -457,6 +464,7 @@ void* OS::GetRandomMmapAddr() { #endif return reinterpret_cast(raw_addr); } +#endif // TODO(bbudge) Move Cygwin and Fuchsia stuff into platform-specific files. #if !V8_OS_CYGWIN && !V8_OS_FUCHSIA @@ -772,7 +780,7 @@ void OS::DestroySharedMemoryHandle(SharedMemoryHandle #if !V8_OS_ZOS // static bool OS::HasLazyCommits() { -#if V8_OS_AIX || V8_OS_LINUX || V8_OS_DARWIN +#if V8_OS_AIX || V8_OS_LINUX || V8_OS_DARWIN || V8_OS_BSD return true; #else // TODO(bbudge) Return true for all POSIX platforms. -@@ -1422,7 +1430,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void* +@@ -1423,7 +1431,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void* // keep this version in POSIX as most Linux-compatible derivatives will // support it. MacOS and FreeBSD are different here. #if !defined(V8_OS_FREEBSD) && !defined(V8_OS_DARWIN) && !defined(_AIX) && \ - !defined(V8_OS_SOLARIS) + !defined(V8_OS_SOLARIS) && !defined(V8_OS_OPENBSD) namespace { #if DEBUG diff --git a/www/chromium/files/patch-v8_src_execution_isolate.cc b/www/chromium/files/patch-v8_src_execution_isolate.cc index 2d22a23a8126..f77a8afd6186 100644 --- a/www/chromium/files/patch-v8_src_execution_isolate.cc +++ b/www/chromium/files/patch-v8_src_execution_isolate.cc @@ -1,27 +1,27 @@ ---- v8/src/execution/isolate.cc.orig 2026-06-10 07:57:19 UTC +--- v8/src/execution/isolate.cc.orig 2026-07-01 06:24:19 UTC +++ v8/src/execution/isolate.cc @@ -184,6 +184,10 @@ #include "src/execution/simulator-base.h" #endif +#if defined(V8_OS_OPENBSD) +#include +#endif + 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_[]; -@@ -5664,6 +5668,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { +@@ -5714,6 +5718,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { uint32_t code_size = DefaultEmbeddedBlobCodeSize(); const uint8_t* data = DefaultEmbeddedBlobData(); uint32_t data_size = DefaultEmbeddedBlobDataSize(); + +#if defined(V8_OS_OPENBSD) && !defined(V8_TARGET_ARCH_IA32) + if (code_size > 0) { + mprotect(reinterpret_cast(const_cast(code)), + code_size, PROT_READ | PROT_EXEC); + } +#endif if (StickyEmbeddedBlobCode() != nullptr) { base::MutexGuard guard(current_embedded_blob_refcount_mutex_.Pointer()); diff --git a/www/chromium/files/patch-v8_src_flags_flags.cc b/www/chromium/files/patch-v8_src_flags_flags.cc index 4e9e7d9a0f0d..ecfba39fbc1c 100644 --- a/www/chromium/files/patch-v8_src_flags_flags.cc +++ b/www/chromium/files/patch-v8_src_flags_flags.cc @@ -1,24 +1,24 @@ ---- v8/src/flags/flags.cc.orig 2026-06-04 10:12:25 UTC +--- v8/src/flags/flags.cc.orig 2026-07-01 06:24:19 UTC +++ v8/src/flags/flags.cc @@ -17,6 +17,10 @@ #include #include +#if V8_OS_OPENBSD +#include +#endif + #include "src/base/fpu.h" #include "src/base/hashing.h" #include "src/base/lazy-instance.h" -@@ -885,6 +889,10 @@ void FlagList::FreezeFlags() { +@@ -887,6 +891,10 @@ void FlagList::FreezeFlags() { // Note that for string flags we only protect the pointer itself, but not the // string storage. TODO(12887): Fix this. base::OS::SetDataReadOnly(&v8_flags, sizeof(v8_flags)); +#if V8_OS_OPENBSD + if (mimmutable(&v8_flags, sizeof(v8_flags)) == -1) + FATAL("unable to set immutability of v8_flags"); +#endif } // static diff --git a/www/chromium/files/patch-v8_src_objects_simd.cc b/www/chromium/files/patch-v8_src_objects_simd.cc new file mode 100644 index 000000000000..9b72f85ec7c4 --- /dev/null +++ b/www/chromium/files/patch-v8_src_objects_simd.cc @@ -0,0 +1,23 @@ +--- v8/src/objects/simd.cc.orig 2026-07-02 06:01:51 UTC ++++ v8/src/objects/simd.cc +@@ -347,7 +347,7 @@ uintptr_t fast_search_avx(T* array, uintptr_t array_le + } + #endif // ifdef __SSE3__ + +-#ifdef NEON64 ++#if defined(NEON64) && !defined(V8_TARGET_OS_OPENBSD) + + template + struct SVEOperations { +@@ -637,9 +637,11 @@ template + inline uintptr_t search(T* array, uintptr_t array_len, uintptr_t index, + T search_element) { + #ifdef NEON64 ++#ifndef V8_TARGET_OS_OPENBSD + if (get_vectorization_kind() == SimdKinds::kSVE) { + return fast_search_sve(array, array_len, index, search_element); + } ++#endif + #else + if (get_vectorization_kind() == SimdKinds::kAVX2) { + return fast_search_avx(array, array_len, index, search_element); diff --git a/www/chromium/files/patch-v8_src_sandbox_sandbox.cc b/www/chromium/files/patch-v8_src_sandbox_sandbox.cc index 2e1ab2bad82a..c43619ca7058 100644 --- a/www/chromium/files/patch-v8_src_sandbox_sandbox.cc +++ b/www/chromium/files/patch-v8_src_sandbox_sandbox.cc @@ -1,11 +1,11 @@ ---- v8/src/sandbox/sandbox.cc.orig 2026-06-04 10:12:25 UTC +--- v8/src/sandbox/sandbox.cc.orig 2026-07-01 06:24:19 UTC +++ v8/src/sandbox/sandbox.cc -@@ -80,7 +80,7 @@ static Address DetermineAddressSpaceLimit() { +@@ -82,7 +82,7 @@ static Address DetermineAddressSpaceLimit() { } #endif // V8_TARGET_ARCH_X64 -#if defined(V8_TARGET_ARCH_ARM64) && defined(V8_TARGET_OS_ANDROID) +#if defined(V8_TARGET_ARCH_ARM64) && (defined(V8_TARGET_OS_ANDROID) || defined(V8_TARGET_OS_OPENBSD)) // On Arm64 Android assume a 40-bit virtual address space (39 bits for // userspace and kernel each) as that appears to be the most common // configuration and there seems to be no easy way to retrieve the actual