mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c27928ab4a | |||
| 3fa437ef53 | |||
| 13d630288f | |||
| d2021bb3ef | |||
| a5b8806ff9 | |||
| 62467f9b12 | |||
| e8355e7d7c | |||
| d35f39cd85 | |||
| e5f27a9138 | |||
| f7e6d2273d | |||
| 15ee44b5a9 |
@@ -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;
|
||||
@@ -73,7 +73,7 @@ TODO: guard services_page.html with is_mac
|
||||
+
|
||||
+#if BUILDFLAG(IS_MAC)
|
||||
+ std::string path = base::StringPrintf(
|
||||
+ "/updates/mac-%s/appcast.xml", cpu_arch);
|
||||
+ "/updates/mac/appcast-%s.xml", cpu_arch);
|
||||
+ return GetServicesBaseURL(prefs).Resolve(path);
|
||||
+#else
|
||||
+ return GetDummyURL();
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
@@ -1 +1 @@
|
||||
2
|
||||
5
|
||||
|
||||
Reference in New Issue
Block a user