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

Issue 2523773002: [Mojo Video Capture] Move SharedMem Tracker/BufferHandle/Factory from content to media (Closed)

Created:
4 years ago by chfremer
Modified:
4 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mojo Video Capture] Move SharedMem Tracker/BufferHandle/Factory from content to media Moved classes SharedMemoryBufferTracker, SharedMemoryBufferHandle, and VideoCaptureBufferTrackerFactoryImpl from content/browser/renderer_host/media to media/capture/video in order to make them reusable in the Mojo service. Fixed header guard in a few files in media/capture/video. This CL is part of the Mojo Video Capture work. For the bigger picture, see [1] CL1.9.5c BUG=584797 TEST=video_capture_unittests, content_unittests, capture_unittests [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing Committed: https://crrev.com/e46d5ad41d9f0fd575027ceab41f8e2a8c0695c4 Cr-Commit-Position: refs/heads/master@{#434278}

Patch Set 1 #

Patch Set 2 : Similarity 25 #

Total comments: 6

Patch Set 3 : mcasas comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -271 lines) Patch
M content/browser/BUILD.gn View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 3 chunks +2 lines, -2 lines 0 comments Download
D content/browser/renderer_host/media/shared_memory_buffer_handle.h View 1 chunk +0 lines, -39 lines 0 comments Download
D content/browser/renderer_host/media/shared_memory_buffer_handle.cc View 1 chunk +0 lines, -44 lines 0 comments Download
D content/browser/renderer_host/media/shared_memory_buffer_tracker.h View 1 1 chunk +0 lines, -37 lines 0 comments Download
D content/browser/renderer_host/media/shared_memory_buffer_tracker.cc View 1 chunk +0 lines, -46 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D content/browser/renderer_host/media/video_capture_buffer_tracker_factory_impl.h View 1 chunk +0 lines, -24 lines 0 comments Download
D content/browser/renderer_host/media/video_capture_buffer_tracker_factory_impl.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/capture/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
A + media/capture/video/shared_memory_buffer_tracker.h View 1 2 chunks +30 lines, -9 lines 0 comments Download
A + media/capture/video/shared_memory_buffer_tracker.cc View 1 2 3 chunks +41 lines, -10 lines 0 comments Download
M media/capture/video/video_capture_buffer_pool.h View 2 chunks +3 lines, -3 lines 0 comments Download
M media/capture/video/video_capture_buffer_pool_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M media/capture/video/video_capture_buffer_tracker.h View 2 chunks +3 lines, -3 lines 0 comments Download
M media/capture/video/video_capture_buffer_tracker_factory.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + media/capture/video/video_capture_buffer_tracker_factory_impl.h View 1 1 chunk +10 lines, -10 lines 0 comments Download
A + media/capture/video/video_capture_buffer_tracker_factory_impl.cc View 1 2 1 chunk +7 lines, -8 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (12 generated)
chfremer
mcasas: PTAL
4 years ago (2016-11-22 17:30:17 UTC) #3
mcasas
lgtm https://codereview.chromium.org/2523773002/diff/20001/content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc File content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc (right): https://codereview.chromium.org/2523773002/diff/20001/content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc#newcode1 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc:1: // Copyright (c) 2013 The Chromium Authors. All ...
4 years ago (2016-11-23 17:23:56 UTC) #4
chfremer
Addressed mcasas@ comments https://codereview.chromium.org/2523773002/diff/20001/content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc File content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc (right): https://codereview.chromium.org/2523773002/diff/20001/content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc#newcode1 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc:1: // Copyright (c) 2013 The Chromium ...
4 years ago (2016-11-23 17:42:56 UTC) #5
chfremer
avi@chromium.org: Please RS * content/browser/BUILD.gn * content/browser/media/capture/web_contents_video_capture_device_unittest.cc
4 years ago (2016-11-23 17:44:37 UTC) #7
Avi (use Gerrit)
lgtm stampity stamp
4 years ago (2016-11-23 18:35:59 UTC) #10
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/2523773002/40001
4 years ago (2016-11-23 22:00:09 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-23 23:41:00 UTC) #18
commit-bot: I haz the power
4 years ago (2016-11-23 23:42:15 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e46d5ad41d9f0fd575027ceab41f8e2a8c0695c4
Cr-Commit-Position: refs/heads/master@{#434278}

Powered by Google App Engine
This is Rietveld 408576698