Adding CPU & Memory metrics for App

This commit is contained in:
Hari Juturu 2017-05-15 17:41:45 -07:00 committed by Hari Krishna Reddy Juturu
parent 0d2aa5c027
commit 939747945e
9 changed files with 159 additions and 34 deletions

View file

@ -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