From 3cf1d2aa622e9513c593fff948b6df149737e8d2 Mon Sep 17 00:00:00 2001 From: dhnishi Date: Tue, 26 Aug 2014 15:25:07 -0700 Subject: Add ProcessPowerCollector to audit CPU and power information. This is part of the battery auditing feature, which will be surfaced in the Website Settings options page in the next patch. BUG=372598 Review URL: https://codereview.chromium.org/472383002 Cr-Commit-Position: refs/heads/master@{#291999} --- apps/app_window.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') diff --git a/apps/app_window.h b/apps/app_window.h index a7f2293..1379922 100644 --- a/apps/app_window.h +++ b/apps/app_window.h @@ -347,6 +347,10 @@ class AppWindow : public content::NotificationObserver, // Whether the app window wants to be alpha enabled. bool requested_alpha_enabled() const { return requested_alpha_enabled_; } + void SetAppWindowContentsForTesting(scoped_ptr contents) { + app_window_contents_ = contents.Pass(); + } + protected: virtual ~AppWindow(); -- cgit v1.1