Compare commits

...

9 Commits

Author SHA1 Message Date
wukko 13d630288f revision: bump to 4 2025-07-05 16:25:00 +06:00
wukko d2021bb3ef helium/settings/about-page: remove learn more links 2025-07-04 23:00:01 +06:00
wukko a5b8806ff9 revision: bump to 3 2025-07-04 19:11:16 +06:00
wukko 62467f9b12 patches: refresh for 138.0.7204.96 2025-07-04 18:59:16 +06:00
wukko e8355e7d7c merge: update to ungoogled-chromium 138.0.7204.96 2025-07-04 18:29:15 +06:00
networkException d35f39cd85 Update to Chromium 138.0.7204.96 2025-06-30 23:33:03 +02:00
implicitfield e5f27a9138 Add a flag to increase the storage quota for Incognito/Guest profiles 2025-06-27 13:10:44 -05:00
implicitfield f7e6d2273d Remove the F1 shortcut 2025-06-27 13:10:44 -05:00
Qian Qian "Qubik"‎ 15ee44b5a9 docs: Update Homebrew Cask Name
Signed-off-by: Qian Qian "Qubik"‎ <qubik65536@qubik65536.top>
2025-06-27 10:09:11 -04:00
7 changed files with 107 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
138.0.7204.49
138.0.7204.96
@@ -0,0 +1,10 @@
--- a/chrome/browser/ui/views/accelerator_table.cc
+++ b/chrome/browser/ui/views/accelerator_table.cc
@@ -132,7 +132,6 @@ const AcceleratorMapping kAcceleratorMap
{ui::VKEY_OEM_PLUS, ui::EF_PLATFORM_ACCELERATOR, IDC_ZOOM_PLUS},
{ui::VKEY_ADD, ui::EF_PLATFORM_ACCELERATOR, IDC_ZOOM_PLUS},
- {ui::VKEY_F1, ui::EF_NONE, IDC_HELP_PAGE_VIA_KEYBOARD},
{ui::VKEY_F3, ui::EF_NONE, IDC_FIND_NEXT},
{ui::VKEY_F3, ui::EF_SHIFT_DOWN, IDC_FIND_PREVIOUS},
{ui::VKEY_F4, ui::EF_CONTROL_DOWN, IDC_CLOSE_TAB},
@@ -0,0 +1,65 @@
--- a/chrome/browser/ungoogled_flag_entries.h
+++ b/chrome/browser/ungoogled_flag_entries.h
@@ -144,4 +144,8 @@
"Spoof WebGL Info",
"Return generic values for WebGLDebugRendererInfo to remove a potential data leak while preventing potential website breakage. ungoogled-chromium flag.",
kOsAll, FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kSpoofWebGLInfo, kSpoofWebGLChoices, "SpoofWebGLInfo")},
+ {"increase-incognito-storage-quota",
+ "Increases the storage quota for Incognito and Guest profiles",
+ "Makes Incognito and Guest profiles compute the storage quota with the same algorithm that regular profiles use. This makes it harder for websites to detect Incognito mode, but may allow sites to induce heavy memory pressure. ungoogled-chromium flag.",
+ kOsAll, FEATURE_VALUE_TYPE(storage::features::kIncreaseIncognitoStorageQuota)},
#endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_
--- a/storage/browser/quota/quota_features.cc
+++ b/storage/browser/quota/quota_features.cc
@@ -41,5 +41,9 @@ BASE_FEATURE(kStaticStorageQuota,
"StaticStorageQuota",
base::FEATURE_DISABLED_BY_DEFAULT);
+BASE_FEATURE(kIncreaseIncognitoStorageQuota,
+ "IncreaseIncognitoStorageQuota",
+ base::FEATURE_DISABLED_BY_DEFAULT);
+
} // namespace features
} // namespace storage
--- a/storage/browser/quota/quota_features.h
+++ b/storage/browser/quota/quota_features.h
@@ -23,6 +23,8 @@ extern const base::FeatureParam<double>
COMPONENT_EXPORT(STORAGE_BROWSER) BASE_DECLARE_FEATURE(kStaticStorageQuota);
+COMPONENT_EXPORT(STORAGE_BROWSER) BASE_DECLARE_FEATURE(kIncreaseIncognitoStorageQuota);
+
} // namespace features
} // namespace storage
--- a/storage/browser/quota/quota_settings.cc
+++ b/storage/browser/quota/quota_settings.cc
@@ -9,6 +9,7 @@
#include <memory>
#include <utility>
+#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/no_destructor.h"
#include "base/numerics/safe_conversions.h"
@@ -55,7 +56,8 @@ std::optional<QuotaSettings> CalculateNo
base::ScopedBlockingCall scoped_blocking_call(FROM_HERE,
base::BlockingType::MAY_BLOCK);
- if (is_incognito) {
+ if (is_incognito &&
+ !base::FeatureList::IsEnabled(features::kIncreaseIncognitoStorageQuota)) {
return CalculateIncognitoDynamicSettings(
device_info_helper->AmountOfPhysicalMemory());
}
@@ -116,7 +118,9 @@ std::optional<QuotaSettings> CalculateNo
QuotaSettings settings;
- int64_t total = device_info_helper->AmountOfTotalDiskSpace(partition_path);
+ int64_t total =
+ is_incognito ? device_info_helper->AmountOfPhysicalMemory()
+ : device_info_helper->AmountOfTotalDiskSpace(partition_path);
if (total == -1) {
LOG(ERROR) << "Unable to compute QuotaSettings.";
return std::nullopt;
@@ -33,7 +33,7 @@
ui::VKEY_N},
--- a/chrome/browser/ui/views/accelerator_table.cc
+++ b/chrome/browser/ui/views/accelerator_table.cc
@@ -268,7 +268,7 @@ const AcceleratorMapping kDevToolsAccele
@@ -267,7 +267,7 @@ const AcceleratorMapping kDevToolsAccele
{ui::VKEY_J, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN,
IDC_DEV_TOOLS_CONSOLE},
{ui::VKEY_C, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN,
@@ -21,7 +21,33 @@
srcset="chrome://theme/current-channel-logo@1x 1x,
chrome://theme/current-channel-logo@2x 2x"
alt="$i18n{aboutProductLogoAlt}"
@@ -145,7 +142,6 @@
@@ -78,12 +75,6 @@
inner-h-t-m-l="[[getUpdateStatusMessage_(
currentUpdateStatusEvent_)]]">
</div>
- <a hidden$="[[!shouldShowLearnMoreLink_(
- currentUpdateStatusEvent_)]]" target="_blank"
- href="https://support.google.com/chrome?p=update_error"
- aria-label="$i18nPolymer{aboutLearnMoreUpdatingErrors}">
- $i18n{learnMore}
- </a>
</div>
<span id="deprecationWarning"
hidden="[[!obsoleteSystemInfo_.obsolete]]">
@@ -114,12 +105,6 @@
on-click="onPromoteUpdaterClick_">
<div class="flex">
[[promoteUpdaterStatus_.text]]
- <a href="https://support.google.com/chrome/answer/95414"
- target="_blank" id="updaterLearnMore"
- on-click="onLearnMoreClick_"
- aria-label="$i18nPolymer{aboutLearnMoreUpdating}">
- $i18n{learnMore}
- </a>
</div>
<cr-icon-button class="subpage-arrow"
hidden$="[[!promoteUpdaterStatus_.actionable]]"
@@ -145,7 +130,6 @@
<settings-section>
<div class="info-sections">
<div class="info-section">
+2
View File
@@ -31,6 +31,7 @@ core/ungoogled-chromium/block-requests.patch
core/ungoogled-chromium/disable-privacy-sandbox.patch
core/ungoogled-chromium/doh-changes.patch
core/ungoogled-chromium/extensions-manifestv2.patch
core/ungoogled-chromium/remove-f1-shortcut.patch
core/bromite/disable-fetching-field-trials.patch
extra/ungoogled-chromium/add-ungoogled-flag-headers.patch
@@ -103,6 +104,7 @@ extra/ungoogled-chromium/disable-chromelabs.patch
extra/ungoogled-chromium/remove-pac-size-limit.patch
extra/ungoogled-chromium/enable-certificate-transparency-and-add-flag.patch
extra/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch
extra/ungoogled-chromium/add-flag-to-increase-incognito-storage-quota.patch
extra/brave/chrome-importer-files.patch
extra/brave/custom-importer.patch
+1 -1
View File
@@ -1 +1 @@
2
4