Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 17074009: Created multi-process-friendly PowerMonitor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed nits Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index a9ea4d9f6b27d7f16168eb623d372fe496b0285a..3e81560d10516a181db7afa3baed270ac37e76f1 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -410,7 +410,8 @@ RenderProcessHostImpl::RenderProcessHostImpl(
ignore_input_events_(false),
supports_browser_plugin_(supports_browser_plugin),
is_guest_(is_guest),
- gpu_observer_registered_(false) {
+ gpu_observer_registered_(false),
+ power_monitor_broadcaster_(this) {
widget_helper_ = new RenderWidgetHelper();
ChildProcessSecurityPolicyImpl::GetInstance()->Add(GetID());

Powered by Google App Engine
This is Rietveld 408576698