Skip to content

Commit

Permalink
Update to Chromium 129.0.6668.58
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahrotahn committed Sep 17, 2024
1 parent 1b11ca4 commit 77ed017
Show file tree
Hide file tree
Showing 69 changed files with 1,299 additions and 1,117 deletions.
2 changes: 1 addition & 1 deletion chromium_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
128.0.6613.137
129.0.6668.58
439 changes: 189 additions & 250 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
@@ -52,7 +52,7 @@ public abstract class ChromeFeatureList
@@ -54,7 +54,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
}

/**
@@ -64,8 +64,7 @@ public abstract class ChromeFeatureList
@@ -66,8 +66,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
}

/**
@@ -77,8 +76,7 @@ public abstract class ChromeFeatureList
@@ -79,8 +78,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
}

/**
@@ -90,8 +88,7 @@ public abstract class ChromeFeatureList
@@ -92,8 +90,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,14 +1,14 @@
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2390,7 +2390,6 @@ static_library("browser") {
@@ -2241,7 +2241,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",
@@ -3849,8 +3848,6 @@ static_library("browser") {
@@ -3613,8 +3612,6 @@ static_library("browser") {
"download/download_commands.h",
"download/download_crx_util.cc",
"download/download_crx_util.h",
Expand All @@ -19,18 +19,18 @@
"download/download_dir_util.cc",
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -56,10 +56,6 @@ class NetworkQualityTracker;
@@ -66,10 +66,6 @@ class NetworkQualityTracker;
class SharedURLLoaderFactory;
}

-namespace safe_browsing {
-class SafeBrowsingService;
-}
-
namespace subresource_filter {
class RulesetService;
namespace signin {
class ActivePrimaryAccountsMetricsRecorder;
}
@@ -224,9 +220,6 @@ class BrowserProcess {
@@ -233,9 +229,6 @@ class BrowserProcess {
// on this platform (or this is a unit test).
virtual StatusTray* status_tray() = 0;

Expand All @@ -42,7 +42,7 @@
virtual subresource_filter::RulesetService*
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -76,7 +76,6 @@
@@ -77,7 +77,6 @@
#include "chrome/browser/printing/print_job_manager.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/resource_coordinator/resource_coordinator_parts.h"
Expand Down Expand Up @@ -74,7 +74,7 @@
subresource_filter::RulesetService*
BrowserProcessImpl::subresource_filter_ruleset_service() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
@@ -1446,26 +1435,6 @@ void BrowserProcessImpl::CreateBackgroun
@@ -1444,26 +1433,6 @@ void BrowserProcessImpl::CreateBackgroun
#endif
}

Expand Down Expand Up @@ -111,7 +111,7 @@
subresource_filter::RulesetService* subresource_filter_ruleset_service()
override;
subresource_filter::RulesetService*
@@ -367,9 +366,6 @@ class BrowserProcessImpl : public Browse
@@ -366,9 +365,6 @@ class BrowserProcessImpl : public Browse
std::unique_ptr<BackgroundModeManager> background_mode_manager_;
#endif

Expand All @@ -131,7 +131,7 @@
#include "chrome/browser/safe_browsing/verdict_cache_manager_factory.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/share/share_history.h"
@@ -663,10 +662,6 @@ void ChromeBrowsingDataRemoverDelegate::
@@ -662,10 +661,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
@@ -5461,10 +5461,6 @@ ChromeContentBrowserClient::CreateThrott
@@ -5506,10 +5506,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),
@@ -5516,16 +5512,6 @@ ChromeContentBrowserClient::CreateThrott
@@ -5561,16 +5557,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>(
@@ -5830,8 +5816,6 @@ bool ChromeContentBrowserClient::IsPlugi
@@ -5885,8 +5871,6 @@ bool ChromeContentBrowserClient::IsPlugi
void ChromeContentBrowserClient::InitOnUIThread() {
DCHECK_CURRENTLY_ON(BrowserThread::UI);

Expand All @@ -183,7 +183,7 @@
base::PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
--- a/chrome/browser/component_updater/file_type_policies_component_installer.cc
+++ b/chrome/browser/component_updater/file_type_policies_component_installer.cc
@@ -38,21 +38,6 @@ const uint8_t kFileTypePoliciesPublicKey
@@ -43,21 +43,6 @@ const uint8_t kFileTypePoliciesPublicKey
const char kFileTypePoliciesManifestName[] = "File Type Policies";

void LoadFileTypesFromDisk(const base::FilePath& pb_path) {
Expand All @@ -207,7 +207,7 @@
} // namespace
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -527,13 +527,6 @@ void ChromeDownloadManagerDelegate::SetD
@@ -532,13 +532,6 @@ void ChromeDownloadManagerDelegate::SetD

download_manager_ = dm;

Expand All @@ -221,7 +221,7 @@
if (download_manager_) {
download_manager_->AddObserver(this);
}
@@ -967,17 +960,6 @@ void ChromeDownloadManagerDelegate::Choo
@@ -973,17 +966,6 @@ void ChromeDownloadManagerDelegate::Choo
void ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName(
base::FilePath* filename,
const GURL& source_url) {
Expand Down Expand Up @@ -295,7 +295,7 @@
}
}

@@ -444,10 +437,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c
@@ -446,10 +439,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c
bool DownloadPrefs::EnableAutoOpenByUserBasedOnExtension(
const base::FilePath& file_name) {
base::FilePath::StringType extension = file_name.Extension();
Expand All @@ -322,7 +322,7 @@
// If no mime type or explicitly specified a name, don't replace file
// extension.
if (sniffed_mime_type.empty() || !suggested_filename.empty())
@@ -1362,30 +1355,7 @@ DownloadFileType::DangerLevel DownloadTa
@@ -1364,30 +1357,7 @@ DownloadFileType::DangerLevel DownloadTa
download_->HasUserGesture())
return DownloadFileType::NOT_DANGEROUS;

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
@@ -704,18 +704,6 @@ void WebstorePrivateBeginInstallWithMani
@@ -710,18 +710,6 @@ void WebstorePrivateBeginInstallWithMani

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

void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone(
@@ -1220,54 +1208,9 @@ WebstorePrivateGetReferrerChainFunction:
@@ -1226,54 +1214,9 @@ WebstorePrivateGetReferrerChainFunction:

ExtensionFunction::ResponseAction
WebstorePrivateGetReferrerChainFunction::Run() {
Expand Down Expand Up @@ -577,7 +577,7 @@
WebstorePrivateGetExtensionStatusFunction::
--- a/chrome/browser/extensions/blocklist_state_fetcher.cc
+++ b/chrome/browser/extensions/blocklist_state_fetcher.cc
@@ -38,23 +38,8 @@ BlocklistStateFetcher::~BlocklistStateFe
@@ -38,24 +38,8 @@ BlocklistStateFetcher::~BlocklistStateFe
void BlocklistStateFetcher::Request(const std::string& id,
RequestCallback callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
Expand All @@ -594,16 +594,17 @@
-
- bool request_already_sent = base::Contains(callbacks_, id);
- callbacks_.insert(std::make_pair(id, std::move(callback)));
- if (request_already_sent)
- if (request_already_sent) {
- return;
- }
-
- SendRequest(id);
+ base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask(
+ FROM_HERE, base::BindOnce(std::move(callback), BLOCKLISTED_UNKNOWN));
}

void BlocklistStateFetcher::SendRequest(const std::string& id) {
@@ -65,8 +50,7 @@ void BlocklistStateFetcher::SendRequest(
@@ -66,8 +50,7 @@ void BlocklistStateFetcher::SendRequest(
std::string request_str;
request.SerializeToString(&request_str);

Expand All @@ -613,7 +614,7 @@
net::NetworkTrafficAnnotationTag traffic_annotation =
net::DefineNetworkTrafficAnnotation("extension_blacklist", R"(
semantics {
@@ -121,12 +105,6 @@ void BlocklistStateFetcher::SendRequest(
@@ -122,12 +105,6 @@ void BlocklistStateFetcher::SendRequest(
base::Unretained(this), fetcher));
}

Expand Down Expand Up @@ -719,22 +720,24 @@
}

source_set("test_support") {
--- a/chrome/browser/ssl/security_state_tab_helper.cc
+++ b/chrome/browser/ssl/security_state_tab_helper.cc
@@ -174,93 +174,6 @@ bool SecurityStateTabHelper::UsedPolicyI
--- a/chrome/browser/ssl/chrome_security_state_tab_helper.cc
+++ b/chrome/browser/ssl/chrome_security_state_tab_helper.cc
@@ -179,93 +179,5 @@ bool ChromeSecurityStateTabHelper::UsedP

security_state::MaliciousContentStatus
SecurityStateTabHelper::GetMaliciousContentStatus() const {
ChromeSecurityStateTabHelper::GetMaliciousContentStatus() const {
- using enum safe_browsing::SBThreatType;
-
- content::NavigationEntry* entry =
- web_contents()->GetController().GetVisibleEntry();
- if (!entry)
- if (!entry) {
- return security_state::MALICIOUS_CONTENT_STATUS_NONE;
- }
- safe_browsing::SafeBrowsingService* sb_service =
- g_browser_process->safe_browsing_service();
- if (!sb_service)
- if (!sb_service) {
- return security_state::MALICIOUS_CONTENT_STATUS_NONE;
- }
- scoped_refptr<SafeBrowsingUIManager> sb_ui_manager = sb_service->ui_manager();
- safe_browsing::SBThreatType threat_type;
- if (sb_ui_manager->IsUrlAllowlistedOrPendingForWebContents(
Expand Down Expand Up @@ -795,7 +798,6 @@
- case DEPRECATED_SB_THREAT_TYPE_URL_CLIENT_SIDE_MALWARE:
- case SB_THREAT_TYPE_URL_BINARY_MALWARE:
- case SB_THREAT_TYPE_EXTENSION:
- case SB_THREAT_TYPE_BLOCKLISTED_RESOURCE:
- case SB_THREAT_TYPE_API_ABUSE:
- case SB_THREAT_TYPE_SUBRESOURCE_FILTER:
- case SB_THREAT_TYPE_CSD_ALLOWLIST:
Expand All @@ -814,10 +816,9 @@
- }
return security_state::MALICIOUS_CONTENT_STATUS_NONE;
}

--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -5048,7 +5048,6 @@ static_library("ui") {
@@ -4404,7 +4404,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 All @@ -827,7 +828,7 @@
"views/download/download_item_view.cc",
--- a/chrome/browser/ui/tab_helpers.cc
+++ b/chrome/browser/ui/tab_helpers.cc
@@ -501,32 +501,6 @@ void TabHelpers::AttachTabHelpers(WebCon
@@ -507,32 +507,6 @@ void TabHelpers::AttachTabHelpers(WebCon
// See https://crbug.com/910288.
resource_coordinator::ResourceCoordinatorTabHelper::CreateForWebContents(
web_contents);
Expand Down Expand Up @@ -859,7 +860,7 @@
- profile, web_contents);
SafetyTipWebContentsObserver::CreateForWebContents(web_contents);
SearchEngineTabHelper::CreateForWebContents(web_contents);
SecurityStateTabHelper::CreateForWebContents(web_contents);
if (site_engagement::SiteEngagementService::IsEnabled()) {
--- a/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc
+++ b/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc
@@ -25,7 +25,6 @@
Expand Down Expand Up @@ -895,8 +896,8 @@
#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
@@ -279,64 +279,6 @@ CreateHttpsOnlyModePage(content::WebCont
security_interstitials::https_only_mode::HttpInterstitialState{});
@@ -281,64 +281,6 @@ CreateHttpsOnlyModePage(content::WebCont
/*use_new_interstitial=*/IsNewHttpsFirstModeInterstitialEnabled());
}

-std::unique_ptr<security_interstitials::SecurityInterstitialPage>
Expand Down Expand Up @@ -960,7 +961,7 @@
std::unique_ptr<EnterpriseBlockPage> CreateEnterpriseBlockPage(
content::WebContents* web_contents) {
const GURL kRequestUrl("https://enterprise-block.example.net");
@@ -347,35 +289,6 @@ std::unique_ptr<EnterpriseBlockPage> Cre
@@ -349,35 +291,6 @@ std::unique_ptr<EnterpriseBlockPage> Cre
kRequestUrl));
}

Expand Down Expand Up @@ -996,7 +997,7 @@
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
std::unique_ptr<SupervisedUserVerificationPage>
CreateSupervisedUserVerificationPage(content::WebContents* web_contents) {
@@ -391,61 +304,6 @@ CreateSupervisedUserVerificationPage(con
@@ -411,61 +324,6 @@ CreateSupervisedUserVerificationPageForB
}
#endif

Expand Down Expand Up @@ -1058,7 +1059,7 @@
#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
std::unique_ptr<CaptivePortalBlockingPage> CreateCaptivePortalBlockingPage(
content::WebContents* web_contents) {
@@ -552,12 +410,8 @@ void InterstitialHTMLSource::StartDataRe
@@ -572,12 +430,8 @@ void InterstitialHTMLSource::StartDataRe
interstitial_delegate = CreateMITMSoftwareBlockingPage(web_contents);
} else if (path_without_query == "/blocked-interception") {
interstitial_delegate = CreateBlockedInterceptionBlockingPage(web_contents);
Expand All @@ -1071,7 +1072,7 @@
} else if (path_without_query == "/clock") {
interstitial_delegate = CreateBadClockBlockingPage(web_contents);
} else if (path_without_query == "/lookalike") {
@@ -576,12 +430,7 @@ void InterstitialHTMLSource::StartDataRe
@@ -599,12 +453,7 @@ void InterstitialHTMLSource::StartDataRe
#endif
}

Expand All @@ -1095,7 +1096,7 @@
#include "components/spellcheck/spellcheck_buildflags.h"
#include "components/subresource_filter/content/renderer/subresource_filter_agent.h"
#include "components/subresource_filter/content/renderer/unverified_ruleset_dealer.h"
@@ -461,12 +460,8 @@ void ChromeContentRendererClient::Render
@@ -458,12 +457,8 @@ void ChromeContentRendererClient::Render
subresource_filter_ruleset_dealer_ =
std::make_unique<subresource_filter::UnverifiedRulesetDealer>();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.cc
+++ b/components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.cc
@@ -832,93 +832,6 @@ std::tuple<GURL, std::string> AutofillCr
@@ -828,93 +828,6 @@ std::tuple<GURL, std::string> AutofillCr
}

bool AutofillCrowdsourcingManager::StartRequest(FormRequestData request_data) {
Expand Down Expand Up @@ -51,11 +51,11 @@
- resource_request->headers.SetHeader(kGoogEncodeResponseIfExecutable,
- "base64");
-
- // Put API key in request's header if a key exists, and the endpoint is
- // trusted by Google.
- // Add API key to the request if a key exists, and the endpoint is trusted by
- // Google.
- if (!api_key_.empty() && request_url.SchemeIs(url::kHttpsScheme) &&
- google_util::IsGoogleAssociatedDomainUrl(request_url)) {
- resource_request->headers.SetHeader(kGoogApiKey, api_key_);
- google_apis::AddAPIKeyToRequest(*resource_request, api_key_);
- }
-
- auto simple_loader = network::SimpleURLLoader::Create(
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
@@ -463,14 +463,6 @@ group("gn_all") {
@@ -460,14 +460,6 @@ group("gn_all") {
deps += [ "//chromeos:chromeos_unittests" ]
}

Expand Down
Loading

0 comments on commit 77ed017

Please sign in to comment.