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:3927793
* chore: sync patch to unrelated upstream code shear patches/chromium/printing.patch Xref:3927793
* chore: sync patch to unrelated upstream code shear patches/chromium/chore_add_electron_deps_to_gitignores.patch Xref:3906023
* chore: refresh patches - `e patches all` * chore: remove unused parameter from WillCreateURLLoaderRequestInterceptors Xref:3932218
* perf: avoid unique pointer round trip Xref:3913938
* refactor: Simplify entropy provider management. Xref:3901211
* fixup! perf: avoid unique pointer round trip * fixup! perf: avoid unique pointer round trip * refactor: update typeof FileSelectHelper::select_file_dialog_ Xref: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 Refs3929014
* Update proxy resolution to use NAK - Part 2 Refs3934016
* Disable PreconnectManager when the user disabled preloading. Refs3928470
Refs3937183
* chore: update patches * chore: update sysroot * linux: Remove breakpad integration Refs3764621
* 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>
This commit is contained in:
parent
bcafe8f654
commit
f2c341b655
95 changed files with 484 additions and 1001 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue