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

Unified Diff: media/base/android/android_overlay_factory.h

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
« no previous file with comments | « media/base/android/android_overlay.h ('k') | media/mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/android_overlay_factory.h
diff --git a/media/base/android/android_overlay_factory.h b/media/base/android/android_overlay_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..a023357d301a4f53ed52aa123ae78b10ad087e93
--- /dev/null
+++ b/media/base/android/android_overlay_factory.h
@@ -0,0 +1,28 @@
+// 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_ANDROID_ANDROID_OVERLAY_FACTORY_H_
+#define MEDIA_BASE_ANDROID_ANDROID_OVERLAY_FACTORY_H_
+
+#include "media/base/android/android_overlay.h"
+
+namespace media {
+
+// Base class for overlay factories.
+class AndroidOverlayFactory {
+ public:
+ virtual ~AndroidOverlayFactory() {}
+
+ virtual std::unique_ptr<AndroidOverlay> CreateOverlay(
+ const AndroidOverlay::Config& config) = 0;
+
+ protected:
+ AndroidOverlayFactory() {}
+
+ DISALLOW_COPY_AND_ASSIGN(AndroidOverlayFactory);
+};
+
+} // namespace media
+
+#endif // MEDIA_BASE_ANDROID_ANDROID_OVERLAY_FACTORY_H_
« no previous file with comments | « media/base/android/android_overlay.h ('k') | media/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698