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

Unified Diff: media/base/overlay_info.h

Issue 2849043002: Send AndroidOverlay routing token from WMPI to AVDA. (Closed)
Patch Set: rebased 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/media_switches.cc ('k') | media/base/renderer_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/overlay_info.h
diff --git a/media/base/overlay_info.h b/media/base/overlay_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..da0c387dcbcfcc65e3c96ea27cbb733fbeca478c
--- /dev/null
+++ b/media/base/overlay_info.h
@@ -0,0 +1,24 @@
+// 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_OVERLAY_INFO_H_
+#define MEDIA_BASE_OVERLAY_INFO_H_
+
+#include "base/callback.h"
+#include "base/macros.h"
+#include "base/optional.h"
+#include "base/unguessable_token.h"
+
+namespace media {
+
+// Request information to construct an overlay. This can be either a surface_id
+// or an AndroidOverlay routing token.
+using ProvideOverlayInfoCB =
+ base::Callback<void(int, const base::Optional<base::UnguessableToken>&)>;
+using RequestOverlayInfoCB =
+ base::Callback<void(bool, const ProvideOverlayInfoCB&)>;
+
+} // namespace media
+
+#endif // MEDIA_BASE_OVERLAY_INFO_H_
« no previous file with comments | « media/base/media_switches.cc ('k') | media/base/renderer_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698