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

Unified Diff: media/base/android_overlay_mojo_factory.h

Issue 2856253004: removed AndroidOverlayFactory (Closed)
Patch Set: cl feedvback Created 3 years, 7 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_overlay_config.cc ('k') | media/gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android_overlay_mojo_factory.h
diff --git a/media/base/android_overlay_mojo_factory.h b/media/base/android_overlay_mojo_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..04458bdd0a399dd2d85fea2fb7094819a0b78191
--- /dev/null
+++ b/media/base/android_overlay_mojo_factory.h
@@ -0,0 +1,20 @@
+// 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_OVERLAY_MOJO_FACTORY_CB_H_
+#define MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_
+
+#include "base/callback.h"
+#include "base/macros.h"
+#include "media/base/android_overlay_config.h"
+
+namespace media {
+
+// Note that this compiles on non-android too.
+using AndroidOverlayMojoFactoryCB = base::RepeatingCallback<std::unique_ptr<
+ AndroidOverlay>(base::UnguessableToken&, const AndroidOverlayConfig&)>
xhwang 2017/06/01 05:50:59 ISTM this file lives in media/base and this callba
liberato (no reviews please) 2017/06/01 06:07:55 good point. the need for a base::UnguessableToken
+
+} // namespace media
+
+#endif // MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_
« no previous file with comments | « media/base/android_overlay_config.cc ('k') | media/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698