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

Side by Side Diff: services/video_capture/buffer_tracker_factory_impl.h

Issue 2573223002: [Mojo Video Capture] Simplify media::VideoCaptureDevice::Client:Buffer to a struct (Closed)
Patch Set: miu's comments 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698