chore: bump chromium to 124.0.6323.0 (30-x-y) (#41475)
* chore: bump chromium in DEPS to 124.0.6315.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: update patches Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * 5279678: Stream AIDA responses5279678
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * 5276439: Remove non_network_url_loader_factory_remotes_5276439
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * 5310165: Add DevTools API to show search results5310165
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * chore: bump chromium in DEPS to 124.0.6317.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: update patches Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * Remove Setup.Install.CumulativeDiskUsage2 and supporting code5314269
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * browser: Make cmd line non-const in process singleton callback5311256
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * chore: bump chromium in DEPS to 124.0.6319.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: bump chromium in DEPS to 124.0.6321.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: bump chromium in DEPS to 124.0.6323.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * 5318335: Roll src/third_party/boringssl/src 23824fa0f..4fe29ebc75318335
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * 5318051: [CBE Watermarking] Hoist `watermark_view` to a member variable.5318051
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * chore: fixup patch indices Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * 4946553: Delegate HID permission to Chrome App in webview4946553
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * 5310001: DevTools UI binding for reporting client events to AIDA5310001
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * Refactor the predicate taking variant of `__cxx_atomic_wait` Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * chore: fix browser_view patch harder Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * 5293937: Reland "[gUM] Use preferred device if more than one is eligible"5293937
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * fix: filter {video|audio} devices by eligible device id Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * 5267921: enable speak content under the pointer on PWA and WV25267921
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * 5310195: heap: Remove Blink's GCTaskRunner5310195
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> --------- 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> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
105acec227
commit
56dfcc5468
84 changed files with 416 additions and 308 deletions
|
@ -13,7 +13,6 @@
|
|||
#include "base/logging.h"
|
||||
#include "base/process/process.h"
|
||||
#include "base/process/process_handle.h"
|
||||
#include "base/process/process_metrics_iocounters.h"
|
||||
#include "base/system/sys_info.h"
|
||||
#include "services/resource_coordinator/public/cpp/memory_instrumentation/global_memory_dump.h"
|
||||
#include "services/resource_coordinator/public/cpp/memory_instrumentation/memory_instrumentation.h"
|
||||
|
@ -55,7 +54,6 @@ void ElectronBindings::BindProcess(v8::Isolate* isolate,
|
|||
process->SetMethod("getSystemMemoryInfo", &GetSystemMemoryInfo);
|
||||
process->SetMethod("getSystemVersion",
|
||||
&base::SysInfo::OperatingSystemVersion);
|
||||
process->SetMethod("getIOCounters", &GetIOCounters);
|
||||
process->SetMethod("getCPUUsage",
|
||||
base::BindRepeating(&ElectronBindings::GetCPUUsage,
|
||||
base::Unretained(metrics)));
|
||||
|
@ -293,24 +291,6 @@ v8::Local<v8::Value> ElectronBindings::GetCPUUsage(
|
|||
return dict.GetHandle();
|
||||
}
|
||||
|
||||
// static
|
||||
v8::Local<v8::Value> ElectronBindings::GetIOCounters(v8::Isolate* isolate) {
|
||||
auto metrics = base::ProcessMetrics::CreateCurrentProcessMetrics();
|
||||
base::IoCounters io_counters;
|
||||
auto dict = gin_helper::Dictionary::CreateEmpty(isolate);
|
||||
|
||||
if (metrics->GetIOCounters(&io_counters)) {
|
||||
dict.Set("readOperationCount", io_counters.ReadOperationCount);
|
||||
dict.Set("writeOperationCount", io_counters.WriteOperationCount);
|
||||
dict.Set("otherOperationCount", io_counters.OtherOperationCount);
|
||||
dict.Set("readTransferCount", io_counters.ReadTransferCount);
|
||||
dict.Set("writeTransferCount", io_counters.WriteTransferCount);
|
||||
dict.Set("otherTransferCount", io_counters.OtherTransferCount);
|
||||
}
|
||||
|
||||
return dict.GetHandle();
|
||||
}
|
||||
|
||||
// static
|
||||
bool ElectronBindings::TakeHeapSnapshot(v8::Isolate* isolate,
|
||||
const base::FilePath& file_path) {
|
||||
|
|
|
@ -69,7 +69,6 @@ class ElectronBindings {
|
|||
static v8::Local<v8::Value> GetBlinkMemoryInfo(v8::Isolate* isolate);
|
||||
static v8::Local<v8::Value> GetCPUUsage(base::ProcessMetrics* metrics,
|
||||
v8::Isolate* isolate);
|
||||
static v8::Local<v8::Value> GetIOCounters(v8::Isolate* isolate);
|
||||
static bool TakeHeapSnapshot(v8::Isolate* isolate,
|
||||
const base::FilePath& file_path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue