mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: bump chromium to 108.0.5355.0 (22-x-y) (#36056)
* chore: bump chromium to 108.0.5355.0 (main) (#35900) * chore: bump chromium in DEPS to 108.0.5339.0 * chore: bump chromium in DEPS to 108.0.5341.0 * chore: sync patch to unrelated upstream code shear patches/chromium/network_service_allow_remote_certificate_verification_logic.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3927793 * chore: sync patch to unrelated upstream code shear patches/chromium/printing.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3927793 * chore: sync patch to unrelated upstream code shear patches/chromium/chore_add_electron_deps_to_gitignores.patch Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3906023 * chore: refresh patches - `e patches all` * chore: remove unused parameter from WillCreateURLLoaderRequestInterceptors Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3932218 * perf: avoid unique pointer round trip Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3913938 * refactor: Simplify entropy provider management. Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3901211 * fixup! perf: avoid unique pointer round trip * fixup! perf: avoid unique pointer round trip * refactor: update typeof FileSelectHelper::select_file_dialog_ Xref: https://chromium-review.googlesource.com/c/chromium/src/+/3930092 * fixup! fixup! perf: avoid unique pointer round trip * chore: bump chromium in DEPS to 108.0.5343.0 * chore: update patches * chore: bump chromium in DEPS to 108.0.5345.0 * chore: bump chromium in DEPS to 108.0.5347.0 * chore: bump chromium in DEPS to 108.0.5349.0 * chore: bump chromium in DEPS to 108.0.5351.0 * chore: bump chromium in DEPS to 108.0.5353.0 * chore: bump chromium in DEPS to 108.0.5355.0 * chore: update patches * Refactor display::win::DisplayInfo to display::win::internal::DisplayInfo Refs https://chromium-review.googlesource.com/c/chromium/src/+/3929014 * Update proxy resolution to use NAK - Part 2 Refs https://chromium-review.googlesource.com/c/chromium/src/+/3934016 * Disable PreconnectManager when the user disabled preloading. Refs https://chromium-review.googlesource.com/c/chromium/src/+/3928470 Refs https://chromium-review.googlesource.com/c/chromium/src/+/3937183 * chore: update patches * chore: update sysroot * linux: Remove breakpad integration Refs https://chromium-review.googlesource.com/c/chromium/src/+/3764621 * chore: update comments Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com> Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com> Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: fixup patches Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
@@ -27,14 +27,7 @@ namespace electron::crash_keys {
|
||||
|
||||
namespace {
|
||||
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
// Breakpad has a flawed system of calculating the number of chunks
|
||||
// we add 127 bytes to force an extra chunk
|
||||
constexpr size_t kMaxCrashKeyValueSize = 20479;
|
||||
#else
|
||||
constexpr size_t kMaxCrashKeyValueSize = 20320;
|
||||
#endif
|
||||
|
||||
static_assert(kMaxCrashKeyValueSize < crashpad::Annotation::kValueMaxSize,
|
||||
"max crash key value length above what crashpad supports");
|
||||
|
||||
@@ -53,14 +46,8 @@ std::deque<std::string>& GetExtraCrashKeyNames() {
|
||||
} // namespace
|
||||
|
||||
constexpr uint32_t kMaxCrashKeyNameLength = 40;
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
static_assert(kMaxCrashKeyNameLength <=
|
||||
crash_reporter::internal::kCrashKeyStorageKeySize,
|
||||
"max crash key name length above what breakpad supports");
|
||||
#else
|
||||
static_assert(kMaxCrashKeyNameLength <= crashpad::Annotation::kNameMaxLength,
|
||||
"max crash key name length above what crashpad supports");
|
||||
#endif
|
||||
|
||||
void SetCrashKey(const std::string& key, const std::string& value) {
|
||||
// Chrome DCHECK()s if we try to set an annotation with a name longer than
|
||||
@@ -122,18 +109,6 @@ bool IsRunningAsNode() {
|
||||
} // namespace
|
||||
|
||||
void SetCrashKeysFromCommandLine(const base::CommandLine& command_line) {
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
if (command_line.HasSwitch(switches::kGlobalCrashKeys)) {
|
||||
std::vector<std::pair<std::string, std::string>> global_crash_keys;
|
||||
base::SplitStringIntoKeyValuePairs(
|
||||
command_line.GetSwitchValueASCII(switches::kGlobalCrashKeys), '=', ',',
|
||||
&global_crash_keys);
|
||||
for (const auto& pair : global_crash_keys) {
|
||||
SetCrashKey(pair.first, pair.second);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// NB. this is redundant with the 'ptype' key that //components/crash
|
||||
// reports; it's present for backwards compatibility.
|
||||
static crash_reporter::CrashKeyString<16> process_type_key("process_type");
|
||||
|
||||
@@ -267,8 +267,6 @@ const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
|
||||
// If set, NTLM v2 is disabled for POSIX platforms.
|
||||
const char kDisableNTLMv2[] = "disable-ntlm-v2";
|
||||
|
||||
const char kGlobalCrashKeys[] = "global-crash-keys";
|
||||
|
||||
const char kEnableWebSQL[] = "enable-websql";
|
||||
|
||||
} // namespace switches
|
||||
|
||||
@@ -130,8 +130,6 @@ extern const char kAuthNegotiateDelegateWhitelist[];
|
||||
extern const char kEnableAuthNegotiatePort[];
|
||||
extern const char kDisableNTLMv2[];
|
||||
|
||||
extern const char kGlobalCrashKeys[];
|
||||
|
||||
extern const char kEnableWebSQL[];
|
||||
} // namespace switches
|
||||
|
||||
|
||||
Reference in New Issue
Block a user