blob: 9702074feb1165a1105b9f1b27ba3ac0e17a3d9d [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_IMPL_H_
#define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_IMPL_H_
#include <memory>
#include "media/capture/capture_export.h"
#include "media/capture/video/video_capture_buffer_tracker_factory.h"
namespace media {
class CAPTURE_EXPORT VideoCaptureBufferTrackerFactoryImpl
: public VideoCaptureBufferTrackerFactory {
public:
std::unique_ptr<VideoCaptureBufferTracker> CreateTracker(
VideoCaptureBufferType buffer_type) override;
std::unique_ptr<VideoCaptureBufferTracker>
CreateTrackerForExternalGpuMemoryBuffer(
const gfx::GpuMemoryBufferHandle& handle) override;
};
} // namespace media
#endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_IMPL_H_