Adding CPU & Memory metrics for App
This commit is contained in:
parent
0d2aa5c027
commit
939747945e
9 changed files with 159 additions and 34 deletions
|
@ -408,6 +408,16 @@ void AtomBrowserClient::RenderProcessHostDestroyed(
|
|||
}
|
||||
}
|
||||
RemoveProcessPreferences(process_id);
|
||||
if (delegate_) {
|
||||
static_cast<api::App*>(delegate_)->RenderProcessDisconnected(host);
|
||||
}
|
||||
}
|
||||
|
||||
void AtomBrowserClient::RenderProcessReady(
|
||||
content::RenderProcessHost* host) {
|
||||
if (delegate_) {
|
||||
static_cast<api::App*>(delegate_)->RenderProcessReady(host);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace atom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue