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

Unified Diff: media/mojo/common/mojo_video_frame_provider_factory.cc

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/mojo/common/mojo_video_frame_provider_factory.h ('k') | media/mojo/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/mojo_video_frame_provider_factory.cc
diff --git a/media/mojo/common/mojo_video_frame_provider_factory.cc b/media/mojo/common/mojo_video_frame_provider_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d064e0d291665193844d355da21de5d970ecfdb7
--- /dev/null
+++ b/media/mojo/common/mojo_video_frame_provider_factory.cc
@@ -0,0 +1,21 @@
+// 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.
+
+#include "media/mojo/common/mojo_video_frame_provider_factory.h"
+
+#include "base/memory/ptr_util.h"
+#include "media/mojo/common/mojo_video_frame_provider.h"
+
+namespace media {
+
+MojoVideoFrameProviderFactory::MojoVideoFrameProviderFactory() {}
+
+MojoVideoFrameProviderFactory::~MojoVideoFrameProviderFactory() {}
+
+std::unique_ptr<VideoFrameProvider>
+MojoVideoFrameProviderFactory::CreateVideoFrameProvider() {
+ return base::MakeUnique<MojoVideoFrameProvider>();
+}
+
+} // namespace media
« no previous file with comments | « media/mojo/common/mojo_video_frame_provider_factory.h ('k') | media/mojo/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698