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

Side by Side Diff: media/capture/video/video_capture_buffer_tracker_factory_impl.cc

Issue 2523773002: [Mojo Video Capture] Move SharedMem Tracker/BufferHandle/Factory from content to media (Closed)
Patch Set: Similarity 25 Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/media/video_capture_buffer_tracker_facto ry_impl.h" 5 #include "media/capture/video/video_capture_buffer_tracker_factory_impl.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 8
9 #include "content/browser/renderer_host/media/shared_memory_buffer_tracker.h" 9 #include "media/capture/video/shared_memory_buffer_tracker.h"
10 10
11 namespace content { 11 namespace media {
12 12
13 std::unique_ptr<media::VideoCaptureBufferTracker> 13 std::unique_ptr<VideoCaptureBufferTracker>
14 VideoCaptureBufferTrackerFactoryImpl::CreateTracker( 14 VideoCaptureBufferTrackerFactoryImpl::CreateTracker(VideoPixelStorage storage) {
15 media::VideoPixelStorage storage) {
16 DCHECK_EQ(media::PIXEL_STORAGE_CPU, storage); 15 DCHECK_EQ(media::PIXEL_STORAGE_CPU, storage);
mcasas 2016/11/23 17:23:56 nit: no need for media:: here.
chfremer 2016/11/23 17:42:56 Done.
17 return base::MakeUnique<SharedMemoryBufferTracker>(); 16 return base::MakeUnique<SharedMemoryBufferTracker>();
18 } 17 }
19 18
20 } // namespace content 19 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698