Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git apply result for master branch #769

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build/patches/Add-cromite-flags-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ diff --git a/content/common/features.cc b/content/common/features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -1383,4 +1383,5 @@ bool IsVideoCaptureServiceEnabledForBrowserProcess() {
@@ -1388,4 +1388,5 @@ bool IsVideoCaptureServiceEnabledForBrowserProcess() {
VideoCaptureServiceConfiguration::kEnabledForBrowserProcess;
}

Expand All @@ -1341,7 +1341,7 @@ diff --git a/content/public/common/content_features.cc b/content/public/common/c
diff --git a/content/public/common/content_features.h b/content/public/common/content_features.h
--- a/content/public/common/content_features.h
+++ b/content/public/common/content_features.h
@@ -337,6 +337,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kWebRtcPipeWireCapturer);
@@ -338,6 +338,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kWebRtcPipeWireCapturer);
CONTENT_EXPORT bool IsVideoCaptureServiceEnabledForOutOfProcess();
CONTENT_EXPORT bool IsVideoCaptureServiceEnabledForBrowserProcess();

Expand Down Expand Up @@ -1699,7 +1699,7 @@ diff --git a/services/network/public/cpp/features.h b/services/network/public/cp
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc
--- a/third_party/blink/common/features.cc
+++ b/third_party/blink/common/features.cc
@@ -2304,5 +2304,6 @@ BASE_FEATURE(kTreatHTTPExpiresHeaderValueZeroAsExpiredInBlink,
@@ -2305,5 +2305,6 @@ BASE_FEATURE(kTreatHTTPExpiresHeaderValueZeroAsExpiredInBlink,
"TreatHTTPExpiresHeaderValueZeroAsExpiredInBlink",
base::FEATURE_ENABLED_BY_DEFAULT);

Expand Down
2 changes: 1 addition & 1 deletion build/patches/Add-menu-item-to-view-source.patch
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/appmenu/App

updateAutoDarkMenuItem(menu, currentTab, isChromeScheme);

@@ -1182,6 +1183,23 @@ public class AppMenuPropertiesDelegateImpl implements AppMenuPropertiesDelegate
@@ -1181,6 +1182,23 @@ public class AppMenuPropertiesDelegateImpl implements AppMenuPropertiesDelegate
}
}

Expand Down
4 changes: 2 additions & 2 deletions build/patches/Add-support-to-jxl.patch
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ diff --git a/third_party/blink/renderer/modules/webcodecs/image_decoder_fuzzer.c
diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
--- a/third_party/blink/renderer/platform/BUILD.gn
+++ b/third_party/blink/renderer/platform/BUILD.gn
@@ -2263,6 +2263,10 @@ source_set("blink_platform_unittests_sources") {
@@ -2264,6 +2264,10 @@ source_set("blink_platform_unittests_sources") {
sources += [ "text/locale_icu_test.cc" ]
}

Expand All @@ -618,7 +618,7 @@ diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/re
sources += [ "testing/run_all_tests.cc" ]

configs += [
@@ -2306,6 +2310,7 @@ source_set("blink_platform_unittests_sources") {
@@ -2307,6 +2311,7 @@ source_set("blink_platform_unittests_sources") {
"//third_party/blink/renderer/platform/scheduler:unit_tests",
"//third_party/blink/renderer/platform/wtf",
"//third_party/libavif:libavif",
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Allow-building-without-supervised-users.patch
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ diff --git a/components/supervised_user/core/common/supervised_user_constants.cc
diff --git a/components/supervised_user/core/common/supervised_user_utils.cc b/components/supervised_user/core/common/supervised_user_utils.cc
--- a/components/supervised_user/core/common/supervised_user_utils.cc
+++ b/components/supervised_user/core/common/supervised_user_utils.cc
@@ -75,11 +75,14 @@ GURL NormalizeUrl(const GURL& url) {
@@ -52,11 +52,14 @@ GURL NormalizeUrl(const GURL& url) {
}

bool AreWebFilterPrefsDefault(const PrefService& pref_service) {
Expand All @@ -289,5 +289,5 @@ diff --git a/components/supervised_user/core/common/supervised_user_utils.cc b/c
+#endif
}

bool EmitLogSegmentHistogram(const std::vector<AccountInfo>& primary_accounts) {
absl::optional<LogSegment> SupervisionStatusForUser(
--
8 changes: 4 additions & 4 deletions build/patches/Disable-all-predictors-code.patch
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ diff --git a/chrome/browser/optimization_guide/chrome_hints_manager.cc b/chrome/
diff --git a/chrome/browser/optimization_guide/optimization_guide_keyed_service.cc b/chrome/browser/optimization_guide/optimization_guide_keyed_service.cc
--- a/chrome/browser/optimization_guide/optimization_guide_keyed_service.cc
+++ b/chrome/browser/optimization_guide/optimization_guide_keyed_service.cc
@@ -517,7 +517,6 @@ void OptimizationGuideKeyedService::RemoveObserverForOptimizationTargetModel(
@@ -520,7 +520,6 @@ void OptimizationGuideKeyedService::RemoveObserverForOptimizationTargetModel(
void OptimizationGuideKeyedService::RegisterOptimizationTypes(
const std::vector<optimization_guide::proto::OptimizationType>&
optimization_types) {
Expand Down Expand Up @@ -343,7 +343,7 @@ diff --git a/components/optimization_guide/core/optimization_guide_features.cc b

// Returns whether |locale| is a supported locale for |feature|.
//
@@ -582,8 +570,7 @@ size_t MaxURLKeyedHintCacheSize() {
@@ -587,8 +575,7 @@ size_t MaxURLKeyedHintCacheSize() {
}

bool ShouldPersistHintsToDisk() {
Expand All @@ -353,7 +353,7 @@ diff --git a/components/optimization_guide/core/optimization_guide_features.cc b
}

bool ShouldEnablePersonalizedMetadata(proto::RequestContext request_context) {
@@ -1002,5 +989,19 @@ bool CanLaunchOnDeviceModelService() {
@@ -1007,5 +994,19 @@ bool CanLaunchOnDeviceModelService() {
base::FeatureList::IsEnabled(kLogOnDeviceMetricsOnStartup);
}

Expand Down Expand Up @@ -437,7 +437,7 @@ diff --git a/components/optimization_guide/features.gni b/components/optimizatio
diff --git a/components/search/ntp_features.cc b/components/search/ntp_features.cc
--- a/components/search/ntp_features.cc
+++ b/components/search/ntp_features.cc
@@ -499,4 +499,7 @@ std::vector<std::string> GetModulesOrder() {
@@ -501,4 +501,7 @@ std::vector<std::string> GetModulesOrder() {
base::SplitResult::SPLIT_WANT_NONEMPTY);
}

Expand Down
4 changes: 2 additions & 2 deletions build/patches/Disable-all-promo-dialogs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ diff --git a/components/user_education/common/feature_promo_controller.cc b/comp
diff --git a/components/user_education/common/feature_promo_registry.cc b/components/user_education/common/feature_promo_registry.cc
--- a/components/user_education/common/feature_promo_registry.cc
+++ b/components/user_education/common/feature_promo_registry.cc
@@ -30,6 +30,7 @@ const FeaturePromoSpecification* FeaturePromoRegistry::GetParamsForFeature(
@@ -29,6 +29,7 @@ const FeaturePromoSpecification* FeaturePromoRegistry::GetParamsForFeature(
}

void FeaturePromoRegistry::RegisterFeature(FeaturePromoSpecification spec) {
+ if ((true)) return;
const base::Feature* const iph_feature = spec.feature();
CHECK(iph_feature);
const auto result = feature_promo_data_.emplace(iph_feature, std::move(spec));
CHECK_NE(FeaturePromoSpecification::PromoType::kUnspecified,
diff --git a/cromite_flags/chrome/browser/ui/ui_features_cc/Disable-all-promo-dialogs.inc b/cromite_flags/chrome/browser/ui/ui_features_cc/Disable-all-promo-dialogs.inc
new file mode 100755
--- /dev/null
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Disable-conversion-measurement-api.patch
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
<uses-permission-sdk-23 android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30"/>
<uses-permission-sdk-23 android:name="android.permission.BLUETOOTH_CONNECT"/>
<!--
@@ -1162,9 +1161,6 @@ by a child template that "extends" this file.
@@ -1166,9 +1165,6 @@ by a child template that "extends" this file.
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize" >
</activity>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -446,15 +446,6 @@ by a child template that "extends" this file.
@@ -450,15 +450,6 @@ by a child template that "extends" this file.
</intent-filter>
</receiver>

Expand Down
4 changes: 2 additions & 2 deletions build/patches/Disable-speechSynthesis-getVoices-API.patch
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer
diff --git a/components/content_settings/renderer/content_settings_agent_impl.cc b/components/content_settings/renderer/content_settings_agent_impl.cc
--- a/components/content_settings/renderer/content_settings_agent_impl.cc
+++ b/components/content_settings/renderer/content_settings_agent_impl.cc
@@ -476,6 +476,14 @@ bool ContentSettingsAgentImpl::IsAllowlistedForContentSettings() const {
@@ -475,6 +475,14 @@ bool ContentSettingsAgentImpl::IsAllowlistedForContentSettings() const {
return false;
}

Expand All @@ -58,7 +58,7 @@ diff --git a/components/content_settings/renderer/content_settings_agent_impl.cc
bool ContentSettingsAgentImpl::UpdateOverrides() {
// Evaluate the content setting rules
ContentSetting setting = CONTENT_SETTING_ALLOW;
@@ -486,7 +494,6 @@ bool ContentSettingsAgentImpl::UpdateOverrides() {
@@ -485,7 +493,6 @@ bool ContentSettingsAgentImpl::UpdateOverrides() {
}
return UpdateTimeZoneOverride(
setting, content_setting_rules_->timezone_override_value);
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Eyeo-Adblock-Remove-Privacy-Issues.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ new file mode 100644
diff --git a/chrome/browser/resources/settings/basic_page/basic_page.html b/chrome/browser/resources/settings/basic_page/basic_page.html
--- a/chrome/browser/resources/settings/basic_page/basic_page.html
+++ b/chrome/browser/resources/settings/basic_page/basic_page.html
@@ -31,6 +31,13 @@
@@ -32,6 +32,13 @@
<settings-ai-page prefs="{{prefs}}"></settings-ai-page>
</settings-section>
</template>
Expand Down Expand Up @@ -1231,7 +1231,7 @@ diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
import("//components/captive_portal/core/features.gni")
import("//components/compose/features.gni")
import("//components/enterprise/buildflags/buildflags.gni")
@@ -2957,10 +2956,6 @@ if (!is_android) {
@@ -2958,10 +2957,6 @@ if (!is_android) {
sources += [ "../browser/chrome_for_testing/chrome_for_testing_info_bar_browsertest.cc" ]
}

Expand Down
2 changes: 1 addition & 1 deletion build/patches/Multiple-fingerprinting-mitigations.patch
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_c
}

return image_data;
@@ -2908,9 +2916,23 @@ TextMetrics* BaseRenderingContext2D::measureText(const String& text) {
@@ -2885,9 +2893,23 @@ TextMetrics* BaseRenderingContext2D::measureText(const String& text) {

TextDirection direction = ToTextDirection(GetState().GetDirection(), canvas);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ diff --git a/components/content_settings/core/browser/cookie_settings.cc b/compo
diff --git a/components/content_settings/core/common/cookie_settings_base.cc b/components/content_settings/core/common/cookie_settings_base.cc
--- a/components/content_settings/core/common/cookie_settings_base.cc
+++ b/components/content_settings/core/common/cookie_settings_base.cc
@@ -414,7 +414,7 @@ CookieSettingsBase::GetCookieSettingInternal(
@@ -419,7 +419,7 @@ CookieSettingsBase::GetCookieSettingInternal(
absl::optional<ThirdPartyBlockingScope> scope;
if (block_third) {
scope = IsAllowed(setting)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ diff --git a/third_party/blink/renderer/core/workers/worker_thread_test.cc b/thi
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/v8_cache_options.mojom-blink.h"
@@ -372,6 +373,7 @@ TEST_F(WorkerThreadTest, Terminate_WhileDebuggerTaskIsRunningOnInitialization) {
@@ -380,6 +381,7 @@ TEST_F(WorkerThreadTest, Terminate_WhileDebuggerTaskIsRunningOnInitialization) {
CalculateHttpsState(security_origin_.get()),
MakeGarbageCollected<WorkerClients>(),
nullptr /* content_settings_client */,
Expand Down
10 changes: 5 additions & 5 deletions build/patches/eyeo-beta-118.0.5993.48-chrome_integration.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8170,7 +8170,7 @@ diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
"../browser/apps/guest_view/app_view_browsertest.cc",
"../browser/apps/guest_view/web_view_browsertest.cc",
"../browser/apps/platform_apps/app_browsertest.cc",
@@ -2939,6 +2957,10 @@ if (!is_android) {
@@ -2940,6 +2958,10 @@ if (!is_android) {
sources += [ "../browser/chrome_for_testing/chrome_for_testing_info_bar_browsertest.cc" ]
}

Expand All @@ -8181,23 +8181,23 @@ diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
if (enable_reporting) {
sources += [ "../browser/net/reporting_browsertest.cc" ]
}
@@ -3793,6 +3815,7 @@ if (!is_android) {
@@ -3794,6 +3816,7 @@ if (!is_android) {
]
}

+
if (is_chromeos_ash && enable_extensions) {
deps +=
[ "//chromeos/ash/components/network/portal_detector:test_support" ]
@@ -6096,6 +6119,7 @@ test("unit_tests") {
@@ -6097,6 +6120,7 @@ test("unit_tests") {
sources = [
# All unittests in browser, common, renderer and service.
"../browser/about_flags_unittest.cc",
+ "../browser/adblock/adblock_content_browser_client_unittest.cc",
"../browser/after_startup_task_utils_unittest.cc",
"../browser/apps/icon_standardizer_unittest.cc",
"../browser/apps/user_type_filter_unittest.cc",
@@ -6786,6 +6810,8 @@ test("unit_tests") {
@@ -6787,6 +6811,8 @@ test("unit_tests") {
"//chrome/services/file_util:unit_tests",
"//chrome/services/qrcode_generator/public/cpp",
"//components/account_id",
Expand All @@ -8206,7 +8206,7 @@ diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
"//components/assist_ranker/proto",
"//components/autofill/content/browser:test_support",
"//components/background_sync",
@@ -10380,6 +10406,7 @@ if (!is_android) {
@@ -10381,6 +10407,7 @@ if (!is_android) {

public_deps = [
"//chrome/browser:test_support_ui",
Expand Down
2 changes: 1 addition & 1 deletion build/patches/eyeo-beta-118.0.5993.48-extension_api.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4120,7 +4120,7 @@ diff --git a/chrome/common/extensions/permissions/permission_set_unittest.cc b/c
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -3815,6 +3815,12 @@ if (!is_android) {
@@ -3816,6 +3816,12 @@ if (!is_android) {
]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ diff --git a/chrome/renderer/url_loader_throttle_provider_impl.cc b/chrome/rende
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -6737,7 +6737,6 @@ test("unit_tests") {
@@ -6738,7 +6738,6 @@ test("unit_tests") {
"//chrome/browser/favicon",
"//chrome/browser/feature_guide/notifications:unit_tests",
"//chrome/browser/first_party_sets",
Expand Down
Loading