Skip to content

Commit

Permalink
Update to Chromium 131.0.6778.69
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahrotahn committed Nov 12, 2024
1 parent a3f4b6e commit a833234
Show file tree
Hide file tree
Showing 67 changed files with 1,540 additions and 1,259 deletions.
2 changes: 1 addition & 1 deletion chromium_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
130.0.6723.116
131.0.6778.69
361 changes: 203 additions & 158 deletions domain_substitution.list

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions patches/core/bromite/disable-fetching-field-trials.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Subject: Disable fetching of all field trials

--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
@@ -54,7 +54,7 @@ public abstract class ChromeFeatureList
@@ -56,7 +56,7 @@ public abstract class ChromeFeatureList
* |kFeaturesExposedToJava| in chrome/browser/flags/android/chrome_feature_list.cc
*/
public static String getFieldTrialParamByFeature(String featureName, String paramName) {
Expand All @@ -19,7 +19,7 @@ Subject: Disable fetching of all field trials
}

/**
@@ -66,8 +66,7 @@ public abstract class ChromeFeatureList
@@ -68,8 +68,7 @@ public abstract class ChromeFeatureList
*/
public static boolean getFieldTrialParamByFeatureAsBoolean(
String featureName, String paramName, boolean defaultValue) {
Expand All @@ -29,7 +29,7 @@ Subject: Disable fetching of all field trials
}

/**
@@ -79,8 +78,7 @@ public abstract class ChromeFeatureList
@@ -81,8 +80,7 @@ public abstract class ChromeFeatureList
*/
public static int getFieldTrialParamByFeatureAsInt(
String featureName, String paramName, int defaultValue) {
Expand All @@ -39,7 +39,7 @@ Subject: Disable fetching of all field trials
}

/**
@@ -92,8 +90,7 @@ public abstract class ChromeFeatureList
@@ -94,8 +92,7 @@ public abstract class ChromeFeatureList
*/
public static double getFieldTrialParamByFeatureAsDouble(
String featureName, String paramName, double defaultValue) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2251,7 +2251,6 @@ static_library("browser") {
@@ -2249,7 +2249,6 @@ static_library("browser") {
"//components/reporting/util:task_runner_context",
"//components/resources",
"//components/safe_browsing/content/browser",
- "//components/safe_browsing/content/browser:client_side_detection",
"//components/safe_browsing/content/browser:safe_browsing_service",
"//components/safe_browsing/content/browser/password_protection",
"//components/safe_browsing/content/browser/web_ui",
@@ -3636,8 +3635,6 @@ static_library("browser") {
"download/download_commands.h",
@@ -3641,8 +3640,6 @@ static_library("browser") {
"download/download_commands.cc",
"download/download_crx_util.cc",
"download/download_crx_util.h",
- "download/download_danger_prompt.cc",
Expand Down Expand Up @@ -50,7 +50,7 @@
#include "chrome/browser/shell_integration.h"
#include "chrome/browser/site_isolation/prefs_observer.h"
#include "chrome/browser/ssl/secure_origin_prefs_observer.h"
@@ -478,8 +477,6 @@ void BrowserProcessImpl::StartTearDown()
@@ -479,8 +478,6 @@ void BrowserProcessImpl::StartTearDown()
#endif
metrics_services_manager_.reset();
intranet_redirect_detector_.reset();
Expand All @@ -59,7 +59,7 @@
network_time_tracker_.reset();

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

Expand All @@ -74,7 +74,7 @@
subresource_filter::RulesetService*
BrowserProcessImpl::subresource_filter_ruleset_service() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
@@ -1485,26 +1474,6 @@ void BrowserProcessImpl::CreateBackgroun
@@ -1479,26 +1468,6 @@ void BrowserProcessImpl::CreateBackgroun
#endif
}

Expand Down Expand Up @@ -129,9 +129,9 @@
#include "chrome/browser/reading_list/reading_list_model_factory.h"
-#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/browser/safe_browsing/verdict_cache_manager_factory.h"
#include "chrome/browser/search_engine_choice/search_engine_choice_service_factory.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/share/share_history.h"
@@ -645,10 +644,6 @@ void ChromeBrowsingDataRemoverDelegate::
@@ -647,10 +646,6 @@ void ChromeBrowsingDataRemoverDelegate::
base::RecordAction(UserMetricsAction("ClearBrowsingData_Cookies"));

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

Expand All @@ -155,7 +155,7 @@
throttles.push_back(std::make_unique<SSLErrorNavigationThrottle>(
handle,
base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp),
@@ -5567,16 +5563,6 @@ ChromeContentBrowserClient::CreateThrott
@@ -5571,16 +5567,6 @@ ChromeContentBrowserClient::CreateThrott
&throttles);
#endif

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

Expand Down Expand Up @@ -207,7 +207,7 @@
} // namespace
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -533,13 +533,6 @@ void ChromeDownloadManagerDelegate::SetD
@@ -534,13 +534,6 @@ void ChromeDownloadManagerDelegate::SetD

download_manager_ = dm;

Expand All @@ -221,7 +221,7 @@
if (download_manager_) {
download_manager_->AddObserver(this);
}
@@ -1007,17 +1000,6 @@ void ChromeDownloadManagerDelegate::Choo
@@ -1062,17 +1055,6 @@ void ChromeDownloadManagerDelegate::Choo
void ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName(
base::FilePath* filename,
const GURL& source_url) {
Expand Down Expand Up @@ -250,7 +250,7 @@

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

Expand All @@ -267,7 +267,7 @@
DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_);
data->danger_level_ = danger_level;
}
@@ -740,9 +740,6 @@ bool DownloadItemModel::IsCommandEnabled
@@ -710,9 +710,6 @@ bool DownloadItemModel::IsCommandEnabled
// filename. Don't base an "Always open" decision based on it. Also
// exclude extensions.
return download_->CanOpenDownload() &&
Expand Down Expand Up @@ -500,7 +500,7 @@
referrer_entries)));
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
@@ -710,18 +710,6 @@ void WebstorePrivateBeginInstallWithMani
@@ -709,18 +709,6 @@ void WebstorePrivateBeginInstallWithMani

void WebstorePrivateBeginInstallWithManifest3Function::
ReportFrictionAcceptedEvent() {
Expand All @@ -519,7 +519,7 @@
}

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

ExtensionFunction::ResponseAction
WebstorePrivateGetReferrerChainFunction::Run() {
Expand Down Expand Up @@ -648,15 +648,15 @@
// SimpleURLLoader -> (owned loader, extension id).
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -91,7 +91,6 @@
#include "chrome/browser/push_messaging/push_messaging_service_factory.h"
@@ -95,7 +95,6 @@
#include "chrome/browser/push_messaging/push_messaging_service_impl.h"
#include "chrome/browser/reading_list/reading_list_model_factory.h"
#include "chrome/browser/reduce_accept_language/reduce_accept_language_factory.h"
-#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/browser/sessions/exit_type_service.h"
#include "chrome/browser/sharing/sharing_service_factory.h"
#include "chrome/browser/signin/identity_manager_factory.h"
@@ -646,17 +645,6 @@ void ProfileImpl::LoadPrefsForNormalStar
@@ -616,17 +615,6 @@ void ProfileImpl::LoadPrefsForNormalStar

mojo::PendingRemote<prefs::mojom::TrackedPreferenceValidationDelegate>
pref_validation_delegate;
Expand All @@ -672,11 +672,11 @@
- }
- }

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

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

source_set("metrics_collector") {
+ if (false) {
sources = [
"safe_browsing_metrics_collector_factory.cc",
"safe_browsing_metrics_collector_factory.h",
@@ -544,6 +547,7 @@ source_set("metrics_collector") {
@@ -555,6 +558,7 @@ source_set("metrics_collector") {
"//components/safe_browsing/core/common:safe_browsing_prefs",
"//content/public/browser",
]
Expand Down Expand Up @@ -818,7 +818,7 @@
}
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -4294,7 +4294,6 @@ static_library("ui") {
@@ -4065,7 +4065,6 @@ static_library("ui") {
"views/download/bubble/download_dialog_view.h",
"views/download/bubble/download_toolbar_button_view.cc",
"views/download/bubble/download_toolbar_button_view.h",
Expand Down Expand Up @@ -876,7 +876,7 @@
#include "chrome/browser/download/download_history.h"
#include "chrome/browser/download/download_item_model.h"
#include "chrome/browser/download/download_item_warning_data.h"
@@ -695,12 +694,6 @@ void DownloadsDOMHandler::RemoveDownload
@@ -687,12 +686,6 @@ void DownloadsDOMHandler::RemoveDownload
IdSet ids;

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

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

-std::unique_ptr<EnterpriseWarnPage> CreateEnterpriseWarnPage(
Expand Down Expand Up @@ -1000,9 +1000,9 @@
-}
-
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
std::unique_ptr<SupervisedUserVerificationPage>
CreateSupervisedUserVerificationPage(content::WebContents* web_contents,
@@ -415,61 +328,6 @@ CreateSupervisedUserVerificationPageForB
std::unique_ptr<SupervisedUserVerificationPageForYouTube>
CreateSupervisedUserVerificationPageForYouTube(
@@ -432,61 +345,6 @@ CreateSupervisedUserVerificationPageForB
}
#endif

Expand Down Expand Up @@ -1064,7 +1064,7 @@
#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
std::unique_ptr<CaptivePortalBlockingPage> CreateCaptivePortalBlockingPage(
content::WebContents* web_contents) {
@@ -576,12 +434,8 @@ void InterstitialHTMLSource::StartDataRe
@@ -593,12 +451,8 @@ void InterstitialHTMLSource::StartDataRe
interstitial_delegate = CreateMITMSoftwareBlockingPage(web_contents);
} else if (path_without_query == "/blocked-interception") {
interstitial_delegate = CreateBlockedInterceptionBlockingPage(web_contents);
Expand All @@ -1077,7 +1077,7 @@
} else if (path_without_query == "/clock") {
interstitial_delegate = CreateBadClockBlockingPage(web_contents);
} else if (path_without_query == "/lookalike") {
@@ -611,12 +465,7 @@ void InterstitialHTMLSource::StartDataRe
@@ -630,12 +484,7 @@ void InterstitialHTMLSource::StartDataRe
#endif
}

Expand All @@ -1093,17 +1093,17 @@
html = interstitial_delegate.get()->GetHTMLContents();
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -109,7 +109,6 @@
@@ -111,7 +111,6 @@
#include "components/pdf/common/pdf_util.h"
#include "components/permissions/features.h"
#include "components/safe_browsing/buildflags.h"
-#include "components/safe_browsing/content/renderer/threat_dom_details.h"
#include "components/sampling_profiler/process_type.h"
#include "components/sampling_profiler/thread_profiler.h"
#include "components/security_interstitials/content/renderer/security_interstitial_page_controller_delegate_impl.h"
#include "components/spellcheck/spellcheck_buildflags.h"
@@ -473,12 +472,8 @@ void ChromeContentRendererClient::Render
subresource_filter_ruleset_dealer_ =
std::make_unique<subresource_filter::UnverifiedRulesetDealer>();
@@ -483,12 +482,8 @@ void ChromeContentRendererClient::Render
thread->AddObserver(fingerprinting_protection_ruleset_dealer_.get());
}

- phishing_model_setter_ =
- std::make_unique<safe_browsing::PhishingModelSetterImpl>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/chrome/browser/extensions/component_extensions_allowlist/allowlist.cc
+++ b/chrome/browser/extensions/component_extensions_allowlist/allowlist.cc
@@ -32,7 +32,6 @@ namespace extensions {
@@ -29,7 +29,6 @@ namespace extensions {

bool IsComponentExtensionAllowlisted(const std::string& extension_id) {
constexpr auto kAllowed = base::MakeFixedFlatSet<std::string_view>({
Expand All @@ -10,7 +10,7 @@
extension_misc::kAssessmentAssistantExtensionId,
--- a/chrome/browser/extensions/component_loader.cc
+++ b/chrome/browser/extensions/component_loader.cc
@@ -410,11 +410,6 @@ void ComponentLoader::AddWebStoreApp() {
@@ -409,11 +409,6 @@ void ComponentLoader::AddWebStoreApp() {
return;
}
#endif
Expand All @@ -21,10 +21,10 @@
- l10n_util::GetStringUTF8(IDS_WEBSTORE_APP_DESCRIPTION));
}

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

void ExternalComponentLoader::StartLoading() {
auto prefs = base::Value::Dict();
Expand Down
2 changes: 1 addition & 1 deletion patches/core/inox-patchset/0015-disable-update-pings.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/chrome/updater/configurator.cc
+++ b/chrome/updater/configurator.cc
@@ -108,7 +108,7 @@ base::TimeDelta Configurator::UpdateDela
@@ -111,7 +111,7 @@ base::TimeDelta Configurator::UpdateDela

std::vector<GURL> Configurator::UpdateUrl() const {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
Expand Down
2 changes: 1 addition & 1 deletion patches/core/inox-patchset/0021-disable-rlz.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

--- a/BUILD.gn
+++ b/BUILD.gn
@@ -469,14 +469,6 @@ group("gn_all") {
@@ -475,14 +475,6 @@ group("gn_all") {
deps += [ "//chromeos:chromeos_unittests" ]
}

Expand Down
Loading

0 comments on commit a833234

Please sign in to comment.