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

Unified Diff: media/mojo/clients/mojo_android_overlay_factory.cc

Issue 2688193002: Mojo framework for AndroidOverlay. (Closed)
Patch Set: fixed mojo manifest bug introduced by rebase Created 3 years, 9 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
Index: media/mojo/clients/mojo_android_overlay_factory.cc
diff --git a/media/mojo/clients/mojo_android_overlay_factory.cc b/media/mojo/clients/mojo_android_overlay_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6cff6b1f0de4cc396d1e0f6e409d5476cf05991e
--- /dev/null
+++ b/media/mojo/clients/mojo_android_overlay_factory.cc
@@ -0,0 +1,22 @@
+// 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/clients/mojo_android_overlay_factory.h"
+
+#include "media/mojo/clients/mojo_android_overlay.h"
+
+namespace media {
+
+MojoAndroidOverlayFactory::MojoAndroidOverlayFactory(
+ service_manager::mojom::InterfaceProvider* interface_provider)
+ : interface_provider_(interface_provider) {}
+
+MojoAndroidOverlayFactory::~MojoAndroidOverlayFactory() {}
+
+std::unique_ptr<AndroidOverlay> MojoAndroidOverlayFactory::CreateOverlay(
+ const AndroidOverlay::Config& config) {
+ return base::MakeUnique<MojoAndroidOverlay>(interface_provider_, config);
+}
+
+} // namespace media
« no previous file with comments | « media/mojo/clients/mojo_android_overlay_factory.h ('k') | media/mojo/clients/mojo_android_overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698