Skip to content

Commit

Permalink
fix: expose process.getProcessMemoryInfo to sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Apr 3, 2019
1 parent 61fddb6 commit ba31a4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions atom/renderer/atom_sandboxed_renderer_client.cc
Expand Up @@ -158,6 +158,7 @@ void AtomSandboxedRendererClient::InitializeBindings(
process.SetMethod("hang", AtomBindings::Hang);
process.SetMethod("getHeapStatistics", &AtomBindings::GetHeapStatistics);
process.SetMethod("getSystemMemoryInfo", &AtomBindings::GetSystemMemoryInfo);
process.SetMethod("getSystemMemoryInfo", &AtomBindings::GetProcessMemoryInfo);
process.SetMethod(
"getCPUUsage",
base::Bind(&AtomBindings::GetCPUUsage, base::Unretained(metrics_.get())));
Expand Down

0 comments on commit ba31a4b

Please sign in to comment.