Skip to content

Commit dad7e19

Browse files
committed
Update to Chromium 138.0.7204.49
1 parent 9a900f1 commit dad7e19

File tree

76 files changed

+918
-818
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+918
-818
lines changed

chromium_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
137.0.7151.119
1+
138.0.7204.49

domain_substitution.list

Lines changed: 172 additions & 154 deletions
Large diffs are not rendered by default.

flags.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ disable_fieldtrial_testing_config=true
55
enable_hangout_services_extension=false
66
enable_mdns=false
77
enable_nacl=false
8-
enable_reading_list=false
98
enable_remoting=false
109
enable_reporting=false
1110
enable_service_discovery=false

patches/core/bromite/disable-fetching-field-trials.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Subject: Disable fetching of all field trials
1010

1111
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
1212
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
13-
@@ -59,7 +59,7 @@ public abstract class ChromeFeatureList
13+
@@ -60,7 +60,7 @@ public abstract class ChromeFeatureList
1414
* |kFeaturesExposedToJava| in chrome/browser/flags/android/chrome_feature_list.cc
1515
*/
1616
public static String getFieldTrialParamByFeature(String featureName, String paramName) {
@@ -19,7 +19,7 @@ Subject: Disable fetching of all field trials
1919
}
2020

2121
/**
22-
@@ -71,8 +71,7 @@ public abstract class ChromeFeatureList
22+
@@ -72,8 +72,7 @@ public abstract class ChromeFeatureList
2323
*/
2424
public static boolean getFieldTrialParamByFeatureAsBoolean(
2525
String featureName, String paramName, boolean defaultValue) {
@@ -29,7 +29,7 @@ Subject: Disable fetching of all field trials
2929
}
3030

3131
/**
32-
@@ -84,8 +83,7 @@ public abstract class ChromeFeatureList
32+
@@ -85,8 +84,7 @@ public abstract class ChromeFeatureList
3333
*/
3434
public static int getFieldTrialParamByFeatureAsInt(
3535
String featureName, String paramName, int defaultValue) {
@@ -39,7 +39,7 @@ Subject: Disable fetching of all field trials
3939
}
4040

4141
/**
42-
@@ -97,8 +95,7 @@ public abstract class ChromeFeatureList
42+
@@ -98,8 +96,7 @@ public abstract class ChromeFeatureList
4343
*/
4444
public static double getFieldTrialParamByFeatureAsDouble(
4545
String featureName, String paramName, double defaultValue) {

patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/browser/BUILD.gn
22
+++ b/chrome/browser/BUILD.gn
3-
@@ -3696,8 +3696,6 @@ static_library("browser") {
3+
@@ -3752,8 +3752,6 @@ static_library("browser") {
44
"download/download_auto_open_policy_handler.cc",
55
"download/download_auto_open_policy_handler.h",
66
"download/download_commands.cc",
@@ -9,19 +9,19 @@
99
"download/download_dir_policy_handler.cc",
1010
"download/download_dir_policy_handler.h",
1111
"download/download_dir_util.cc",
12-
--- a/chrome/browser/chrome_content_browser_client.cc
13-
+++ b/chrome/browser/chrome_content_browser_client.cc
14-
@@ -5511,10 +5511,6 @@ ChromeContentBrowserClient::CreateThrott
15-
throttles.push_back(std::make_unique<PolicyBlocklistNavigationThrottle>(
16-
handle, handle->GetWebContents()->GetBrowserContext()));
12+
--- a/chrome/browser/chrome_content_browser_client_navigation_throttles.cc
13+
+++ b/chrome/browser/chrome_content_browser_client_navigation_throttles.cc
14+
@@ -391,10 +391,6 @@ void CreateAndAddChromeThrottlesForNavig
15+
registry.AddThrottle(std::make_unique<PolicyBlocklistNavigationThrottle>(
16+
registry, handle.GetWebContents()->GetBrowserContext()));
1717

1818
- // Before setting up SSL error detection, configure SSLErrorHandler to invoke
1919
- // the relevant extension API whenever an SSL interstitial is shown.
2020
- SSLErrorHandler::SetClientCallbackOnInterstitialsShown(
2121
- base::BindRepeating(&MaybeTriggerSecurityInterstitialShownEvent));
22-
throttles.push_back(std::make_unique<SSLErrorNavigationThrottle>(
23-
handle,
24-
base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp),
22+
registry.AddThrottle(std::make_unique<SSLErrorNavigationThrottle>(
23+
registry, base::BindOnce(&HandleSSLErrorWrapper),
24+
base::BindOnce(&IsInHostedApp),
2525
--- a/chrome/browser/component_updater/file_type_policies_component_installer.cc
2626
+++ b/chrome/browser/component_updater/file_type_policies_component_installer.cc
2727
@@ -38,21 +38,6 @@ const uint8_t kFileTypePoliciesPublicKey
@@ -180,7 +180,7 @@
180180
class DownloadsShowFunction : public ExtensionFunction {
181181
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
182182
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
183-
@@ -705,18 +705,6 @@ void WebstorePrivateBeginInstallWithMani
183+
@@ -702,18 +702,6 @@ void WebstorePrivateBeginInstallWithMani
184184

185185
void WebstorePrivateBeginInstallWithManifest3Function::
186186
ReportFrictionAcceptedEvent() {
@@ -253,15 +253,15 @@
253253

254254
# Note: is_android is not equivalent to safe_browsing_mode == 2.
255255
# Sources and dependencies added to this block must not depend on anything
256-
@@ -577,6 +579,7 @@ static_library("advanced_protection") {
256+
@@ -579,6 +581,7 @@ static_library("advanced_protection") {
257257
}
258258

259259
source_set("metrics_collector") {
260260
+ if (false) {
261261
sources = [
262262
"safe_browsing_metrics_collector_factory.cc",
263263
"safe_browsing_metrics_collector_factory.h",
264-
@@ -596,6 +599,7 @@ source_set("metrics_collector") {
264+
@@ -598,6 +601,7 @@ source_set("metrics_collector") {
265265
"//components/safe_browsing/core/common:safe_browsing_prefs",
266266
"//content/public/browser",
267267
]

patches/core/inox-patchset/0003-disable-autofill-download-manager.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.cc
22
+++ b/components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.cc
3-
@@ -891,93 +891,6 @@ std::tuple<GURL, std::string> AutofillCr
3+
@@ -924,93 +924,6 @@ std::tuple<GURL, std::string> AutofillCr
44
}
55

66
bool AutofillCrowdsourcingManager::StartRequest(FormRequestData request_data) {

patches/core/inox-patchset/0015-disable-update-pings.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/updater/configurator.cc
22
+++ b/chrome/updater/configurator.cc
3-
@@ -115,7 +115,7 @@ base::TimeDelta Configurator::UpdateDela
3+
@@ -133,7 +133,7 @@ base::TimeDelta Configurator::UpdateDela
44

55
std::vector<GURL> Configurator::UpdateUrl() const {
66
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);

patches/core/inox-patchset/0021-disable-rlz.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
--- a/BUILD.gn
44
+++ b/BUILD.gn
5-
@@ -477,14 +477,6 @@ group("gn_all") {
5+
@@ -476,14 +476,6 @@ group("gn_all") {
66
]
77
}
88

patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ by default.
112112
scoped_refptr<base::SequencedTaskRunner> task_runner)
113113
--- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc
114114
+++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc
115-
@@ -535,7 +535,7 @@ void WebRtcLogUploader::UploadCompressed
115+
@@ -531,7 +531,7 @@ void WebRtcLogUploader::UploadCompressed
116116
}
117117
})");
118118

@@ -189,7 +189,7 @@ by default.
189189

190190
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
191191
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
192-
@@ -73,17 +73,17 @@ namespace {
192+
@@ -75,17 +75,17 @@ namespace {
193193
// The URL for the the Learn More page shown on incognito new tab.
194194
const char kLearnMoreIncognitoUrl[] =
195195
#if BUILDFLAG(IS_CHROMEOS)
@@ -227,7 +227,7 @@ by default.
227227

228228
--- a/chrome/installer/setup/google_chrome_behaviors.cc
229229
+++ b/chrome/installer/setup/google_chrome_behaviors.cc
230-
@@ -36,7 +36,7 @@ namespace installer {
230+
@@ -37,7 +37,7 @@ namespace installer {
231231
namespace {
232232

233233
constexpr std::wstring_view kUninstallSurveyUrl(

patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ the URL so we get notified if this happens again in the future).
3939
kSafeBrowsingIncidentTrafficAnnotation =
4040
--- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
4141
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
42-
@@ -304,11 +304,14 @@ IncidentReportingService::UploadContext:
42+
@@ -303,11 +303,14 @@ IncidentReportingService::UploadContext:
4343

4444
// static
4545
bool IncidentReportingService::IsEnabledForProfile(Profile* profile) {

0 commit comments

Comments
 (0)