Skip to content

Commit a833234

Browse files
committed
Update to Chromium 131.0.6778.69
1 parent a3f4b6e commit a833234

File tree

67 files changed

+1540
-1259
lines changed

Some content is hidden

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

67 files changed

+1540
-1259
lines changed

chromium_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
130.0.6723.116
1+
131.0.6778.69

domain_substitution.list

Lines changed: 203 additions & 158 deletions
Large diffs are not rendered by default.

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-
@@ -54,7 +54,7 @@ public abstract class ChromeFeatureList
13+
@@ -56,7 +56,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-
@@ -66,8 +66,7 @@ public abstract class ChromeFeatureList
22+
@@ -68,8 +68,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-
@@ -79,8 +78,7 @@ public abstract class ChromeFeatureList
32+
@@ -81,8 +80,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-
@@ -92,8 +90,7 @@ public abstract class ChromeFeatureList
42+
@@ -94,8 +92,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: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
--- a/chrome/browser/BUILD.gn
22
+++ b/chrome/browser/BUILD.gn
3-
@@ -2251,7 +2251,6 @@ static_library("browser") {
3+
@@ -2249,7 +2249,6 @@ static_library("browser") {
44
"//components/reporting/util:task_runner_context",
55
"//components/resources",
66
"//components/safe_browsing/content/browser",
77
- "//components/safe_browsing/content/browser:client_side_detection",
88
"//components/safe_browsing/content/browser:safe_browsing_service",
99
"//components/safe_browsing/content/browser/password_protection",
1010
"//components/safe_browsing/content/browser/web_ui",
11-
@@ -3636,8 +3635,6 @@ static_library("browser") {
12-
"download/download_commands.h",
11+
@@ -3641,8 +3640,6 @@ static_library("browser") {
12+
"download/download_commands.cc",
1313
"download/download_crx_util.cc",
1414
"download/download_crx_util.h",
1515
- "download/download_danger_prompt.cc",
@@ -50,7 +50,7 @@
5050
#include "chrome/browser/shell_integration.h"
5151
#include "chrome/browser/site_isolation/prefs_observer.h"
5252
#include "chrome/browser/ssl/secure_origin_prefs_observer.h"
53-
@@ -478,8 +477,6 @@ void BrowserProcessImpl::StartTearDown()
53+
@@ -479,8 +478,6 @@ void BrowserProcessImpl::StartTearDown()
5454
#endif
5555
metrics_services_manager_.reset();
5656
intranet_redirect_detector_.reset();
@@ -59,7 +59,7 @@
5959
network_time_tracker_.reset();
6060

6161
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS)
62-
@@ -1166,14 +1163,6 @@ StatusTray* BrowserProcessImpl::status_t
62+
@@ -1167,14 +1164,6 @@ StatusTray* BrowserProcessImpl::status_t
6363
return status_tray_.get();
6464
}
6565

@@ -74,7 +74,7 @@
7474
subresource_filter::RulesetService*
7575
BrowserProcessImpl::subresource_filter_ruleset_service() {
7676
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
77-
@@ -1485,26 +1474,6 @@ void BrowserProcessImpl::CreateBackgroun
77+
@@ -1479,26 +1468,6 @@ void BrowserProcessImpl::CreateBackgroun
7878
#endif
7979
}
8080

@@ -129,9 +129,9 @@
129129
#include "chrome/browser/reading_list/reading_list_model_factory.h"
130130
-#include "chrome/browser/safe_browsing/safe_browsing_service.h"
131131
#include "chrome/browser/safe_browsing/verdict_cache_manager_factory.h"
132+
#include "chrome/browser/search_engine_choice/search_engine_choice_service_factory.h"
132133
#include "chrome/browser/search_engines/template_url_service_factory.h"
133-
#include "chrome/browser/share/share_history.h"
134-
@@ -645,10 +644,6 @@ void ChromeBrowsingDataRemoverDelegate::
134+
@@ -647,10 +646,6 @@ void ChromeBrowsingDataRemoverDelegate::
135135
base::RecordAction(UserMetricsAction("ClearBrowsingData_Cookies"));
136136

137137
network::mojom::NetworkContext* safe_browsing_context = nullptr;
@@ -144,7 +144,7 @@
144144
browsing_data::RemoveFederatedSiteSettingsData(delete_begin_, delete_end_,
145145
--- a/chrome/browser/chrome_content_browser_client.cc
146146
+++ b/chrome/browser/chrome_content_browser_client.cc
147-
@@ -5512,10 +5512,6 @@ ChromeContentBrowserClient::CreateThrott
147+
@@ -5513,10 +5513,6 @@ ChromeContentBrowserClient::CreateThrott
148148
throttles.push_back(std::make_unique<PolicyBlocklistNavigationThrottle>(
149149
handle, handle->GetWebContents()->GetBrowserContext()));
150150

@@ -155,7 +155,7 @@
155155
throttles.push_back(std::make_unique<SSLErrorNavigationThrottle>(
156156
handle,
157157
base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp),
158-
@@ -5567,16 +5563,6 @@ ChromeContentBrowserClient::CreateThrott
158+
@@ -5571,16 +5567,6 @@ ChromeContentBrowserClient::CreateThrott
159159
&throttles);
160160
#endif
161161

@@ -172,7 +172,7 @@
172172
if (base::FeatureList::IsEnabled(safe_browsing::kDelayedWarnings)) {
173173
throttles.push_back(
174174
std::make_unique<safe_browsing::DelayedWarningNavigationThrottle>(
175-
@@ -5897,8 +5883,6 @@ bool ChromeContentBrowserClient::IsPlugi
175+
@@ -5901,8 +5887,6 @@ bool ChromeContentBrowserClient::IsPlugi
176176
void ChromeContentBrowserClient::InitOnUIThread() {
177177
DCHECK_CURRENTLY_ON(BrowserThread::UI);
178178

@@ -207,7 +207,7 @@
207207
} // namespace
208208
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
209209
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
210-
@@ -533,13 +533,6 @@ void ChromeDownloadManagerDelegate::SetD
210+
@@ -534,13 +534,6 @@ void ChromeDownloadManagerDelegate::SetD
211211

212212
download_manager_ = dm;
213213

@@ -221,7 +221,7 @@
221221
if (download_manager_) {
222222
download_manager_->AddObserver(this);
223223
}
224-
@@ -1007,17 +1000,6 @@ void ChromeDownloadManagerDelegate::Choo
224+
@@ -1062,17 +1055,6 @@ void ChromeDownloadManagerDelegate::Choo
225225
void ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName(
226226
base::FilePath* filename,
227227
const GURL& source_url) {
@@ -250,7 +250,7 @@
250250

251251
// Whether the download is currently being revived.
252252
bool is_being_revived_ = false;
253-
@@ -531,13 +531,13 @@ void DownloadItemModel::SetShouldPreferO
253+
@@ -501,13 +501,13 @@ void DownloadItemModel::SetShouldPreferO
254254
data->should_prefer_opening_in_browser_ = preference;
255255
}
256256

@@ -267,7 +267,7 @@
267267
DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_);
268268
data->danger_level_ = danger_level;
269269
}
270-
@@ -740,9 +740,6 @@ bool DownloadItemModel::IsCommandEnabled
270+
@@ -710,9 +710,6 @@ bool DownloadItemModel::IsCommandEnabled
271271
// filename. Don't base an "Always open" decision based on it. Also
272272
// exclude extensions.
273273
return download_->CanOpenDownload() &&
@@ -500,7 +500,7 @@
500500
referrer_entries)));
501501
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
502502
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
503-
@@ -710,18 +710,6 @@ void WebstorePrivateBeginInstallWithMani
503+
@@ -709,18 +709,6 @@ void WebstorePrivateBeginInstallWithMani
504504

505505
void WebstorePrivateBeginInstallWithManifest3Function::
506506
ReportFrictionAcceptedEvent() {
@@ -519,7 +519,7 @@
519519
}
520520

521521
void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone(
522-
@@ -1226,54 +1214,9 @@ WebstorePrivateGetReferrerChainFunction:
522+
@@ -1204,54 +1192,9 @@ WebstorePrivateGetReferrerChainFunction:
523523

524524
ExtensionFunction::ResponseAction
525525
WebstorePrivateGetReferrerChainFunction::Run() {
@@ -648,15 +648,15 @@
648648
// SimpleURLLoader -> (owned loader, extension id).
649649
--- a/chrome/browser/profiles/profile_impl.cc
650650
+++ b/chrome/browser/profiles/profile_impl.cc
651-
@@ -91,7 +91,6 @@
652-
#include "chrome/browser/push_messaging/push_messaging_service_factory.h"
651+
@@ -95,7 +95,6 @@
653652
#include "chrome/browser/push_messaging/push_messaging_service_impl.h"
653+
#include "chrome/browser/reading_list/reading_list_model_factory.h"
654654
#include "chrome/browser/reduce_accept_language/reduce_accept_language_factory.h"
655655
-#include "chrome/browser/safe_browsing/safe_browsing_service.h"
656656
#include "chrome/browser/sessions/exit_type_service.h"
657657
#include "chrome/browser/sharing/sharing_service_factory.h"
658658
#include "chrome/browser/signin/identity_manager_factory.h"
659-
@@ -646,17 +645,6 @@ void ProfileImpl::LoadPrefsForNormalStar
659+
@@ -616,17 +615,6 @@ void ProfileImpl::LoadPrefsForNormalStar
660660

661661
mojo::PendingRemote<prefs::mojom::TrackedPreferenceValidationDelegate>
662662
pref_validation_delegate;
@@ -672,11 +672,11 @@
672672
- }
673673
- }
674674

675-
prefs_ =
676-
CreatePrefService(pref_registry_, CreateExtensionPrefStore(this, false),
675+
prefs_ = CreateProfilePrefService(
676+
pref_registry_, CreateExtensionPrefStore(this, false),
677677
--- a/chrome/browser/profiles/profiles_state.cc
678678
+++ b/chrome/browser/profiles/profiles_state.cc
679-
@@ -314,9 +314,6 @@ void RemoveBrowsingDataForProfile(const
679+
@@ -290,9 +290,6 @@ void RemoveBrowsingDataForProfile(const
680680
// The BrowsingDataRemover relies on many objects that aren't created in unit
681681
// tests. Previously this code would depend on content::ResourceDispatcherHost
682682
// but that's gone, so do a similar hack for now.
@@ -696,23 +696,23 @@
696696
sources = [
697697
"chrome_controller_client.cc",
698698
"chrome_controller_client.h",
699-
@@ -74,6 +75,7 @@ static_library("safe_browsing") {
699+
@@ -76,6 +77,7 @@ static_library("safe_browsing") {
700700
"//mojo/public/cpp/system",
701701
"//services/preferences/public/cpp",
702702
]
703703
+ }
704704

705705
if (is_android) {
706706
deps += [
707-
@@ -525,6 +527,7 @@ static_library("advanced_protection") {
707+
@@ -536,6 +538,7 @@ static_library("advanced_protection") {
708708
}
709709

710710
source_set("metrics_collector") {
711711
+ if (false) {
712712
sources = [
713713
"safe_browsing_metrics_collector_factory.cc",
714714
"safe_browsing_metrics_collector_factory.h",
715-
@@ -544,6 +547,7 @@ source_set("metrics_collector") {
715+
@@ -555,6 +558,7 @@ source_set("metrics_collector") {
716716
"//components/safe_browsing/core/common:safe_browsing_prefs",
717717
"//content/public/browser",
718718
]
@@ -818,7 +818,7 @@
818818
}
819819
--- a/chrome/browser/ui/BUILD.gn
820820
+++ b/chrome/browser/ui/BUILD.gn
821-
@@ -4294,7 +4294,6 @@ static_library("ui") {
821+
@@ -4065,7 +4065,6 @@ static_library("ui") {
822822
"views/download/bubble/download_dialog_view.h",
823823
"views/download/bubble/download_toolbar_button_view.cc",
824824
"views/download/bubble/download_toolbar_button_view.h",
@@ -876,7 +876,7 @@
876876
#include "chrome/browser/download/download_history.h"
877877
#include "chrome/browser/download/download_item_model.h"
878878
#include "chrome/browser/download/download_item_warning_data.h"
879-
@@ -695,12 +694,6 @@ void DownloadsDOMHandler::RemoveDownload
879+
@@ -687,12 +686,6 @@ void DownloadsDOMHandler::RemoveDownload
880880
IdSet ids;
881881

882882
for (download::DownloadItem* download : to_remove) {
@@ -901,7 +901,7 @@
901901
#include "chrome/browser/ui/webui/downloads/downloads_list_tracker.h"
902902
--- a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
903903
+++ b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
904-
@@ -281,64 +281,6 @@ CreateHttpsOnlyModePage(content::WebCont
904+
@@ -289,64 +289,6 @@ CreateHttpsOnlyModePage(content::WebCont
905905
/*use_new_interstitial=*/IsNewHttpsFirstModeInterstitialEnabled());
906906
}
907907

@@ -966,8 +966,8 @@
966966
std::unique_ptr<EnterpriseBlockPage> CreateEnterpriseBlockPage(
967967
content::WebContents* web_contents) {
968968
const GURL kRequestUrl("https://enterprise-block.example.net");
969-
@@ -349,35 +291,6 @@ std::unique_ptr<EnterpriseBlockPage> Cre
970-
kRequestUrl));
969+
@@ -367,35 +309,6 @@ std::unique_ptr<ManagedProfileRequiredPa
970+
kRequestUrl));
971971
}
972972

973973
-std::unique_ptr<EnterpriseWarnPage> CreateEnterpriseWarnPage(
@@ -1000,9 +1000,9 @@
10001000
-}
10011001
-
10021002
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
1003-
std::unique_ptr<SupervisedUserVerificationPage>
1004-
CreateSupervisedUserVerificationPage(content::WebContents* web_contents,
1005-
@@ -415,61 +328,6 @@ CreateSupervisedUserVerificationPageForB
1003+
std::unique_ptr<SupervisedUserVerificationPageForYouTube>
1004+
CreateSupervisedUserVerificationPageForYouTube(
1005+
@@ -432,61 +345,6 @@ CreateSupervisedUserVerificationPageForB
10061006
}
10071007
#endif
10081008

@@ -1064,7 +1064,7 @@
10641064
#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
10651065
std::unique_ptr<CaptivePortalBlockingPage> CreateCaptivePortalBlockingPage(
10661066
content::WebContents* web_contents) {
1067-
@@ -576,12 +434,8 @@ void InterstitialHTMLSource::StartDataRe
1067+
@@ -593,12 +451,8 @@ void InterstitialHTMLSource::StartDataRe
10681068
interstitial_delegate = CreateMITMSoftwareBlockingPage(web_contents);
10691069
} else if (path_without_query == "/blocked-interception") {
10701070
interstitial_delegate = CreateBlockedInterceptionBlockingPage(web_contents);
@@ -1077,7 +1077,7 @@
10771077
} else if (path_without_query == "/clock") {
10781078
interstitial_delegate = CreateBadClockBlockingPage(web_contents);
10791079
} else if (path_without_query == "/lookalike") {
1080-
@@ -611,12 +465,7 @@ void InterstitialHTMLSource::StartDataRe
1080+
@@ -630,12 +484,7 @@ void InterstitialHTMLSource::StartDataRe
10811081
#endif
10821082
}
10831083

@@ -1093,17 +1093,17 @@
10931093
html = interstitial_delegate.get()->GetHTMLContents();
10941094
--- a/chrome/renderer/chrome_content_renderer_client.cc
10951095
+++ b/chrome/renderer/chrome_content_renderer_client.cc
1096-
@@ -109,7 +109,6 @@
1096+
@@ -111,7 +111,6 @@
10971097
#include "components/pdf/common/pdf_util.h"
10981098
#include "components/permissions/features.h"
10991099
#include "components/safe_browsing/buildflags.h"
11001100
-#include "components/safe_browsing/content/renderer/threat_dom_details.h"
1101+
#include "components/sampling_profiler/process_type.h"
11011102
#include "components/sampling_profiler/thread_profiler.h"
11021103
#include "components/security_interstitials/content/renderer/security_interstitial_page_controller_delegate_impl.h"
1103-
#include "components/spellcheck/spellcheck_buildflags.h"
1104-
@@ -473,12 +472,8 @@ void ChromeContentRendererClient::Render
1105-
subresource_filter_ruleset_dealer_ =
1106-
std::make_unique<subresource_filter::UnverifiedRulesetDealer>();
1104+
@@ -483,12 +482,8 @@ void ChromeContentRendererClient::Render
1105+
thread->AddObserver(fingerprinting_protection_ruleset_dealer_.get());
1106+
}
11071107

11081108
- phishing_model_setter_ =
11091109
- std::make_unique<safe_browsing::PhishingModelSetterImpl>();

patches/core/inox-patchset/0005-disable-default-extensions.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/browser/extensions/component_extensions_allowlist/allowlist.cc
22
+++ b/chrome/browser/extensions/component_extensions_allowlist/allowlist.cc
3-
@@ -32,7 +32,6 @@ namespace extensions {
3+
@@ -29,7 +29,6 @@ namespace extensions {
44

55
bool IsComponentExtensionAllowlisted(const std::string& extension_id) {
66
constexpr auto kAllowed = base::MakeFixedFlatSet<std::string_view>({
@@ -10,7 +10,7 @@
1010
extension_misc::kAssessmentAssistantExtensionId,
1111
--- a/chrome/browser/extensions/component_loader.cc
1212
+++ b/chrome/browser/extensions/component_loader.cc
13-
@@ -410,11 +410,6 @@ void ComponentLoader::AddWebStoreApp() {
13+
@@ -409,11 +409,6 @@ void ComponentLoader::AddWebStoreApp() {
1414
return;
1515
}
1616
#endif
@@ -21,10 +21,10 @@
2121
- l10n_util::GetStringUTF8(IDS_WEBSTORE_APP_DESCRIPTION));
2222
}
2323

24-
#if BUILDFLAG(IS_CHROMEOS_ASH)
24+
#if BUILDFLAG(IS_CHROMEOS)
2525
--- a/chrome/browser/extensions/external_component_loader.cc
2626
+++ b/chrome/browser/extensions/external_component_loader.cc
27-
@@ -37,9 +37,6 @@ ExternalComponentLoader::~ExternalCompon
27+
@@ -34,9 +34,6 @@ ExternalComponentLoader::~ExternalCompon
2828

2929
void ExternalComponentLoader::StartLoading() {
3030
auto prefs = base::Value::Dict();

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-
@@ -108,7 +108,7 @@ base::TimeDelta Configurator::UpdateDela
3+
@@ -111,7 +111,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-
@@ -469,14 +469,6 @@ group("gn_all") {
5+
@@ -475,14 +475,6 @@ group("gn_all") {
66
deps += [ "//chromeos:chromeos_unittests" ]
77
}
88

0 commit comments

Comments
 (0)