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

Unified Diff: content/child/child_thread.h

Issue 17074009: Created multi-process-friendly PowerMonitor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Further simplifying based on @piman's feedback 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/child/child_thread.h
diff --git a/content/child/child_thread.h b/content/child/child_thread.h
index 173fa2f6545d2a69f4ed7b5b6ecabdc44bcdb973..c84b60222ce57cced7adf250d2f5440759de3ce9 100644
--- a/content/child/child_thread.h
+++ b/content/child/child_thread.h
@@ -9,6 +9,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
#include "base/memory/weak_ptr.h"
+#include "base/power_monitor/power_monitor.h"
+#include "base/timer/hi_res_timer_manager.h"
#include "base/tracked_objects.h"
#include "content/common/content_export.h"
#include "content/common/message_router.h"
@@ -201,6 +203,9 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
// starts profiling the tcmalloc heap.
scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
+ scoped_ptr<base::PowerMonitor> power_monitor_;
+ scoped_ptr<base::HighResolutionTimerManager> hi_res_timer_manager_;
+
DISALLOW_COPY_AND_ASSIGN(ChildThread);
};

Powered by Google App Engine
This is Rietveld 408576698