diff options
author | dhnishi <dhnishi@chromium.org> | 2014-08-26 15:25:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-26 22:30:36 +0000 |
commit | 3cf1d2aa622e9513c593fff948b6df149737e8d2 (patch) | |
tree | c01ccc64136c0e92f5ea3fa46ede8114ae38f59e /apps | |
parent | bc9cd5f5dab93e2867c791b3512edc0f5f84184b (diff) | |
download | chromium_src-3cf1d2aa622e9513c593fff948b6df149737e8d2.zip chromium_src-3cf1d2aa622e9513c593fff948b6df149737e8d2.tar.gz chromium_src-3cf1d2aa622e9513c593fff948b6df149737e8d2.tar.bz2 |
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}
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_window.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<AppWindowContents> contents) { + app_window_contents_ = contents.Pass(); + } + protected: virtual ~AppWindow(); |