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

Issue 1162863003: Move ContentVideoCaptureDeviceCore from src/content to src/media (Closed)

Created:
5 years, 6 months ago by jiajia.qin
Modified:
5 years, 6 months ago
Reviewers:
DaleCurtis, *miu
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ContentVideoCaptureDeviceCore from src/content to src/media This CL moves ContentVideoCaptureDeviceCore related classes from src/content/browser/media/capture to src/media/capture. That will benefit the class under media which can use core and machine directly without depending on content. Committed: https://crrev.com/a596ea09f52f40f721fb48e72d24a779e3caeed2 Cr-Commit-Position: refs/heads/master@{#334804}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Modification based on miu's comments #

Patch Set 3 : rebase and fix some compile errors #

Patch Set 4 : Fix compile error (continue) #

Patch Set 5 : test for trybots #

Patch Set 6 : Fix compile error #

Total comments: 1

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+327 lines, -4486 lines) Patch
M content/browser/media/capture/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
D content/browser/media/capture/animated_content_sampler.h View 1 chunk +0 lines, -157 lines 0 comments Download
D content/browser/media/capture/animated_content_sampler.cc View 1 chunk +0 lines, -293 lines 0 comments Download
D content/browser/media/capture/animated_content_sampler_unittest.cc View 1 chunk +0 lines, -819 lines 0 comments Download
M content/browser/media/capture/aura_window_capture_machine.h View 1 2 7 chunks +17 lines, -8 lines 0 comments Download
M content/browser/media/capture/aura_window_capture_machine.cc View 1 2 3 4 5 6 8 chunks +39 lines, -11 lines 0 comments Download
D content/browser/media/capture/capture_resolution_chooser.h View 1 chunk +0 lines, -59 lines 0 comments Download
D content/browser/media/capture/capture_resolution_chooser.cc View 1 chunk +0 lines, -120 lines 0 comments Download
D content/browser/media/capture/capture_resolution_chooser_unittest.cc View 1 chunk +0 lines, -169 lines 0 comments Download
D content/browser/media/capture/content_video_capture_device_core.h View 1 2 3 4 5 6 1 chunk +0 lines, -190 lines 0 comments Download
D content/browser/media/capture/content_video_capture_device_core.cc View 1 2 3 4 5 6 1 chunk +0 lines, -353 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura.h View 1 3 chunks +2 lines, -3 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
D content/browser/media/capture/feedback_signal_accumulator.h View 1 1 chunk +0 lines, -67 lines 0 comments Download
D content/browser/media/capture/feedback_signal_accumulator.cc View 1 1 chunk +0 lines, -56 lines 0 comments Download
D content/browser/media/capture/feedback_signal_accumulator_unittest.cc View 1 1 chunk +0 lines, -202 lines 0 comments Download
D content/browser/media/capture/smooth_event_sampler.h View 1 chunk +0 lines, -60 lines 0 comments Download
D content/browser/media/capture/smooth_event_sampler.cc View 1 chunk +0 lines, -100 lines 0 comments Download
D content/browser/media/capture/smooth_event_sampler_unittest.cc View 1 chunk +0 lines, -488 lines 0 comments Download
D content/browser/media/capture/video_capture_oracle.h View 1 2 3 4 5 6 1 chunk +0 lines, -110 lines 0 comments Download
D content/browser/media/capture/video_capture_oracle.cc View 1 2 3 4 5 6 1 chunk +0 lines, -174 lines 0 comments Download
D content/browser/media/capture/video_capture_oracle_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -290 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 2 3 4 5 15 chunks +52 lines, -22 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -12 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 2 chunks +19 lines, -0 lines 0 comments Download
A + media/capture/OWNERS View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
A + media/capture/animated_content_sampler.h View 3 chunks +7 lines, -7 lines 0 comments Download
A + media/capture/animated_content_sampler.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/capture/animated_content_sampler_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A + media/capture/capture_resolution_chooser.h View 3 chunks +9 lines, -9 lines 0 comments Download
A + media/capture/capture_resolution_chooser.cc View 7 chunks +17 lines, -17 lines 0 comments Download
A + media/capture/capture_resolution_chooser_unittest.cc View 5 chunks +6 lines, -6 lines 0 comments Download
A + media/capture/feedback_signal_accumulator.h View 1 3 chunks +7 lines, -7 lines 0 comments Download
A + media/capture/feedback_signal_accumulator.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + media/capture/feedback_signal_accumulator_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + media/capture/screen_capture_device_core.h View 1 2 3 4 5 6 4 chunks +27 lines, -113 lines 0 comments Download
A + media/capture/screen_capture_device_core.cc View 1 2 3 4 5 6 7 chunks +23 lines, -238 lines 0 comments Download
A + media/capture/smooth_event_sampler.h View 2 chunks +7 lines, -7 lines 0 comments Download
A + media/capture/smooth_event_sampler.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/capture/smooth_event_sampler_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/capture/thread_safe_capture_oracle.h View 1 2 3 4 5 6 3 chunks +18 lines, -103 lines 0 comments Download
A + media/capture/thread_safe_capture_oracle.cc View 1 2 3 4 5 6 7 chunks +16 lines, -166 lines 0 comments Download
A + media/capture/video_capture_oracle.h View 1 2 3 4 5 6 2 chunks +9 lines, -9 lines 0 comments Download
A + media/capture/video_capture_oracle.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
A + media/capture/video_capture_oracle_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (10 generated)
jiajia.qin
Please take a look. Thanks.
5 years, 6 months ago (2015-06-01 09:47:18 UTC) #2
jiajia.qin
On 2015/06/01 09:47:18, jiajia.qin wrote: > Please take a look. Thanks. Any feedback? :)
5 years, 6 months ago (2015-06-04 05:51:25 UTC) #3
DaleCurtis
The move lgtm, but I defer to miu@ since this is pretty much all his ...
5 years, 6 months ago (2015-06-04 21:33:50 UTC) #5
miu
Sorry for the delay. On the whole, this looks great! Thanks for the contribution! :) ...
5 years, 6 months ago (2015-06-05 01:13:37 UTC) #6
jiajia.qin
https://codereview.chromium.org/1162863003/diff/1/media/capture/media_video_capture_device_core.h File media/capture/media_video_capture_device_core.h (right): https://codereview.chromium.org/1162863003/diff/1/media/capture/media_video_capture_device_core.h#newcode133 media/capture/media_video_capture_device_core.h:133: class MEDIA_EXPORT MediaVideoCaptureDeviceCore On 2015/06/05 01:13:37, miu wrote: > ...
5 years, 6 months ago (2015-06-05 02:31:34 UTC) #7
miu
On 2015/06/05 02:31:34, jiajia.qin wrote: > So, keep this class name unchanged is also acceptable. ...
5 years, 6 months ago (2015-06-05 19:26:11 UTC) #8
jiajia.qin
On 2015/06/05 19:26:11, miu wrote: > On 2015/06/05 02:31:34, jiajia.qin wrote: > > So, keep ...
5 years, 6 months ago (2015-06-08 02:55:00 UTC) #9
jiajia.qin
https://codereview.chromium.org/1162863003/diff/1/content/browser/media/capture/aura_window_capture_machine.h File content/browser/media/capture/aura_window_capture_machine.h (right): https://codereview.chromium.org/1162863003/diff/1/content/browser/media/capture/aura_window_capture_machine.h#newcode77 content/browser/media/capture/aura_window_capture_machine.h:77: typedef media::ThreadSafeCaptureOracle::CaptureFrameCallback On 2015/06/05 01:13:36, miu wrote: > nit: ...
5 years, 6 months ago (2015-06-08 04:58:24 UTC) #10
miu
On 2015/06/08 02:55:00, jiajia.qin wrote: > On 2015/06/05 19:26:11, miu wrote: > > Wait...Is VideoCaptureDeviceAndroid ...
5 years, 6 months ago (2015-06-08 22:01:25 UTC) #11
miu
Looks good, except for a couple things: 1. You'll need to rebase against trunk again ...
5 years, 6 months ago (2015-06-08 22:07:26 UTC) #12
jiajia.qin
On 2015/06/08 22:07:26, miu wrote: > Looks good, except for a couple things: > > ...
5 years, 6 months ago (2015-06-10 10:49:46 UTC) #14
jiajia.qin
On 2015/06/10 10:49:46, jiajia.qin wrote: > On 2015/06/08 22:07:26, miu wrote: > > Looks good, ...
5 years, 6 months ago (2015-06-11 10:23:12 UTC) #17
jiajia.qin
I noticed that win_chromium_x64_dbg trybot is failed. But it seems not introduced by my patch. ...
5 years, 6 months ago (2015-06-12 07:09:23 UTC) #18
miu
Sorry for the delay. lgtm % a few things: 1. Looks like the screen_capture_device_core.* files ...
5 years, 6 months ago (2015-06-12 17:09:50 UTC) #19
miu
BTW--I'll be unavailable next week, so if there are any significant changes after my lgtm, ...
5 years, 6 months ago (2015-06-12 22:48:34 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162863003/200001
5 years, 6 months ago (2015-06-17 06:36:39 UTC) #24
commit-bot: I haz the power
The author jiajia.qin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-17 06:36:45 UTC) #25
commit-bot: I haz the power
The author jiajia.qin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-17 07:02:35 UTC) #26
commit-bot: I haz the power
The author jiajia.qin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-17 07:32:50 UTC) #27
commit-bot: I haz the power
The author jiajia.qin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-17 08:02:53 UTC) #28
commit-bot: I haz the power
The author jiajia.qin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-17 08:33:05 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/100187)
5 years, 6 months ago (2015-06-17 08:43:10 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162863003/200001
5 years, 6 months ago (2015-06-17 09:53:19 UTC) #33
commit-bot: I haz the power
The author jiajia.qin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-17 09:53:25 UTC) #34
commit-bot: I haz the power
The author jiajia.qin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-17 10:02:55 UTC) #35
commit-bot: I haz the power
The author jiajia.qin@intel.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-17 10:33:51 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:200001)
5 years, 6 months ago (2015-06-17 10:43:15 UTC) #37
commit-bot: I haz the power
5 years, 6 months ago (2015-06-17 10:44:09 UTC) #38
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a596ea09f52f40f721fb48e72d24a779e3caeed2
Cr-Commit-Position: refs/heads/master@{#334804}

Powered by Google App Engine
This is Rietveld 408576698