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

Issue 2460823002: Decouple Power Monitor from //content. (Closed)

Created:
4 years, 1 month ago by ke.he
Modified:
4 years, 1 month ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Decouple Power Monitor from //content. Move power monitor implmentations from //content into //device/power_monitor Unittests are also moved from content_unittests target to device_unittests. BUG=647247 Committed: https://crrev.com/bef9909734ebaa1fd830652cc11c68528fb3d06e Cr-Commit-Position: refs/heads/master@{#431518}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Decouple Power Monitor from //content. #

Patch Set 3 : Decouple Power Monitor from //content. #

Total comments: 12

Patch Set 4 : Init broadcast_source with interfaceProvider #

Patch Set 5 : code rebase #

Patch Set 6 : Add OWNER in folder device/power_monitor #

Patch Set 7 : code rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -445 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/browser_child_process_host_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/browser_child_process_host_impl.cc View 3 chunks +3 lines, -2 lines 0 comments Download
D content/browser/power_monitor_message_broadcaster.h View 1 chunk +0 lines, -43 lines 0 comments Download
D content/browser/power_monitor_message_broadcaster.cc View 1 chunk +0 lines, -58 lines 0 comments Download
D content/browser/power_monitor_message_broadcaster_unittest.cc View 1 chunk +0 lines, -111 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M content/child/BUILD.gn View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
D content/child/power_monitor_broadcast_source.h View 1 chunk +0 lines, -39 lines 0 comments Download
D content/child/power_monitor_broadcast_source.cc View 1 chunk +0 lines, -46 lines 0 comments Download
D content/child/power_monitor_broadcast_source_unittest.cc View 1 chunk +0 lines, -88 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 3 chunks +0 lines, -3 lines 0 comments Download
M device/BUILD.gn View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
A device/power_monitor/BUILD.gn View 1 1 chunk +24 lines, -0 lines 0 comments Download
A device/power_monitor/OWNERS View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A device/power_monitor/power_monitor_export.h View 1 chunk +29 lines, -0 lines 0 comments Download
A + device/power_monitor/power_monitor_message_broadcaster.h View 1 2 3 3 chunks +9 lines, -9 lines 0 comments Download
A + device/power_monitor/power_monitor_message_broadcaster.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + device/power_monitor/power_monitor_message_broadcaster_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
A device/power_monitor/public/cpp/BUILD.gn View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
A + device/power_monitor/public/cpp/power_monitor_broadcast_source.h View 1 2 3 2 chunks +12 lines, -10 lines 0 comments Download
A + device/power_monitor/public/cpp/power_monitor_broadcast_source.cc View 1 2 3 2 chunks +8 lines, -12 lines 0 comments Download
A + device/power_monitor/public/cpp/power_monitor_broadcast_source_unittest.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 59 (36 generated)
ke.he
blundell@ Could you PTAL at this, Thanks!
4 years, 1 month ago (2016-10-28 09:42:51 UTC) #4
blundell
Looks good, thanks! https://codereview.chromium.org/2460823002/diff/1/device/power_monitor/BUILD.gn File device/power_monitor/BUILD.gn (right): https://codereview.chromium.org/2460823002/diff/1/device/power_monitor/BUILD.gn#newcode7 device/power_monitor/BUILD.gn:7: component("power_monitor_broadcast_source") { This is the client-side ...
4 years, 1 month ago (2016-10-28 21:33:51 UTC) #11
ke.he
blundell@ thanks! cl updated, PTAL. https://codereview.chromium.org/2460823002/diff/1/device/power_monitor/BUILD.gn File device/power_monitor/BUILD.gn (right): https://codereview.chromium.org/2460823002/diff/1/device/power_monitor/BUILD.gn#newcode7 device/power_monitor/BUILD.gn:7: component("power_monitor_broadcast_source") { On 2016/10/28 ...
4 years, 1 month ago (2016-10-29 11:10:53 UTC) #12
ke.he
blundell@ PTAL, thanks:)
4 years, 1 month ago (2016-11-02 05:41:35 UTC) #17
blundell
Apologies, I lost track of this CL and then was OOO for several days :P. ...
4 years, 1 month ago (2016-11-07 12:50:08 UTC) #18
ke.he
blundell@, CL updated. PTAL, thanks! https://codereview.chromium.org/2460823002/diff/40001/content/child/BUILD.gn File content/child/BUILD.gn (right): https://codereview.chromium.org/2460823002/diff/40001/content/child/BUILD.gn#newcode236 content/child/BUILD.gn:236: "//device/power_monitor/public/cpp:power_monitor_broadcast_source", On 2016/11/07 12:50:08, ...
4 years, 1 month ago (2016-11-08 08:59:56 UTC) #19
ke.he
code rebase done.
4 years, 1 month ago (2016-11-09 08:30:13 UTC) #28
blundell
lgtm, thanks!
4 years, 1 month ago (2016-11-09 10:15:25 UTC) #29
blundell
Oh, we need OWNERS for //device/power_monitor. Let's do bajones@chromium.org and myself.
4 years, 1 month ago (2016-11-09 10:16:40 UTC) #30
blundell
rockot@: Can you review //device? piman@: Can you review //content as jam@ is OOO and ...
4 years, 1 month ago (2016-11-09 10:20:54 UTC) #32
piman
lgtm
4 years, 1 month ago (2016-11-09 16:39:28 UTC) #33
ke.he
blundell@, rockot@, OWNER added. PTAL. Thanks!
4 years, 1 month ago (2016-11-10 06:22:38 UTC) #34
blundell
still lgtm, thanks
4 years, 1 month ago (2016-11-10 08:23:36 UTC) #39
Ken Rockot(use gerrit already)
lgtm
4 years, 1 month ago (2016-11-10 17:20:40 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2460823002/100001
4 years, 1 month ago (2016-11-11 01:45:48 UTC) #43
commit-bot: I haz the power
Failed to apply patch for content/browser/renderer_host/render_process_host_impl.cc: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-11 01:50:16 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2460823002/100001
4 years, 1 month ago (2016-11-11 01:57:58 UTC) #47
commit-bot: I haz the power
Failed to apply patch for content/browser/renderer_host/render_process_host_impl.cc: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-11 02:03:13 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2460823002/100001
4 years, 1 month ago (2016-11-11 03:26:10 UTC) #51
commit-bot: I haz the power
Internal error: failed to checkout. Please try again.
4 years, 1 month ago (2016-11-11 03:41:46 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2460823002/120001
4 years, 1 month ago (2016-11-11 06:24:54 UTC) #56
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-11-11 07:47:31 UTC) #57
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 07:55:31 UTC) #59
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bef9909734ebaa1fd830652cc11c68528fb3d06e
Cr-Commit-Position: refs/heads/master@{#431518}

Powered by Google App Engine
This is Rietveld 408576698