OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SERVICES_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_IMPL_H_ | |
6 #define SERVICES_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_IMPL_H_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "media/capture/video/video_capture_buffer_tracker_factory.h" | |
11 | |
12 namespace video_capture { | |
13 | |
14 // Implementation of media::VideoCaptureBufferTrackerFactory specific to the | |
15 // Mojo Video Capture service. It produces buffers that are backed by | |
16 // mojo shared memory. | |
17 class BufferTrackerFactoryImpl | |
18 : public media::VideoCaptureBufferTrackerFactory { | |
19 public: | |
20 std::unique_ptr<media::VideoCaptureBufferTracker> CreateTracker( | |
21 media::VideoPixelStorage storage) override; | |
22 }; | |
23 | |
24 } // namespace video_capture | |
25 | |
26 #endif // SERVICES_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_IMPL_H_ | |
OLD | NEW |