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

Unified Diff: media/base/video_frame_provider_factory.h

Issue 2643713003: Allow to use the DefaultRendererFactory from a Utility Process (Closed)
Patch Set: Rebase Created 3 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/video_frame_provider_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame_provider_factory.h
diff --git a/media/base/video_frame_provider_factory.h b/media/base/video_frame_provider_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..a6854932a815ddc5fca6e13acee399e58ecb5f7d
--- /dev/null
+++ b/media/base/video_frame_provider_factory.h
@@ -0,0 +1,30 @@
+// Copyright 2017 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_BASE_VIDEO_FRAME_PROVIDER_FACTORY_H_
+#define MEDIA_BASE_VIDEO_FRAME_PROVIDER_FACTORY_H_
+
+#include <memory>
+
+#include "base/macros.h"
+#include "media/base/media_export.h"
+
+namespace media {
+
+class VideoFrameProvider;
+
+class MEDIA_EXPORT VideoFrameProviderFactory {
+ public:
+ VideoFrameProviderFactory();
+ virtual ~VideoFrameProviderFactory();
+
+ virtual std::unique_ptr<VideoFrameProvider> CreateVideoFrameProvider() = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(VideoFrameProviderFactory);
+};
+
+} // namespace media
+
+#endif // MEDIA_BASE_VIDEO_FRAME_PROVIDER_FACTORY_H_
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/video_frame_provider_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698