Skip to content

Commit

Permalink
Update to ungoogled-chromium 122.0.6261.69
Browse files Browse the repository at this point in the history
Signed-off-by: Qian Qian "Cubik"‎ <cubik65536@cubik65536.top>
  • Loading branch information
Cubik65536 committed Feb 25, 2024
1 parent 2da69e1 commit 908a7e5
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 47 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1577,7 +1577,7 @@ config("compiler_deterministic") {
@@ -1576,7 +1576,7 @@ config("compiler_deterministic") {
}

config("clang_revision") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -616,24 +616,6 @@ config("compiler") {
@@ -618,24 +618,6 @@ config("compiler") {
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/components/qr_code_generator/BUILD.gn
+++ b/components/qr_code_generator/BUILD.gn
@@ -39,21 +39,11 @@ source_set("qr_code_generator") {
@@ -40,21 +40,11 @@ source_set("qr_code_generator") {
]
deps = [
":qr_code_generator_features",
Expand Down Expand Up @@ -69,14 +69,14 @@
} // namespace

QRCodeGenerator::QRCodeGenerator() = default;
@@ -617,10 +590,6 @@ absl::optional<QRCodeGenerator::Generate
return absl::nullopt;
}

@@ -613,10 +586,6 @@ QRCodeGenerator::GeneratedCode::~Generat
absl::optional<QRCodeGenerator::GeneratedCode> QRCodeGenerator::Generate(
base::span<const uint8_t> in,
absl::optional<int> min_version) {
- if (IsRustyQrCodeGeneratorFeatureEnabled()) {
- return GenerateQrCodeUsingRust(in, min_version);
- }
-
std::vector<Segment> segments;
const QRVersionInfo* version_info = nullptr;

if (in.size() > kMaxInputSize) {
return absl::nullopt;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -1289,7 +1289,7 @@ if (is_win) {
@@ -1262,7 +1262,7 @@ if (is_win) {

# TOOD(crbug/1163903#c8) - thakis@ look into why profile and coverage
# instrumentation adds these symbols in different orders
Expand Down
59 changes: 25 additions & 34 deletions patches/ungoogled-chromium/macos/fix-disabling-safebrowsing.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -1967,10 +1967,6 @@ static_library("browser") {
@@ -1951,10 +1951,6 @@ static_library("browser") {
"//chrome/browser/ui",
"//chrome/browser/storage_access_api",
"//chrome/browser/top_level_storage_access_api:permissions",
Expand All @@ -13,7 +13,7 @@

# TODO(crbug.com/1030821): Eliminate usages of browser.h from Media Router.
"//chrome/browser/media/router",
@@ -2086,7 +2082,6 @@ static_library("browser") {
@@ -2076,7 +2072,6 @@ static_library("browser") {
"//chrome/browser/resource_coordinator:mojo_bindings",
"//chrome/browser/resource_coordinator:tab_manager_features",
"//chrome/browser/resources/accessibility:resources",
Expand Down Expand Up @@ -65,23 +65,23 @@
"//components/services/patch/content",
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -392,7 +392,6 @@ static_library("ui") {
@@ -405,7 +405,6 @@ static_library("ui") {
"//components/cross_device/logging",
"//components/dom_distiller/core",
"//components/paint_preview/buildflags",
- "//components/safe_browsing:buildflags",
"//components/sync",
"//components/sync_user_events",
"//components/translate/content/browser",
@@ -437,7 +436,6 @@ static_library("ui") {
@@ -452,7 +451,6 @@ static_library("ui") {
"//chrome/browser/profiling_host",
"//chrome/browser/resources:dev_ui_resources",
"//chrome/browser/resources:resources",
- "//chrome/browser/safe_browsing",
"//chrome/browser/share",
"//chrome/browser/storage_access_api",
"//chrome/browser/ui/side_panel:side_panel_enums",
@@ -580,17 +578,8 @@ static_library("ui") {
@@ -596,17 +594,8 @@ static_library("ui") {
"//components/reading_list/features:flags",
"//components/renderer_context_menu",
"//components/resources",
Expand All @@ -99,24 +99,15 @@
"//components/schema_org/common:improved_mojom",
"//components/search",
"//components/search_engines",
@@ -703,7 +692,6 @@ static_library("ui") {
@@ -720,7 +709,6 @@ static_library("ui") {
# TODO(crbug.com/1158905): Remove this circular dependency.
"//chrome/browser/devtools",
"//chrome/browser/favicon",
- "//chrome/browser/safe_browsing",
"//chrome/browser/profiling_host",
]

@@ -2011,8 +1999,6 @@ static_library("ui") {
"//chrome/browser/new_tab_page/modules/v2/history_clusters:mojo_bindings",
"//chrome/browser/new_tab_page/modules/v2/tab_resumption:mojo_bindings",
"//chrome/browser/profile_resetter:profile_reset_report_proto",
- "//chrome/browser/safe_browsing",
- "//chrome/browser/safe_browsing:advanced_protection",
"//chrome/browser/support_tool:support_tool_proto",
"//chrome/browser/ui/color:color_headers",
"//chrome/browser/ui/color:mixers",
@@ -6664,26 +6650,6 @@ static_library("ui") {
"//chrome/browser/permissions",
@@ -6774,26 +6762,6 @@ static_library("ui") {
}
}

Expand Down Expand Up @@ -160,7 +151,7 @@
learn_more_url = GURL(chrome::kAdvancedProtectionDownloadLearnMoreURL);
--- a/chrome/browser/download/notification/download_item_notification.cc
+++ b/chrome/browser/download/notification/download_item_notification.cc
@@ -996,9 +996,13 @@ std::u16string DownloadItemNotification:
@@ -994,9 +994,13 @@ std::u16string DownloadItemNotification:
}
case download::DOWNLOAD_DANGER_TYPE_UNCOMMON_CONTENT: {
bool requests_ap_verdicts =
Expand Down Expand Up @@ -201,7 +192,7 @@
static constexpr webui::LocalizedString kStrings[] = {
--- a/chrome/browser/ui/views/download/download_danger_prompt_views.cc
+++ b/chrome/browser/ui/views/download/download_danger_prompt_views.cc
@@ -199,17 +199,18 @@ std::u16string DownloadDangerPromptViews
@@ -202,17 +202,18 @@ std::u16string DownloadDangerPromptViews
download_->GetFileNameToReportUser().LossyDisplayName());
}
case download::DOWNLOAD_DANGER_TYPE_UNCOMMON_CONTENT: {
Expand All @@ -224,7 +215,7 @@
return l10n_util::GetStringFUTF16(
--- a/chrome/browser/ui/views/download/download_item_view.cc
+++ b/chrome/browser/ui/views/download/download_item_view.cc
@@ -1022,11 +1022,13 @@ ui::ImageModel DownloadItemView::GetIcon
@@ -1018,11 +1018,13 @@ ui::ImageModel DownloadItemView::GetIcon

switch (danger_type) {
case download::DOWNLOAD_DANGER_TYPE_UNCOMMON_CONTENT:
Expand All @@ -240,23 +231,23 @@
case download::DOWNLOAD_DANGER_TYPE_DANGEROUS_HOST:
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -7285,13 +7285,9 @@ test("unit_tests") {
"//chrome/browser/renderer_host:history_swiper",
"//chrome/browser/updater:browser_updater_client",
"//chrome/common/notifications",
- "//chrome/common/safe_browsing:archive_analyzer_results",
- "//chrome/common/safe_browsing:disk_image_type_sniffer_mac",
"//chrome/services/mac_notifications:unit_tests",
"//chrome/services/mac_notifications/public/mojom",
"//chrome/updater:browser_sources",
- "//chrome/utility/safe_browsing",
- "//chrome/utility/safe_browsing/mac:dmg_common",
"//components/power_metrics",
@@ -7310,13 +7310,9 @@ if (!is_fuchsia) {
"//chrome/browser/renderer_host:history_swiper",
"//chrome/browser/updater:browser_updater_client",
"//chrome/common/notifications",
- "//chrome/common/safe_browsing:archive_analyzer_results",
- "//chrome/common/safe_browsing:disk_image_type_sniffer_mac",
"//chrome/services/mac_notifications:unit_tests",
"//chrome/services/mac_notifications/public/mojom",
"//chrome/updater:browser_sources",
- "//chrome/utility/safe_browsing",
- "//chrome/utility/safe_browsing/mac:dmg_common",
"//components/power_metrics",

# The test fetches resources which means Mac need the app bundle to exist
# The test fetches resources which means Mac need the app bundle to exist
--- a/chrome/services/file_util/BUILD.gn
+++ b/chrome/services/file_util/BUILD.gn
@@ -42,10 +42,6 @@ source_set("file_util") {
@@ -44,10 +44,6 @@ source_set("file_util") {
deps += [ "//components/services/filesystem/public/mojom" ]
}

Expand Down
2 changes: 1 addition & 1 deletion patches/ungoogled-chromium/macos/no-unknown-warnings.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/build/config/mac/BUILD.gn
+++ b/build/config/mac/BUILD.gn
@@ -52,6 +52,8 @@ config("compiler") {
@@ -45,6 +45,8 @@ config("compiler") {
if (export_libcxxabi_from_executables) {
ldflags += [ "-Wl,-undefined,dynamic_lookup" ]
}
Expand Down
2 changes: 1 addition & 1 deletion ungoogled-chromium
Submodule ungoogled-chromium updated 68 files
+1 −1 chromium_version.txt
+231 −158 domain_substitution.list
+5 −5 patches/core/bromite/disable-fetching-field-trials.patch
+69 −125 patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch
+8 −9 patches/core/inox-patchset/0003-disable-autofill-download-manager.patch
+3 −3 patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch
+2 −2 patches/core/inox-patchset/0015-disable-update-pings.patch
+1 −1 patches/core/inox-patchset/0021-disable-rlz.patch
+4 −4 patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
+1 −1 patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch
+1 −1 patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch
+2 −15 patches/core/ungoogled-chromium/block-requests.patch
+6 −6 patches/core/ungoogled-chromium/block-trk-and-subdomains.patch
+3 −3 patches/core/ungoogled-chromium/disable-crash-reporter.patch
+55 −36 patches/core/ungoogled-chromium/disable-google-host-detection.patch
+2 −2 patches/core/ungoogled-chromium/disable-mei-preload.patch
+1 −1 patches/core/ungoogled-chromium/disable-network-time-tracker.patch
+3 −29 patches/core/ungoogled-chromium/disable-privacy-sandbox.patch
+4 −6 patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch
+8 −8 patches/core/ungoogled-chromium/disable-webstore-urls.patch
+1 −1 patches/core/ungoogled-chromium/doh-changes.patch
+115 −37 patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch
+491 −313 patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch
+423 −454 patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch
+1 −1 patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch
+2 −2 patches/core/ungoogled-chromium/toggle-translation-via-switch.patch
+31 −27 patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch
+9 −9 patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch
+10 −10 patches/extra/bromite/flag-max-connections-per-host.patch
+9 −9 patches/extra/inox-patchset/0006-modify-default-prefs.patch
+1 −1 patches/extra/iridium-browser/Remove-EV-certificates.patch
+1 −1 patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch
+1 −1 patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch
+1 −1 patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch
+1 −1 patches/extra/iridium-browser/updater-disable-auto-update.patch
+10 −10 patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch
+2 −2 patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-grab-handle.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch
+4 −4 patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch
+15 −15 patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch
+2 −2 patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch
+2 −2 patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch
+5 −5 patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch
+1 −1 patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch
+17 −16 patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch
+5 −5 patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch
+30 −30 patches/extra/ungoogled-chromium/add-suggestions-url-field.patch
+1 −1 patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch
+1 −1 patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch
+2 −2 patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch
+1 −1 patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch
+1 −1 patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch
+2 −2 patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch
+5 −5 patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch
+5 −5 patches/extra/ungoogled-chromium/first-run-page.patch
+1 −1 patches/extra/ungoogled-chromium/prepopulated-search-engines.patch
+22 −8 patches/extra/ungoogled-chromium/remove-uneeded-ui.patch
+76 −47 pruning.list

0 comments on commit 908a7e5

Please sign in to comment.