Skip to content

Commit 2617072

Browse files
committed
Update to Chromium 128.0.6613.84
1 parent 45d389b commit 2617072

File tree

76 files changed

+1504
-1431
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

+1504
-1431
lines changed

chromium_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
127.0.6533.119
1+
128.0.6613.84

domain_substitution.list

Lines changed: 210 additions & 344 deletions
Large diffs are not rendered by default.

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

Lines changed: 48 additions & 135 deletions
Large diffs are not rendered by default.

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

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

55
bool IsComponentExtensionAllowlisted(const std::string& extension_id) {
6-
const char* const kAllowed[] = {
7-
- extension_misc::kInAppPaymentsSupportAppId,
8-
extension_misc::kPdfExtensionId,
6+
constexpr auto kAllowed = base::MakeFixedFlatSet<std::string_view>({
7+
- extension_misc::kInAppPaymentsSupportAppId,
8+
extension_misc::kPdfExtensionId,
99
#if BUILDFLAG(IS_CHROMEOS)
10-
extension_misc::kAssessmentAssistantExtensionId,
10+
extension_misc::kAssessmentAssistantExtensionId,
1111
--- a/chrome/browser/extensions/component_loader.cc
1212
+++ b/chrome/browser/extensions/component_loader.cc
1313
@@ -410,11 +410,6 @@ void ComponentLoader::AddWebStoreApp() {

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-
@@ -465,14 +465,6 @@ group("gn_all") {
5+
@@ -463,14 +463,6 @@ group("gn_all") {
66
deps += [ "//chromeos:chromeos_unittests" ]
77
}
88

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

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ by default.
326326
std::unique_ptr<network::SimpleURLLoader> loader;
327327
--- a/components/safe_search_api/safe_search/safe_search_url_checker_client.cc
328328
+++ b/components/safe_search_api/safe_search/safe_search_url_checker_client.cc
329-
@@ -28,7 +28,7 @@ namespace safe_search_api {
329+
@@ -27,7 +27,7 @@ namespace safe_search_api {
330330
namespace {
331331

332332
const char kSafeSearchApiUrl[] =
@@ -391,7 +391,7 @@ by default.
391391

392392
--- a/content/browser/webauth/webauth_request_security_checker.h
393393
+++ b/content/browser/webauth/webauth_request_security_checker.h
394-
@@ -86,9 +86,9 @@ class CONTENT_EXPORT WebAuthRequestSecur
394+
@@ -87,9 +87,9 @@ class CONTENT_EXPORT WebAuthRequestSecur
395395
// Legacy App IDs, which google.com origins are allowed to assert for
396396
// compatibility reasons.
397397
static constexpr char kGstaticAppId[] =
@@ -432,7 +432,7 @@ by default.
432432
const char kExtensionsMenuUtmSource[] = "ext_extensions_menu";
433433
--- a/google_apis/gaia/gaia_constants.cc
434434
+++ b/google_apis/gaia/gaia_constants.cc
435-
@@ -14,157 +14,157 @@ const char kChromeSource[] = "ChromiumBr
435+
@@ -14,166 +14,166 @@ const char kChromeSource[] = "ChromiumBr
436436
const char kUnexpectedServiceResponse[] = "UnexpectedServiceResponse";
437437

438438
// OAuth scopes.
@@ -495,6 +495,17 @@ by default.
495495
- "https://www.googleapis.com/auth/peopleapi.readonly";
496496
+ "trk:081:https://www.googleapis.com/auth/peopleapi.readonly";
497497

498+
// OAuth2 scope for access to the people API (read-write).
499+
const char kPeopleApiReadWriteOAuth2Scope[] =
500+
- "https://www.googleapis.com/auth/peopleapi.readwrite";
501+
+ "trk:115:https://www.googleapis.com/auth/peopleapi.readwrite";
502+
503+
// OAuth2 scope for access to the people API person's locale preferences
504+
// (read-only).
505+
const char kProfileLanguageReadOnlyOAuth2Scope[] =
506+
- "https://www.googleapis.com/auth/profile.language.read";
507+
+ "trk:116:https://www.googleapis.com/auth/profile.language.read";
508+
498509
// OAuth2 scope for access to the programmatic challenge API (read-only).
499510
const char kProgrammaticChallengeOAuth2Scope[] =
500511
- "https://www.googleapis.com/auth/accounts.programmaticchallenge";

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+
@@ -305,11 +305,14 @@ IncidentReportingService::UploadContext:
4343

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

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-
@@ -274,6 +274,10 @@ void ClientSideDetectionService::StartCl
16+
@@ -271,6 +271,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-
@@ -353,6 +357,7 @@ void ClientSideDetectionService::StartCl
27+
@@ -350,6 +354,7 @@ void ClientSideDetectionService::StartCl
2828
base::BindOnce(&WebUIInfoSingleton::AddToClientPhishingRequestsSent,
2929
base::Unretained(WebUIInfoSingleton::GetInstance()),
3030
std::move(request), access_token));

patches/core/ungoogled-chromium/block-trk-and-subdomains.patch

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
--- a/components/omnibox/browser/autocomplete_input.cc
3737
+++ b/components/omnibox/browser/autocomplete_input.cc
38-
@@ -582,7 +582,8 @@ void AutocompleteInput::ParseForEmphasiz
38+
@@ -592,7 +592,8 @@ void AutocompleteInput::ParseForEmphasiz
3939
// For the view-source and blob schemes, we should emphasize the host of the
4040
// URL qualified by the view-source or blob prefix.
4141
if ((base::EqualsCaseInsensitiveASCII(scheme_str, kViewSourceScheme) ||
@@ -60,7 +60,7 @@
6060
return GURL(parts.scheme.is_valid() ? text : FixupPath(text));
6161
--- a/content/browser/child_process_security_policy_impl.cc
6262
+++ b/content/browser/child_process_security_policy_impl.cc
63-
@@ -852,6 +852,7 @@ ChildProcessSecurityPolicyImpl::ChildPro
63+
@@ -855,6 +855,7 @@ ChildProcessSecurityPolicyImpl::ChildPro
6464
RegisterWebSafeScheme(url::kWssScheme);
6565
#endif // BUILDFLAG(ENABLE_WEBSOCKETS)
6666
RegisterWebSafeScheme(url::kDataScheme);
@@ -70,7 +70,7 @@
7070
// other origins, so we should not treat them as web safe. Remove callers of
7171
--- a/net/BUILD.gn
7272
+++ b/net/BUILD.gn
73-
@@ -998,6 +998,8 @@ component("net") {
73+
@@ -1030,6 +1030,8 @@ component("net") {
7474
"url_request/referrer_policy.h",
7575
"url_request/static_http_user_agent_settings.cc",
7676
"url_request/static_http_user_agent_settings.h",
@@ -142,23 +142,23 @@
142142
+#endif // NET_URL_REQUEST_TRK_PROTOCOL_HANDLER_H_
143143
--- a/net/url_request/url_request.cc
144144
+++ b/net/url_request/url_request.cc
145-
@@ -12,6 +12,7 @@
146-
#include "base/functional/callback_helpers.h"
145+
@@ -13,6 +13,7 @@
147146
#include "base/metrics/histogram_macros.h"
147+
#include "base/notreached.h"
148148
#include "base/rand_util.h"
149149
+#include "base/strings/string_util.h"
150150
#include "base/strings/utf_string_conversions.h"
151151
#include "base/synchronization/lock.h"
152152
#include "base/task/single_thread_task_runner.h"
153-
@@ -49,6 +50,7 @@
153+
@@ -51,6 +52,7 @@
154154
#include "net/url_request/url_request_redirect_job.h"
155155
#include "url/gurl.h"
156156
#include "url/origin.h"
157157
+#include "url/url_constants.h"
158158

159159
namespace net {
160160

161-
@@ -605,6 +607,12 @@ URLRequest::URLRequest(base::PassKey<URL
161+
@@ -618,6 +620,12 @@ URLRequest::URLRequest(base::PassKey<URL
162162
// Sanity check out environment.
163163
DCHECK(base::SingleThreadTaskRunner::HasCurrentDefault());
164164

@@ -173,15 +173,15 @@
173173
return NetLogURLRequestConstructorParams(url, priority_,
174174
--- a/net/url_request/url_request_context_builder.cc
175175
+++ b/net/url_request/url_request_context_builder.cc
176-
@@ -48,6 +48,7 @@
176+
@@ -49,6 +49,7 @@
177177
#include "net/socket/network_binding_client_socket_factory.h"
178178
#include "net/ssl/ssl_config_service_defaults.h"
179179
#include "net/url_request/static_http_user_agent_settings.h"
180180
+#include "net/url_request/trk_protocol_handler.h"
181181
#include "net/url_request/url_request_context.h"
182182
#include "net/url_request/url_request_job_factory.h"
183183
#include "url/url_constants.h"
184-
@@ -584,6 +585,9 @@ std::unique_ptr<URLRequestContext> URLRe
184+
@@ -592,6 +593,9 @@ std::unique_ptr<URLRequestContext> URLRe
185185
}
186186
protocol_handlers_.clear();
187187

@@ -193,7 +193,7 @@
193193
if (cookie_deprecation_label_.has_value()) {
194194
--- a/url/url_constants.h
195195
+++ b/url/url_constants.h
196-
@@ -52,6 +52,8 @@ inline constexpr char kMaterializedViewS
196+
@@ -50,6 +50,8 @@ inline constexpr char kMaterializedViewS
197197
inline constexpr char kSteamScheme[] = "steam";
198198
inline constexpr char kTelScheme[] = "tel";
199199
inline constexpr char16_t kTelScheme16[] = u"tel";
@@ -204,15 +204,15 @@
204204
inline constexpr char kUuidInPackageScheme[] = "uuid-in-package";
205205
--- a/url/url_util.cc
206206
+++ b/url/url_util.cc
207-
@@ -79,6 +79,7 @@ struct SchemeRegistry {
207+
@@ -84,6 +84,7 @@ struct SchemeRegistry {
208208
kWssScheme,
209209
kDataScheme,
210210
kAboutScheme,
211211
+ kTraceScheme,
212212
};
213213

214214
// Schemes that normal pages cannot link to or access (i.e., with the same
215-
@@ -93,6 +94,7 @@ struct SchemeRegistry {
215+
@@ -98,6 +99,7 @@ struct SchemeRegistry {
216216
kAboutScheme,
217217
kJavaScriptScheme,
218218
kDataScheme,

patches/core/ungoogled-chromium/disable-crash-reporter.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
--- a/chrome/browser/chrome_content_browser_client.cc
44
+++ b/chrome/browser/chrome_content_browser_client.cc
5-
@@ -2576,24 +2576,6 @@ void ChromeContentBrowserClient::AppendE
5+
@@ -2707,24 +2707,6 @@ void ChromeContentBrowserClient::AppendE
66
command_line->AppendSwitchASCII(switches::kMetricsClientID,
77
client_info->client_id);
88
}
@@ -29,7 +29,7 @@
2929
if (logging::DialogsAreSuppressed())
3030
--- a/components/crash/core/app/crashpad.cc
3131
+++ b/components/crash/core/app/crashpad.cc
32-
@@ -81,6 +81,12 @@ void InitializeDatabasePath(const base::
32+
@@ -68,6 +68,12 @@ void InitializeDatabasePath(const base::
3333
}
3434

3535
bool InitializeCrashpadImpl(bool initial_client,

0 commit comments

Comments
 (0)