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

Issue 519883002: Update the Website Settings page when the power consumption is updated. (Closed)

Created:
6 years, 3 months ago by Daniel Nishi
Modified:
6 years, 3 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Update the Website Settings page when the origin power map for the profile is updated. BUG=409093 Committed: https://crrev.com/828da409d7ffa5a837187eedf77af3f867f5ee31 Cr-Commit-Position: refs/heads/master@{#293177}

Patch Set 1 : #

Total comments: 11

Patch Set 2 : #

Patch Set 3 : Remove the Observer, replace with Subscription. #

Total comments: 2

Patch Set 4 : Comment updated. #

Patch Set 5 : Rebase. #

Patch Set 6 : Fix a bug where the Origin Map may not exist in tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -25 lines) Patch
M chrome/browser/power/process_power_collector.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/website_settings_handler.h View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/website_settings_handler.cc View 1 2 3 4 5 6 chunks +43 lines, -25 lines 0 comments Download
M components/power/origin_power_map.h View 1 2 3 4 chunks +12 lines, -0 lines 0 comments Download
M components/power/origin_power_map.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
Daniel Nishi
derat: PTAL at c/b/power/process_power_collector.cc and components/power/*. bauerb: PTAL at c/b/ui/webui/options/*.
6 years, 3 months ago (2014-08-29 18:27:38 UTC) #2
Bernhard Bauer
LGTM w/ a nit and a suggestion: https://codereview.chromium.org/519883002/diff/20001/chrome/browser/ui/webui/options/website_settings_handler.cc File chrome/browser/ui/webui/options/website_settings_handler.cc (left): https://codereview.chromium.org/519883002/diff/20001/chrome/browser/ui/webui/options/website_settings_handler.cc#oldcode34 chrome/browser/ui/webui/options/website_settings_handler.cc:34: Instead of ...
6 years, 3 months ago (2014-08-29 19:16:31 UTC) #3
Daniel Erat
https://codereview.chromium.org/519883002/diff/20001/chrome/browser/ui/webui/options/website_settings_handler.cc File chrome/browser/ui/webui/options/website_settings_handler.cc (left): https://codereview.chromium.org/519883002/diff/20001/chrome/browser/ui/webui/options/website_settings_handler.cc#oldcode34 chrome/browser/ui/webui/options/website_settings_handler.cc:34: On 2014/08/29 19:16:31, Bernhard Bauer wrote: > Instead of ...
6 years, 3 months ago (2014-08-29 21:14:02 UTC) #4
Daniel Nishi
https://codereview.chromium.org/519883002/diff/20001/chrome/browser/ui/webui/options/website_settings_handler.cc File chrome/browser/ui/webui/options/website_settings_handler.cc (left): https://codereview.chromium.org/519883002/diff/20001/chrome/browser/ui/webui/options/website_settings_handler.cc#oldcode34 chrome/browser/ui/webui/options/website_settings_handler.cc:34: On 2014/08/29 19:16:31, Bernhard Bauer wrote: > Instead of ...
6 years, 3 months ago (2014-09-02 16:30:30 UTC) #5
Bernhard Bauer
https://codereview.chromium.org/519883002/diff/20001/components/power/origin_power_map_observer.h File components/power/origin_power_map_observer.h (right): https://codereview.chromium.org/519883002/diff/20001/components/power/origin_power_map_observer.h#newcode13 components/power/origin_power_map_observer.h:13: virtual void OnPowerConsumptionUpdated() = 0; On 2014/09/02 16:30:30, Daniel ...
6 years, 3 months ago (2014-09-02 16:39:57 UTC) #6
Daniel Nishi
https://codereview.chromium.org/519883002/diff/20001/components/power/origin_power_map_observer.h File components/power/origin_power_map_observer.h (right): https://codereview.chromium.org/519883002/diff/20001/components/power/origin_power_map_observer.h#newcode13 components/power/origin_power_map_observer.h:13: virtual void OnPowerConsumptionUpdated() = 0; On 2014/09/02 16:39:57, Bernhard ...
6 years, 3 months ago (2014-09-02 17:10:09 UTC) #7
Bernhard Bauer
Thank you!
6 years, 3 months ago (2014-09-02 17:11:47 UTC) #8
Daniel Erat
lgtm https://codereview.chromium.org/519883002/diff/80001/components/power/origin_power_map.h File components/power/origin_power_map.h (right): https://codereview.chromium.org/519883002/diff/80001/components/power/origin_power_map.h#newcode38 components/power/origin_power_map.h:38: // Adds a callback for when the power ...
6 years, 3 months ago (2014-09-02 17:14:40 UTC) #9
Daniel Nishi
https://codereview.chromium.org/519883002/diff/80001/components/power/origin_power_map.h File components/power/origin_power_map.h (right): https://codereview.chromium.org/519883002/diff/80001/components/power/origin_power_map.h#newcode38 components/power/origin_power_map.h:38: // Adds a callback for when the power consumption ...
6 years, 3 months ago (2014-09-02 17:32:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhnishi@chromium.org/519883002/100001
6 years, 3 months ago (2014-09-02 17:33:28 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-02 18:32:21 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/9202)
6 years, 3 months ago (2014-09-02 19:01:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhnishi@chromium.org/519883002/140001
6 years, 3 months ago (2014-09-03 17:50:44 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:140001) as 47eafae382b66f5ec83eb1625fa03158cb309ccb
6 years, 3 months ago (2014-09-03 18:44:23 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:27:06 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/828da409d7ffa5a837187eedf77af3f867f5ee31
Cr-Commit-Position: refs/heads/master@{#293177}

Powered by Google App Engine
This is Rietveld 408576698