Skip to content

Commit e8f5add

Browse files
committed
Update to Chromium 144.0.7559.59
1 parent 868121c commit e8f5add

File tree

79 files changed

+2446
-1619
lines changed

Some content is hidden

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

79 files changed

+2446
-1619
lines changed

chromium_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
143.0.7499.192
1+
144.0.7559.59

devutils/update_lists.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
'*.js',
102102
'*.json',
103103
'*.txt',
104+
'*.binarypb',
104105
'*.xtb'
105106
]
106107

domain_substitution.list

Lines changed: 1100 additions & 336 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Subject: Disable fetching of all field trials
5151
/**
5252
--- a/components/variations/service/variations_service.cc
5353
+++ b/components/variations/service/variations_service.cc
54-
@@ -223,22 +223,7 @@ bool GetInstanceManipulations(const net:
54+
@@ -224,22 +224,7 @@ bool GetInstanceManipulations(const net:
5555
// Variations seed fetching is only enabled in official Chrome builds, if a URL
5656
// is specified on the command line, and for testing.
5757
bool IsFetchingEnabled() {

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

Lines changed: 49 additions & 49 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-
@@ -3800,8 +3800,6 @@ static_library("browser") {
3+
@@ -3803,8 +3803,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",
@@ -11,7 +11,7 @@
1111
"download/download_dir_util.cc",
1212
--- a/chrome/browser/chrome_content_browser_client_navigation_throttles.cc
1313
+++ b/chrome/browser/chrome_content_browser_client_navigation_throttles.cc
14-
@@ -405,10 +405,6 @@ void CreateAndAddChromeThrottlesForNavig
14+
@@ -394,10 +394,6 @@ void CreateAndAddChromeThrottlesForNavig
1515
Profile::FromBrowserContext(context)),
1616
SafeSearchFactory::GetForBrowserContext(context)));
1717

@@ -76,15 +76,15 @@
7676
}
7777
--- a/chrome/browser/extensions/api/downloads/downloads_api.cc
7878
+++ b/chrome/browser/extensions/api/downloads/downloads_api.cc
79-
@@ -86,7 +86,6 @@
79+
@@ -87,7 +87,6 @@
8080
#endif
8181

8282
#if BUILDFLAG(ENABLE_EXTENSIONS)
8383
-#include "chrome/browser/download/download_danger_prompt.h"
84-
#include "chrome/browser/download/download_open_prompt.h"
8584
#include "chrome/browser/ui/browser.h"
8685
#include "chrome/browser/ui/browser_window.h"
87-
@@ -1359,9 +1358,6 @@ DownloadsAcceptDangerFunction::Downloads
86+
#endif
87+
@@ -1364,9 +1363,6 @@ DownloadsAcceptDangerFunction::Downloads
8888

8989
DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() = default;
9090

@@ -94,7 +94,7 @@
9494
ExtensionFunction::ResponseAction DownloadsAcceptDangerFunction::Run() {
9595
std::optional<downloads::AcceptDanger::Params> params =
9696
downloads::AcceptDanger::Params::Create(args());
97-
@@ -1412,50 +1408,13 @@ void DownloadsAcceptDangerFunction::Prom
97+
@@ -1417,50 +1413,13 @@ void DownloadsAcceptDangerFunction::Prom
9898
}
9999
RecordApiFunctions(DownloadsFunctionName::kDownloadsFunctionAcceptDanger);
100100
#if BUILDFLAG(ENABLE_EXTENSIONS)
@@ -156,7 +156,7 @@
156156
#include "chrome/common/extensions/api/downloads.h"
157157
#include "components/download/content/public/all_download_item_notifier.h"
158158
#include "components/download/public/common/download_path_reservation_tracker.h"
159-
@@ -170,13 +169,6 @@ class DownloadsRemoveFileFunction : publ
159+
@@ -169,13 +168,6 @@ class DownloadsRemoveFileFunction : publ
160160

161161
class DownloadsAcceptDangerFunction : public ExtensionFunction {
162162
public:
@@ -170,7 +170,7 @@
170170
DECLARE_EXTENSION_FUNCTION("downloads.acceptDanger", DOWNLOADS_ACCEPTDANGER)
171171
DownloadsAcceptDangerFunction();
172172

173-
@@ -188,13 +180,10 @@ class DownloadsAcceptDangerFunction : pu
173+
@@ -187,13 +179,10 @@ class DownloadsAcceptDangerFunction : pu
174174

175175
protected:
176176
~DownloadsAcceptDangerFunction() override;
@@ -186,7 +186,7 @@
186186
class DownloadsShowFunction : public ExtensionFunction {
187187
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
188188
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
189-
@@ -706,18 +706,6 @@ void WebstorePrivateBeginInstallWithMani
189+
@@ -689,18 +689,6 @@ void WebstorePrivateBeginInstallWithMani
190190

191191
void WebstorePrivateBeginInstallWithManifest3Function::
192192
ReportFrictionAcceptedEvent() {
@@ -205,42 +205,6 @@
205205
}
206206

207207
void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone(
208-
--- a/chrome/browser/extensions/blocklist_state_fetcher.cc
209-
+++ b/chrome/browser/extensions/blocklist_state_fetcher.cc
210-
@@ -78,8 +78,7 @@ void BlocklistStateFetcher::SendRequest(
211-
std::string request_str;
212-
request.SerializeToString(&request_str);
213-
214-
- GURL request_url = GURL(safe_browsing::GetReportUrl(
215-
- *safe_browsing_config_, "clientreport/crx-list-info"));
216-
+ GURL request_url = GURL();
217-
net::NetworkTrafficAnnotationTag traffic_annotation =
218-
net::DefineNetworkTrafficAnnotation("extension_blacklist", R"(
219-
semantics {
220-
@@ -134,12 +133,6 @@ void BlocklistStateFetcher::SendRequest(
221-
base::Unretained(this), fetcher));
222-
}
223-
224-
-void BlocklistStateFetcher::SetSafeBrowsingConfig(
225-
- const safe_browsing::V4ProtocolConfig& config) {
226-
- safe_browsing_config_ =
227-
- std::make_unique<safe_browsing::V4ProtocolConfig>(config);
228-
-}
229-
-
230-
void BlocklistStateFetcher::OnURLLoaderComplete(
231-
network::SimpleURLLoader* url_loader,
232-
std::unique_ptr<std::string> response_body) {
233-
--- a/chrome/browser/extensions/blocklist_state_fetcher.h
234-
+++ b/chrome/browser/extensions/blocklist_state_fetcher.h
235-
@@ -39,8 +39,6 @@ class BlocklistStateFetcher {
236-
237-
virtual void Request(const std::string& id, RequestCallback callback);
238-
239-
- void SetSafeBrowsingConfig(const safe_browsing::V4ProtocolConfig& config);
240-
-
241-
protected:
242-
void OnURLLoaderComplete(network::SimpleURLLoader* url_loader,
243-
std::unique_ptr<std::string> response_body);
244208
--- a/chrome/browser/safe_browsing/BUILD.gn
245209
+++ b/chrome/browser/safe_browsing/BUILD.gn
246210
@@ -7,6 +7,7 @@ import("//components/safe_browsing/build
@@ -251,23 +215,23 @@
251215
sources = [
252216
"chrome_controller_client.cc",
253217
"chrome_controller_client.h",
254-
@@ -81,6 +82,7 @@ static_library("safe_browsing") {
218+
@@ -82,6 +83,7 @@ static_library("safe_browsing") {
255219
"//services/metrics/public/cpp:ukm_builders",
256220
"//services/preferences/public/cpp",
257221
]
258222
+ }
259223

260224
if (enable_extensions) {
261225
deps += [ "//chrome/browser/ui/web_applications" ]
262-
@@ -616,6 +618,7 @@ static_library("advanced_protection") {
226+
@@ -614,6 +616,7 @@ static_library("advanced_protection") {
263227
}
264228

265229
source_set("metrics_collector") {
266230
+ if (false) {
267231
sources = [
268232
"safe_browsing_metrics_collector_factory.cc",
269233
"safe_browsing_metrics_collector_factory.h",
270-
@@ -635,6 +638,7 @@ source_set("metrics_collector") {
234+
@@ -633,6 +636,7 @@ source_set("metrics_collector") {
271235
"//components/safe_browsing/core/common:safe_browsing_prefs",
272236
"//content/public/browser",
273237
]
@@ -320,11 +284,47 @@
320284
#include "chrome/browser/ui/webui/downloads/downloads_list_tracker.h"
321285
--- a/chrome/renderer/chrome_content_renderer_client.cc
322286
+++ b/chrome/renderer/chrome_content_renderer_client.cc
323-
@@ -114,7 +114,6 @@
287+
@@ -111,7 +111,6 @@
324288
#include "components/pdf/common/pdf_util.h"
325289
#include "components/permissions/features.h"
326290
#include "components/safe_browsing/buildflags.h"
327291
-#include "components/safe_browsing/content/renderer/threat_dom_details.h"
328292
#include "components/sampling_profiler/process_type.h"
329293
#include "components/sampling_profiler/thread_profiler.h"
330294
#include "components/security_interstitials/content/renderer/security_interstitial_page_controller_delegate_impl.h"
295+
--- a/extensions/browser/blocklist_state_fetcher.cc
296+
+++ b/extensions/browser/blocklist_state_fetcher.cc
297+
@@ -67,8 +67,7 @@ void BlocklistStateFetcher::SendRequest(
298+
std::string request_str;
299+
request.SerializeToString(&request_str);
300+
301+
- GURL request_url = GURL(safe_browsing::GetReportUrl(
302+
- *safe_browsing_config_, "clientreport/crx-list-info"));
303+
+ GURL request_url = GURL();
304+
net::NetworkTrafficAnnotationTag traffic_annotation =
305+
net::DefineNetworkTrafficAnnotation("extension_blacklist", R"(
306+
semantics {
307+
@@ -132,12 +131,6 @@ void BlocklistStateFetcher::SendRequest(
308+
base::Unretained(this), fetcher));
309+
}
310+
311+
-void BlocklistStateFetcher::SetSafeBrowsingConfig(
312+
- const safe_browsing::V4ProtocolConfig& config) {
313+
- safe_browsing_config_ =
314+
- std::make_unique<safe_browsing::V4ProtocolConfig>(config);
315+
-}
316+
-
317+
void BlocklistStateFetcher::OnURLLoaderComplete(
318+
network::SimpleURLLoader* url_loader,
319+
std::unique_ptr<std::string> response_body) {
320+
--- a/extensions/browser/blocklist_state_fetcher.h
321+
+++ b/extensions/browser/blocklist_state_fetcher.h
322+
@@ -40,8 +40,6 @@ class BlocklistStateFetcher {
323+
324+
virtual void Request(const std::string& id, RequestCallback callback);
325+
326+
- void SetSafeBrowsingConfig(const safe_browsing::V4ProtocolConfig& config);
327+
-
328+
protected:
329+
void OnURLLoaderComplete(network::SimpleURLLoader* url_loader,
330+
std::unique_ptr<std::string> response_body);

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-
@@ -925,94 +925,6 @@ std::tuple<GURL, std::string> AutofillCr
3+
@@ -927,94 +927,6 @@ std::tuple<GURL, std::string> AutofillCr
44
}
55

66
bool AutofillCrowdsourcingManager::StartRequest(FormRequestData request_data) {

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-
@@ -458,14 +458,6 @@ group("gn_all") {
5+
@@ -457,14 +457,6 @@ group("gn_all") {
66
]
77
}
88

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ by default.
6868

6969
--- a/build/apple/tweak_info_plist.py
7070
+++ b/build/apple/tweak_info_plist.py
71-
@@ -212,7 +212,7 @@ def _AddKeystoneKeys(plist, bundle_ident
71+
@@ -218,7 +218,7 @@ def _AddKeystoneKeys(plist, bundle_ident
7272
also requires the |bundle_identifier| argument (com.example.product)."""
7373
plist['KSVersion'] = plist['CFBundleShortVersionString']
7474
plist['KSProductID'] = bundle_identifier
@@ -90,7 +90,7 @@ by default.
9090
// once per machine.
9191
--- a/chrome/browser/media/webrtc/webrtc_event_log_uploader.cc
9292
+++ b/chrome/browser/media/webrtc/webrtc_event_log_uploader.cc
93-
@@ -111,7 +111,7 @@ void OnURLLoadUploadProgress(uint64_t cu
93+
@@ -114,7 +114,7 @@ void OnURLLoadUploadProgress(uint64_t cu
9494
} // namespace
9595

9696
const char WebRtcEventLogUploaderImpl::kUploadURL[] =
@@ -101,7 +101,7 @@ by default.
101101
scoped_refptr<base::SequencedTaskRunner> task_runner)
102102
--- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc
103103
+++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc
104-
@@ -530,7 +530,7 @@ void WebRtcLogUploader::UploadCompressed
104+
@@ -529,7 +529,7 @@ void WebRtcLogUploader::UploadCompressed
105105
}
106106
})");
107107

@@ -145,7 +145,7 @@ by default.
145145
DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr;
146146
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
147147
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
148-
@@ -277,7 +277,7 @@ GURL SpellcheckHunspellDictionary::GetDi
148+
@@ -278,7 +278,7 @@ GURL SpellcheckHunspellDictionary::GetDi
149149
DCHECK(!bdict_file.empty());
150150

151151
static const char kDownloadServerUrl[] =
@@ -167,7 +167,7 @@ by default.
167167

168168
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
169169
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
170-
@@ -66,17 +66,17 @@ namespace {
170+
@@ -65,17 +65,17 @@ namespace {
171171
// The URL for the the Learn More page shown on incognito new tab.
172172
const char kLearnMoreIncognitoUrl[] =
173173
#if BUILDFLAG(IS_CHROMEOS)
@@ -214,20 +214,20 @@ by default.
214214

215215
// Launches the url directly with the user's default handler for |url|.
216216
bool NavigateToUrlWithHttps(const std::wstring& url) {
217-
--- a/chromeos/ash/components/geolocation/simple_geolocation_provider.h
218-
+++ b/chromeos/ash/components/geolocation/simple_geolocation_provider.h
219-
@@ -101,7 +101,7 @@ class COMPONENT_EXPORT(CHROMEOS_ASH_COMP
220-
221-
private:
222-
static constexpr char kGeolocationProviderUrl[] =
217+
--- a/chromeos/ash/components/geolocation/location_fetcher.h
218+
+++ b/chromeos/ash/components/geolocation/location_fetcher.h
219+
@@ -37,7 +37,7 @@ class GeolocationHandler;
220+
class COMPONENT_EXPORT(CHROMEOS_ASH_COMPONENTS_GEOLOCATION) LocationFetcher {
221+
public:
222+
static constexpr char kDefaultGeolocationProviderUrl[] =
223223
- "https://www.googleapis.com/geolocation/v1/geolocate?";
224224
+ "trk:215:https://www.googleapis.com/geolocation/v1/geolocate?";
225225

226-
// This class is a singleton.
227-
explicit SimpleGeolocationProvider(
226+
explicit LocationFetcher(
227+
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory);
228228
--- a/components/feedback/feedback_uploader.cc
229229
+++ b/components/feedback/feedback_uploader.cc
230-
@@ -40,7 +40,7 @@ constexpr base::FilePath::CharType kFeed
230+
@@ -43,7 +43,7 @@ constexpr base::FilePath::CharType kFeed
231231
FILE_PATH_LITERAL("Feedback Reports");
232232

233233
constexpr char kFeedbackPostUrl[] =
@@ -249,7 +249,7 @@ by default.
249249
url::Component query(0, static_cast<int>(str.length())), key, value;
250250
--- a/components/history/core/browser/web_history_service.cc
251251
+++ b/components/history/core/browser/web_history_service.cc
252-
@@ -44,13 +44,13 @@ namespace history {
252+
@@ -45,13 +45,13 @@ namespace history {
253253
namespace {
254254

255255
const char kHistoryQueryHistoryUrl[] =
@@ -268,7 +268,7 @@ by default.
268268

269269
--- a/components/safe_browsing/content/browser/client_side_detection_service.cc
270270
+++ b/components/safe_browsing/content/browser/client_side_detection_service.cc
271-
@@ -68,7 +68,7 @@ const int ClientSideDetectionService::kN
271+
@@ -67,7 +67,7 @@ const int ClientSideDetectionService::kN
272272
const int ClientSideDetectionService::kPositiveCacheIntervalMinutes = 30;
273273

274274
const char ClientSideDetectionService::kClientReportPhishingUrl[] =
@@ -279,7 +279,7 @@ by default.
279279
std::unique_ptr<network::SimpleURLLoader> loader;
280280
--- a/components/safe_search_api/safe_search/safe_search_url_checker_client.cc
281281
+++ b/components/safe_search_api/safe_search/safe_search_url_checker_client.cc
282-
@@ -27,7 +27,7 @@ namespace safe_search_api {
282+
@@ -28,7 +28,7 @@ namespace safe_search_api {
283283
namespace {
284284

285285
const char kSafeSearchApiUrl[] =
@@ -301,7 +301,7 @@ by default.
301301
base::Value::Dict dict;
302302
--- a/components/translate/core/browser/translate_url_fetcher.cc
303303
+++ b/components/translate/core/browser/translate_url_fetcher.cc
304-
@@ -97,6 +97,7 @@ bool TranslateURLFetcher::Request(const
304+
@@ -101,6 +101,7 @@ bool TranslateURLFetcher::Request(const
305305
resource_request->credentials_mode = network::mojom::CredentialsMode::kOmit;
306306
resource_request->headers.MergeFrom(extra_request_header_);
307307

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ the URL so we get notified if this happens again in the future).
2828
// Determine if any prefs need to be updated prior to showing the security
2929
--- a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
3030
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
31-
@@ -27,7 +27,7 @@ namespace safe_browsing {
31+
@@ -29,7 +29,7 @@ namespace safe_browsing {
3232
namespace {
3333

3434
const char kSbIncidentReportUrl[] =

patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This prevents trk:148 (phishing) and trk:149 (malware).
1313

1414
--- a/components/safe_browsing/content/browser/client_side_detection_service.cc
1515
+++ b/components/safe_browsing/content/browser/client_side_detection_service.cc
16-
@@ -281,6 +281,10 @@ void ClientSideDetectionService::StartCl
16+
@@ -277,6 +277,10 @@ void ClientSideDetectionService::StartCl
1717
return;
1818
}
1919

@@ -24,7 +24,7 @@ This prevents trk:148 (phishing) and trk:149 (malware).
2424
std::string request_data;
2525
request->SerializeToString(&request_data);
2626

27-
@@ -363,6 +367,7 @@ void ClientSideDetectionService::StartCl
27+
@@ -359,6 +363,7 @@ void ClientSideDetectionService::StartCl
2828
&WebUIContentInfoSingleton::AddToClientPhishingRequestsSent,
2929
base::Unretained(WebUIContentInfoSingleton::GetInstance()),
3030
std::move(request), access_token));

0 commit comments

Comments
 (0)