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

Issue 1999953002: Move content/browser/power_save_blocker to //device/power_save_blocker (Closed)

Created:
4 years, 7 months ago by scottmg
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@power-save-next-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move content/browser/power_save_blocker to //device/power_save_blocker This is mostly a mechanical move. The only "new" code is the new build files, and the Android JNI registration that has its own version in //device now instead of being part of the //content registration. R=jam@chromium.org TBR=rockot,tedchoc BUG=612337, 612563, 257943 Committed: https://crrev.com/327630a7735fc91aedea5e164064c4dd18c04cc4 Cr-Commit-Position: refs/heads/master@{#400361}

Patch Set 1 #

Patch Set 2 : gn and deps #

Patch Set 3 : various renames #

Patch Set 4 : stuff and wip on gyp #

Patch Set 5 : gyp #

Patch Set 6 : gyp fixes #

Patch Set 7 : more gyp #

Patch Set 8 : and some more gyp for cros #

Patch Set 9 : gn component #

Patch Set 10 : android jni registration #

Patch Set 11 : fix non android #

Patch Set 12 : . #

Total comments: 7

Patch Set 13 : fixes #

Patch Set 14 : gn check #

Patch Set 15 : . #

Patch Set 16 : . #

Patch Set 17 : . #

Patch Set 18 : component #

Patch Set 19 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -1541 lines) Patch
M chrome/browser/media/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +10 lines, -5 lines 0 comments Download
M components/drive/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M components/drive/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -9 lines 0 comments Download
M components/drive/drive_uploader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +11 lines, -6 lines 0 comments Download
M content/app/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +1 line, -13 lines 0 comments Download
M content/browser/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/browser_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +3 lines, -5 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.h View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/download/download_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +23 lines, -21 lines 0 comments Download
M content/browser/download/download_request_core.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/download/download_request_core.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/download/drag_download_file_browsertest.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M content/browser/loader/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 17 18 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/loader/power_save_block_resource_throttle.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M content/browser/loader/power_save_block_resource_throttle.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -4 lines 0 comments Download
M content/browser/media/capture/aura_window_capture_machine.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/media/capture/aura_window_capture_machine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -4 lines 0 comments Download
M content/browser/media/media_web_contents_observer.h View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M content/browser/media/media_web_contents_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -7 lines 0 comments Download
M content/browser/media/webrtc/webrtc_internals.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/media/webrtc/webrtc_internals.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -3 lines 0 comments Download
D content/browser/power_save_blocker_android.h View 1 chunk +0 lines, -11 lines 0 comments Download
D content/browser/power_save_blocker_android.cc View 1 1 chunk +0 lines, -105 lines 0 comments Download
D content/browser/power_save_blocker_chromeos.cc View 1 1 chunk +0 lines, -112 lines 0 comments Download
A + content/browser/power_save_blocker_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -7 lines 0 comments Download
M content/browser/power_save_blocker_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -5 lines 0 comments Download
D content/browser/power_save_blocker_impl.h View 1 1 chunk +0 lines, -74 lines 0 comments Download
D content/browser/power_save_blocker_impl.cc View 1 1 chunk +0 lines, -24 lines 0 comments Download
D content/browser/power_save_blocker_mac.cc View 1 1 chunk +0 lines, -120 lines 0 comments Download
D content/browser/power_save_blocker_ozone.cc View 1 1 chunk +0 lines, -40 lines 0 comments Download
D content/browser/power_save_blocker_win.cc View 1 1 chunk +0 lines, -160 lines 0 comments Download
D content/browser/power_save_blocker_x11.cc View 1 1 chunk +0 lines, -508 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 3 chunks +7 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 17 18 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/wake_lock/wake_lock_service_context.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/wake_lock/wake_lock_service_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -5 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 17 18 7 chunks +3 lines, -14 lines 0 comments Download
M content/content_jni.gypi View 1 2 17 18 1 chunk +0 lines, -1 line 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 17 18 2 chunks +1 line, -1 line 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java View 1 1 chunk +0 lines, -46 lines 0 comments Download
M content/public/browser/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
D content/public/browser/power_save_blocker.h View 1 1 chunk +0 lines, -64 lines 0 comments Download
M content/public/browser/power_save_blocker_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -25 lines 0 comments Download
M device/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 17 18 1 chunk +1 line, -0 lines 0 comments Download
A device/power_save_blocker/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +89 lines, -0 lines 0 comments Download
A device/power_save_blocker/DEPS View 1 1 chunk +6 lines, -0 lines 0 comments Download
A device/power_save_blocker/OWNERS View 1 1 chunk +3 lines, -0 lines 0 comments Download
A + device/power_save_blocker/android/java/src/org/chromium/device/power_save_blocker/PowerSaveBlocker.java View 1 2 chunks +2 lines, -2 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker.h View 1 3 chunks +7 lines, -7 lines 0 comments Download
A device/power_save_blocker/power_save_blocker.gyp View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 0 comments Download
A device/power_save_blocker/power_save_blocker_android.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_android.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_chromeos.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
A device/power_save_blocker/power_save_blocker_export.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +8 lines, -7 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_impl.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
A device/power_save_blocker/power_save_blocker_jni_registrar.h View 1 2 3 4 5 6 7 8 9 1 chunk +24 lines, -0 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -4 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_mac.cc View 1 6 chunks +12 lines, -13 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_ozone.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_win.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
A + device/power_save_blocker/power_save_blocker_x11.cc View 1 2 6 chunks +8 lines, -10 lines 0 comments Download
M device/test/run_all_unittests.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/power/power_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +8 lines, -6 lines 0 comments Download
M extensions/browser/api/power/power_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +21 lines, -14 lines 0 comments Download
M extensions/browser/api/power/power_api_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +13 lines, -11 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
scottmg
jam: overall review hashimoto: +dbus DEPS addition tedchoc: +ui/android DEPS addition sadrul: +ui/gfx/x DEPS addition
4 years, 6 months ago (2016-06-16 00:26:28 UTC) #11
hashimoto
device/power_save_blocker/DEPS lgtm as an owner of //dbus.
4 years, 6 months ago (2016-06-16 03:31:28 UTC) #12
sadrul
> sadrul: +ui/gfx/x DEPS addition lgtm
4 years, 6 months ago (2016-06-16 15:15:53 UTC) #13
jam
https://codereview.chromium.org/1999953002/diff/260001/content/public/browser/DEPS File content/public/browser/DEPS (right): https://codereview.chromium.org/1999953002/diff/260001/content/public/browser/DEPS#newcode2 content/public/browser/DEPS:2: ".*\.(cc|h)": [ why make this change? We don't want ...
4 years, 6 months ago (2016-06-16 17:04:05 UTC) #14
scottmg
Thanks! https://codereview.chromium.org/1999953002/diff/260001/content/public/browser/DEPS File content/public/browser/DEPS (right): https://codereview.chromium.org/1999953002/diff/260001/content/public/browser/DEPS#newcode2 content/public/browser/DEPS:2: ".*\.(cc|h)": [ On 2016/06/16 17:04:04, jam wrote: > ...
4 years, 6 months ago (2016-06-16 18:10:34 UTC) #16
scottmg
+rockot for extensions/browser/DEPS addition
4 years, 6 months ago (2016-06-16 18:11:00 UTC) #18
jam
lgtm https://codereview.chromium.org/1999953002/diff/260001/content/public/browser/power_save_blocker_factory.h File content/public/browser/power_save_blocker_factory.h (right): https://codereview.chromium.org/1999953002/diff/260001/content/public/browser/power_save_blocker_factory.h#newcode18 content/public/browser/power_save_blocker_factory.h:18: CONTENT_EXPORT std::unique_ptr<device::PowerSaveBlocker> CreatePowerSaveBlocker( On 2016/06/16 18:10:34, scottmg wrote: ...
4 years, 6 months ago (2016-06-16 18:19:09 UTC) #19
scottmg
On 2016/06/16 18:19:09, jam wrote: > lgtm > > https://codereview.chromium.org/1999953002/diff/260001/content/public/browser/power_save_blocker_factory.h > File content/public/browser/power_save_blocker_factory.h (right): > ...
4 years, 6 months ago (2016-06-16 18:22:50 UTC) #20
scottmg
To avoid patch collision, I'm going to tbr for the following trivial changes: rockot: https://codereview.chromium.org/1999953002/diff/400001/extensions/browser/DEPS ...
4 years, 6 months ago (2016-06-17 04:18:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999953002/400001
4 years, 6 months ago (2016-06-17 04:25:53 UTC) #25
commit-bot: I haz the power
Committed patchset #19 (id:400001)
4 years, 6 months ago (2016-06-17 05:09:13 UTC) #27
commit-bot: I haz the power
Patchset 19 (id:??) landed as https://crrev.com/327630a7735fc91aedea5e164064c4dd18c04cc4 Cr-Commit-Position: refs/heads/master@{#400361}
4 years, 6 months ago (2016-06-17 05:10:28 UTC) #29
scottmg
4 years, 6 months ago (2016-06-17 05:18:38 UTC) #30
Message was sent while issue was closed.
A revert of this CL (patchset #19 id:400001) has been created in
https://codereview.chromium.org/2075973002/ by scottmg@chromium.org.

The reason for reverting is: Broke
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac%20Builder%...
but not CQ bots.

Powered by Google App Engine
This is Rietveld 408576698