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

Issue 172003004: Fixit: Move tab and desktop capture code to new location. (Closed)

Created:
6 years, 10 months ago by miu
Modified:
6 years, 10 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Fixit: Move tab and desktop capture code to new location. The purpose of this change is to remove a layering violation: Code in content/browser/renderer_host should not depend on content/browser/web_contents. As a secondary benefit, the code modules have been consolidated into a more-appropriate location, with cleaner DEPS/OWNERS files. There are NO CODE CHANGES being made here, other than include's and ifdef guards in .h files. BUG=178495 R=fbarchard@chromium.org, jam@chromium.org, scherkus@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253058

Patch Set 1 : #

Total comments: 4

Patch Set 2 : No capture/OWNERS comment in content/browser/media/OWNERS. #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -6209 lines) Patch
M content/browser/browser_main_loop.cc View 1 chunk +1 line, -1 line 0 comments Download
A content/browser/media/capture/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A + content/browser/media/capture/OWNERS View 1 chunk +2 lines, -1 line 0 comments Download
A + content/browser/media/capture/audio_mirroring_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/audio_mirroring_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/audio_mirroring_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/content_video_capture_device_core.h View 3 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/media/capture/content_video_capture_device_core.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/desktop_capture_device.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/desktop_capture_device.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/desktop_capture_device_aura.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/desktop_capture_device_aura.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + content/browser/media/capture/desktop_capture_device_aura_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/desktop_capture_device_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/video_capture_oracle.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/video_capture_oracle.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/video_capture_oracle_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/web_contents_audio_input_stream.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/web_contents_audio_input_stream.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/media/capture/web_contents_audio_input_stream_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/web_contents_capture_util.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/web_contents_capture_util.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/web_contents_tracker.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/web_contents_tracker.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/browser/media/capture/web_contents_video_capture_device.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/media/capture/web_contents_video_capture_device.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/DEPS View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/media/OWNERS View 1 chunk +0 lines, -18 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
D content/browser/renderer_host/media/audio_mirroring_manager.h View 1 chunk +0 lines, -108 lines 0 comments Download
D content/browser/renderer_host/media/audio_mirroring_manager.cc View 1 chunk +0 lines, -164 lines 0 comments Download
D content/browser/renderer_host/media/audio_mirroring_manager_unittest.cc View 1 chunk +0 lines, -233 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D content/browser/renderer_host/media/content_video_capture_device_core.h View 1 chunk +0 lines, -197 lines 0 comments Download
D content/browser/renderer_host/media/content_video_capture_device_core.cc View 1 chunk +0 lines, -316 lines 0 comments Download
D content/browser/renderer_host/media/desktop_capture_device.h View 1 chunk +0 lines, -54 lines 0 comments Download
D content/browser/renderer_host/media/desktop_capture_device.cc View 1 chunk +0 lines, -421 lines 0 comments Download
D content/browser/renderer_host/media/desktop_capture_device_aura.h View 1 chunk +0 lines, -48 lines 0 comments Download
D content/browser/renderer_host/media/desktop_capture_device_aura.cc View 1 2 1 chunk +0 lines, -449 lines 0 comments Download
D content/browser/renderer_host/media/desktop_capture_device_aura_unittest.cc View 1 2 1 chunk +0 lines, -119 lines 0 comments Download
D content/browser/renderer_host/media/desktop_capture_device_unittest.cc View 1 chunk +0 lines, -287 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_dispatcher_host.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.cc View 2 chunks +3 lines, -3 lines 0 comments Download
D content/browser/renderer_host/media/video_capture_oracle.h View 1 chunk +0 lines, -105 lines 0 comments Download
D content/browser/renderer_host/media/video_capture_oracle.cc View 1 chunk +0 lines, -170 lines 0 comments Download
D content/browser/renderer_host/media/video_capture_oracle_unittest.cc View 1 chunk +0 lines, -487 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_audio_input_stream.h View 1 chunk +0 lines, -92 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_audio_input_stream.cc View 1 chunk +0 lines, -349 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_audio_input_stream_unittest.cc View 1 chunk +0 lines, -511 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_capture_util.h View 1 chunk +0 lines, -35 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_capture_util.cc View 1 chunk +0 lines, -59 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_tracker.h View 1 chunk +0 lines, -86 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_tracker.cc View 1 chunk +0 lines, -102 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_video_capture_device.h View 1 chunk +0 lines, -60 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_video_capture_device.cc View 1 chunk +0 lines, -827 lines 0 comments Download
D content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc View 1 chunk +0 lines, -815 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 4 chunks +18 lines, -18 lines 0 comments Download
M content/content_tests.gypi View 1 2 5 chunks +6 lines, -6 lines 0 comments Download
M content/test/webrtc_audio_device_test.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
miu
Clean-up time! :) fbarchard: approval for adding libyuv to content/browser/media/capture/DEPS jam: OWNERS approval for content/browser/browser_main_loop.cc ...
6 years, 10 months ago (2014-02-20 03:47:30 UTC) #1
scherkus (not reviewing)
OOC can we remove this exclusion jam@ added with this CL? https://codereview.chromium.org/12319119/diff/1/content/browser/renderer_host/DEPS https://codereview.chromium.org/172003004/diff/20001/content/browser/media/OWNERS File content/browser/media/OWNERS ...
6 years, 10 months ago (2014-02-20 18:46:55 UTC) #2
miu
jam: Can you comment on scherkus' concerns w.r.t. content/browser/renderer_host/DEPS and why this code shouldn't depend ...
6 years, 10 months ago (2014-02-20 21:29:02 UTC) #3
fbarchard
lgtm
6 years, 10 months ago (2014-02-22 01:50:02 UTC) #4
fbarchard
lgtm
6 years, 10 months ago (2014-02-22 01:50:04 UTC) #5
jabdelmalek
On 2014/02/20 21:29:02, miu wrote: > jam: Can you comment on scherkus' concerns w.r.t. > ...
6 years, 10 months ago (2014-02-24 18:21:00 UTC) #6
jabdelmalek
lgtm for files not in media directories for the DEPS rule, the reason is that ...
6 years, 10 months ago (2014-02-24 19:19:12 UTC) #7
scherkus (not reviewing)
lgtm
6 years, 10 months ago (2014-02-24 22:26:10 UTC) #8
miu
The CQ bit was checked by miu@chromium.org
6 years, 10 months ago (2014-02-24 23:00:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/172003004/600001
6 years, 10 months ago (2014-02-24 23:05:28 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-24 23:39:06 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=51790
6 years, 10 months ago (2014-02-24 23:39:07 UTC) #12
miu
The CQ bit was checked by miu@chromium.org
6 years, 10 months ago (2014-02-25 00:05:05 UTC) #13
miu
The CQ bit was unchecked by miu@chromium.org
6 years, 10 months ago (2014-02-25 00:06:02 UTC) #14
miu
The CQ bit was checked by miu@chromium.org
6 years, 10 months ago (2014-02-25 00:07:47 UTC) #15
jam
lgtm
6 years, 10 months ago (2014-02-25 00:09:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/172003004/600001
6 years, 10 months ago (2014-02-25 00:11:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/172003004/600001
6 years, 10 months ago (2014-02-25 01:45:43 UTC) #18
miu
The CQ is acting really wonky, this has passed all trybots (in PS1), and this ...
6 years, 10 months ago (2014-02-25 02:07:04 UTC) #19
miu
6 years, 10 months ago (2014-02-25 02:08:59 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 manually as r253058 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698