chore: bump chromium to 114.0.5710.0 (main) (#37950)
* chore: bump chromium in DEPS to 114.0.5710.0 * chore: update patches * 4411421: [json-schema-compiler] Support separating numbers in enum entries |4411421
* 4400251: Remove MayBlock and TaskShutdownBehavior from BrowserTaskTraits |4400251
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Keeley Hammond <vertedinde@electronjs.org> Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
This commit is contained in:
parent
2ad1324b9d
commit
33a625d0ee
16 changed files with 58 additions and 59 deletions
|
@ -45,13 +45,13 @@ void ElectronRuntimeAPIDelegate::OpenURL(const GURL& uninstall_url) {}
|
|||
bool ElectronRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
|
||||
const char* os = update_client::UpdateQueryParams::GetOS();
|
||||
if (strcmp(os, "mac") == 0) {
|
||||
info->os = extensions::api::runtime::PLATFORM_OS_MAC;
|
||||
info->os = extensions::api::runtime::PlatformOs::kMac;
|
||||
} else if (strcmp(os, "win") == 0) {
|
||||
info->os = extensions::api::runtime::PLATFORM_OS_WIN;
|
||||
info->os = extensions::api::runtime::PlatformOs::kWin;
|
||||
} else if (strcmp(os, "linux") == 0) {
|
||||
info->os = extensions::api::runtime::PLATFORM_OS_LINUX;
|
||||
info->os = extensions::api::runtime::PlatformOs::kLinux;
|
||||
} else if (strcmp(os, "openbsd") == 0) {
|
||||
info->os = extensions::api::runtime::PLATFORM_OS_OPENBSD;
|
||||
info->os = extensions::api::runtime::PlatformOs::kOpenbsd;
|
||||
} else {
|
||||
NOTREACHED();
|
||||
return false;
|
||||
|
@ -59,13 +59,13 @@ bool ElectronRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
|
|||
|
||||
const char* arch = update_client::UpdateQueryParams::GetArch();
|
||||
if (strcmp(arch, "arm") == 0) {
|
||||
info->arch = extensions::api::runtime::PLATFORM_ARCH_ARM;
|
||||
info->arch = extensions::api::runtime::PlatformArch::kArm;
|
||||
} else if (strcmp(arch, "arm64") == 0) {
|
||||
info->arch = extensions::api::runtime::PLATFORM_ARCH_ARM64;
|
||||
info->arch = extensions::api::runtime::PlatformArch::kArm64;
|
||||
} else if (strcmp(arch, "x86") == 0) {
|
||||
info->arch = extensions::api::runtime::PLATFORM_ARCH_X86_32;
|
||||
info->arch = extensions::api::runtime::PlatformArch::kX86_32;
|
||||
} else if (strcmp(arch, "x64") == 0) {
|
||||
info->arch = extensions::api::runtime::PLATFORM_ARCH_X86_64;
|
||||
info->arch = extensions::api::runtime::PlatformArch::kX86_64;
|
||||
} else {
|
||||
NOTREACHED();
|
||||
return false;
|
||||
|
@ -73,14 +73,14 @@ bool ElectronRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
|
|||
|
||||
const char* nacl_arch = update_client::UpdateQueryParams::GetNaclArch();
|
||||
if (strcmp(nacl_arch, "arm") == 0) {
|
||||
info->nacl_arch = extensions::api::runtime::PLATFORM_NACL_ARCH_ARM;
|
||||
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kArm;
|
||||
} else if (strcmp(nacl_arch, "arm64") == 0) {
|
||||
// Use ARM for ARM64 NaCl, as ARM64 NaCl is not available.
|
||||
info->nacl_arch = extensions::api::runtime::PLATFORM_NACL_ARCH_ARM;
|
||||
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kArm;
|
||||
} else if (strcmp(nacl_arch, "x86-32") == 0) {
|
||||
info->nacl_arch = extensions::api::runtime::PLATFORM_NACL_ARCH_X86_32;
|
||||
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kX86_32;
|
||||
} else if (strcmp(nacl_arch, "x86-64") == 0) {
|
||||
info->nacl_arch = extensions::api::runtime::PLATFORM_NACL_ARCH_X86_64;
|
||||
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kX86_64;
|
||||
} else {
|
||||
NOTREACHED();
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue