Samuel Attard 2018-07-22 00:27:38 +10:00 committed by Aleksei Kuzmin
parent 833b55107d
commit 14df89f214
9 changed files with 27 additions and 67 deletions

View file

@ -153,7 +153,6 @@ void AtomSandboxedRendererClient::InitializeBindings(
b.SetMethod("getPid", &base::GetCurrentProcId);
b.SetMethod("getResourcesPath", &NodeBindings::GetHelperResourcesPath);
b.SetMethod("getHeapStatistics", &AtomBindings::GetHeapStatistics);
b.SetMethod("getProcessMemoryInfo", &AtomBindings::GetProcessMemoryInfo);
b.SetMethod("getSystemMemoryInfo", &AtomBindings::GetSystemMemoryInfo);
b.SetMethod("getCPUUsage", base::Bind(&AtomBindings::GetCPUUsage,
base::Unretained(metrics_.get())));