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

Issue 12047101: Move screen capturers from remoting/capturer to media/video/capturer/screen (Closed)

Created:
7 years, 11 months ago by Sergey Ulanov
Modified:
7 years, 10 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, dcaiafa+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, sail+watch_chromium.org, garykac+watch_chromium.org, feature-media-reviews_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Move screen capturers from remoting/capturer to media/video/capturer/screen Screen capturers will be used in content, and so they have to be moved to avoid dependency on remoting/capturer in content. Beside moving the files this CL also renames classes as follows: remoting::VideoFrameCapturer -> media::ScreenCapturer remoting::VideoFrame -> media::ScreenCaptureFrame remoting::CaptureData -> media::ScreenCaptureData BUG=134249 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179218

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+969 lines, -6549 lines) Patch
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 11 chunks +110 lines, -4 lines 0 comments Download
A + media/video/capture/screen/DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A media/video/capture/screen/OWNERS View 1 1 chunk +3 lines, -0 lines 0 comments Download
A + media/video/capture/screen/differ.h View 3 chunks +8 lines, -7 lines 0 comments Download
A + media/video/capture/screen/differ.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A media/video/capture/screen/differ_block.h View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A + media/video/capture/screen/differ_block.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A + media/video/capture/screen/differ_block_sse2.h View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
A + media/video/capture/screen/differ_block_sse2.cc View 3 chunks +4 lines, -4 lines 0 comments Download
A + media/video/capture/screen/differ_block_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/video/capture/screen/differ_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A + media/video/capture/screen/linux/x_server_pixel_buffer.h View 3 chunks +5 lines, -5 lines 0 comments Download
A + media/video/capture/screen/linux/x_server_pixel_buffer.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A + media/video/capture/screen/mac/desktop_configuration.h View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
A + media/video/capture/screen/mac/desktop_configuration.mm View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
A + media/video/capture/screen/mac/scoped_pixel_buffer_object.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + media/video/capture/screen/mac/scoped_pixel_buffer_object.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/video/capture/screen/mouse_cursor_shape.h View 2 chunks +7 lines, -7 lines 0 comments Download
A + media/video/capture/screen/mouse_cursor_shape.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/video/capture/screen/screen_capture_data.h View 3 chunks +12 lines, -10 lines 0 comments Download
A + media/video/capture/screen/screen_capture_data.cc View 2 chunks +7 lines, -5 lines 0 comments Download
A + media/video/capture/screen/screen_capture_frame.h View 3 chunks +11 lines, -10 lines 0 comments Download
A + media/video/capture/screen/screen_capture_frame.cc View 1 chunk +5 lines, -5 lines 0 comments Download
A + media/video/capture/screen/screen_capture_frame_queue.h View 4 chunks +15 lines, -15 lines 0 comments Download
A + media/video/capture/screen/screen_capture_frame_queue.cc View 1 chunk +10 lines, -9 lines 0 comments Download
A + media/video/capture/screen/screen_capturer.h View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -15 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_fake.h View 1 2 3 4 3 chunks +17 lines, -17 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_fake.cc View 7 chunks +24 lines, -23 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_helper.h View 2 chunks +13 lines, -12 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_helper.cc View 4 chunks +14 lines, -14 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_helper_unittest.cc View 8 chunks +14 lines, -14 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_linux.cc View 26 chunks +81 lines, -77 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_mac.mm View 1 2 3 4 5 6 27 chunks +69 lines, -67 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_mac_unittest.cc View 7 chunks +18 lines, -18 lines 0 comments Download
A media/video/capture/screen/screen_capturer_mock_objects.h View 1 chunk +46 lines, -0 lines 0 comments Download
A media/video/capture/screen/screen_capturer_mock_objects.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_unittest.cc View 1 2 3 6 chunks +17 lines, -17 lines 0 comments Download
A + media/video/capture/screen/screen_capturer_win.cc View 1 2 3 4 26 chunks +72 lines, -71 lines 0 comments Download
A + media/video/capture/screen/shared_buffer.h View 3 chunks +12 lines, -6 lines 0 comments Download
A + media/video/capture/screen/shared_buffer.cc View 2 chunks +8 lines, -3 lines 0 comments Download
A + media/video/capture/screen/shared_buffer_factory.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
A + media/video/capture/screen/shared_buffer_unittest.cc View 4 chunks +6 lines, -13 lines 0 comments Download
A + media/video/capture/screen/win/desktop.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -6 lines 0 comments Download
A + media/video/capture/screen/win/desktop.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/video/capture/screen/win/scoped_thread_desktop.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -6 lines 0 comments Download
A + media/video/capture/screen/win/scoped_thread_desktop.cc View 2 chunks +4 lines, -4 lines 0 comments Download
D remoting/capturer/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D remoting/capturer/capture_data.h View 1 chunk +0 lines, -91 lines 0 comments Download
D remoting/capturer/capture_data.cc View 1 chunk +0 lines, -20 lines 0 comments Download
D remoting/capturer/differ.h View 1 chunk +0 lines, -84 lines 0 comments Download
D remoting/capturer/differ.cc View 1 chunk +0 lines, -211 lines 0 comments Download
D remoting/capturer/differ_block.h View 1 chunk +0 lines, -26 lines 0 comments Download
D remoting/capturer/differ_block.cc View 1 chunk +0 lines, -49 lines 0 comments Download
D remoting/capturer/differ_block_sse2.h View 1 chunk +0 lines, -25 lines 0 comments Download
D remoting/capturer/differ_block_sse2.cc View 1 chunk +0 lines, -112 lines 0 comments Download
D remoting/capturer/differ_block_unittest.cc View 1 chunk +0 lines, -81 lines 0 comments Download
D remoting/capturer/differ_unittest.cc View 1 chunk +0 lines, -639 lines 0 comments Download
D remoting/capturer/linux/x_server_pixel_buffer.h View 1 chunk +0 lines, -82 lines 0 comments Download
D remoting/capturer/linux/x_server_pixel_buffer.cc View 1 chunk +0 lines, -275 lines 0 comments Download
D remoting/capturer/mac/desktop_configuration.h View 1 2 3 4 1 chunk +0 lines, -63 lines 0 comments Download
D remoting/capturer/mac/desktop_configuration.mm View 1 2 3 4 1 chunk +0 lines, -106 lines 0 comments Download
D remoting/capturer/mac/scoped_pixel_buffer_object.h View 1 chunk +0 lines, -33 lines 0 comments Download
D remoting/capturer/mac/scoped_pixel_buffer_object.cc View 1 chunk +0 lines, -47 lines 0 comments Download
D remoting/capturer/mouse_cursor_shape.h View 1 chunk +0 lines, -33 lines 0 comments Download
D remoting/capturer/mouse_cursor_shape.cc View 1 chunk +0 lines, -17 lines 0 comments Download
D remoting/capturer/shared_buffer.h View 1 chunk +0 lines, -69 lines 0 comments Download
D remoting/capturer/shared_buffer.cc View 1 chunk +0 lines, -37 lines 0 comments Download
D remoting/capturer/shared_buffer_factory.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -29 lines 0 comments Download
D remoting/capturer/shared_buffer_unittest.cc View 1 chunk +0 lines, -62 lines 0 comments Download
D remoting/capturer/video_capturer_mock_objects.h View 1 chunk +0 lines, -46 lines 0 comments Download
D remoting/capturer/video_capturer_mock_objects.cc View 1 chunk +0 lines, -28 lines 0 comments Download
D remoting/capturer/video_frame.h View 1 chunk +0 lines, -63 lines 0 comments Download
D remoting/capturer/video_frame.cc View 1 chunk +0 lines, -18 lines 0 comments Download
D remoting/capturer/video_frame_capturer.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -115 lines 0 comments Download
D remoting/capturer/video_frame_capturer_fake.h View 1 chunk +0 lines, -63 lines 0 comments Download
D remoting/capturer/video_frame_capturer_fake.cc View 1 chunk +0 lines, -117 lines 0 comments Download
D remoting/capturer/video_frame_capturer_helper.h View 1 chunk +0 lines, -83 lines 0 comments Download
D remoting/capturer/video_frame_capturer_helper.cc View 1 chunk +0 lines, -118 lines 0 comments Download
D remoting/capturer/video_frame_capturer_helper_unittest.cc View 1 chunk +0 lines, -215 lines 0 comments Download
D remoting/capturer/video_frame_capturer_linux.cc View 1 chunk +0 lines, -613 lines 0 comments Download
D remoting/capturer/video_frame_capturer_mac.mm View 1 2 3 1 chunk +0 lines, -869 lines 0 comments Download
D remoting/capturer/video_frame_capturer_mac_unittest.cc View 1 chunk +0 lines, -121 lines 0 comments Download
D remoting/capturer/video_frame_capturer_unittest.cc View 1 2 3 1 chunk +0 lines, -106 lines 0 comments Download
D remoting/capturer/video_frame_capturer_win.cc View 1 chunk +0 lines, -598 lines 0 comments Download
D remoting/capturer/video_frame_queue.h View 1 chunk +0 lines, -69 lines 0 comments Download
D remoting/capturer/video_frame_queue.cc View 1 chunk +0 lines, -38 lines 0 comments Download
D remoting/capturer/win/desktop.h View 1 chunk +0 lines, -58 lines 0 comments Download
D remoting/capturer/win/desktop.cc View 1 chunk +0 lines, -104 lines 0 comments Download
D remoting/capturer/win/scoped_thread_desktop.h View 1 chunk +0 lines, -47 lines 0 comments Download
D remoting/capturer/win/scoped_thread_desktop.cc View 1 chunk +0 lines, -49 lines 0 comments Download
M remoting/codec/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M remoting/codec/codec_test.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/codec/codec_test.cc View 8 chunks +15 lines, -13 lines 0 comments Download
M remoting/codec/video_encoder.h View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M remoting/codec/video_encoder_verbatim.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/codec/video_encoder_verbatim.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/codec/video_encoder_vp8.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/codec/video_encoder_vp8.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M remoting/codec/video_encoder_vp8_unittest.cc View 5 chunks +12 lines, -10 lines 0 comments Download
M remoting/host/DEPS View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M remoting/host/basic_desktop_environment.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/basic_desktop_environment.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/chromoting_host.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M remoting/host/chromoting_messages.h View 3 chunks +4 lines, -4 lines 0 comments Download
M remoting/host/client_session.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/client_session_unittest.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M remoting/host/desktop_environment.h View 2 chunks +5 lines, -2 lines 0 comments Download
M remoting/host/desktop_session_agent.h View 4 chunks +14 lines, -12 lines 0 comments Download
M remoting/host/desktop_session_agent.cc View 7 chunks +10 lines, -10 lines 0 comments Download
M remoting/host/desktop_session_proxy.h View 1 2 3 4 5 6 7 8 7 chunks +10 lines, -9 lines 0 comments Download
M remoting/host/desktop_session_proxy.cc View 10 chunks +21 lines, -19 lines 0 comments Download
M remoting/host/event_executor_mac.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/host_mock_objects.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/host_mock_objects.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/ipc_desktop_environment.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/ipc_desktop_environment.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/ipc_video_frame_capturer.h View 2 chunks +13 lines, -10 lines 0 comments Download
M remoting/host/ipc_video_frame_capturer.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/sas_injector_win.cc View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download
M remoting/host/video_scheduler.h View 8 chunks +17 lines, -14 lines 0 comments Download
M remoting/host/video_scheduler.cc View 8 chunks +10 lines, -10 lines 0 comments Download
M remoting/host/video_scheduler_unittest.cc View 1 2 3 4 8 chunks +20 lines, -18 lines 0 comments Download
M remoting/host/win/session_desktop_environment.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/win/session_event_executor.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 9 6 chunks +2 lines, -106 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Sergey Ulanov
Practically all changes are mechanical renames, except SharedBuffer class where I added new method to ...
7 years, 11 months ago (2013-01-25 00:05:48 UTC) #1
scherkus (not reviewing)
holy smokes that's a lot of files! two μ-nits https://codereview.chromium.org/12047101/diff/2001/media/video/capture/screen/differ_block.h File media/video/capture/screen/differ_block.h (right): https://codereview.chromium.org/12047101/diff/2001/media/video/capture/screen/differ_block.h#newcode15 media/video/capture/screen/differ_block.h:15: ...
7 years, 11 months ago (2013-01-25 00:30:36 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/12047101/diff/2001/media/video/capture/screen/differ_block.h File media/video/capture/screen/differ_block.h (right): https://codereview.chromium.org/12047101/diff/2001/media/video/capture/screen/differ_block.h#newcode15 media/video/capture/screen/differ_block.h:15: static const int kBlockSize = 32; On 2013/01/25 00:30:36, ...
7 years, 11 months ago (2013-01-25 00:49:50 UTC) #3
Wez
remoting/ LGTM w/ nits, but please let alexeypa@ review the IPC-related stuff. The naming of ...
7 years, 11 months ago (2013-01-25 00:51:20 UTC) #4
Sergey Ulanov
Opened crbug.com/172183 to rename Differ and SharedBuffer https://codereview.chromium.org/12047101/diff/2001/remoting/codec/video_encoder.h File remoting/codec/video_encoder.h (right): https://codereview.chromium.org/12047101/diff/2001/remoting/codec/video_encoder.h#newcode13 remoting/codec/video_encoder.h:13: class DataBuffer; ...
7 years, 11 months ago (2013-01-25 02:33:45 UTC) #5
scherkus (not reviewing)
LGTM w/ nits https://codereview.chromium.org/12047101/diff/2001/media/video/capture/screen/screen_capturer_mock_objects.cc File media/video/capture/screen/screen_capturer_mock_objects.cc (right): https://codereview.chromium.org/12047101/diff/2001/media/video/capture/screen/screen_capturer_mock_objects.cc#newcode16 media/video/capture/screen/screen_capturer_mock_objects.cc:16: MockScreenCapturerDelegate::MockScreenCapturerDelegate() { On 2013/01/25 00:49:50, sergeyu ...
7 years, 11 months ago (2013-01-25 05:03:40 UTC) #6
Tom Sepez
Rubberstamp LGTM on changing names in messages.
7 years, 11 months ago (2013-01-25 18:07:38 UTC) #7
alexeypa (please no reviews)
7 years, 10 months ago (2013-01-28 18:24:41 UTC) #8
SharedBuffer changes - LGTM

Powered by Google App Engine
This is Rietveld 408576698