Index: media/base/android/android_overlay.h |
diff --git a/media/base/android/android_overlay.h b/media/base/android/android_overlay.h |
index 24201f10a9d0c0578c3062742244c0da4498d676..728a0b3476195ea7758f678acd6296fa775cfb23 100644 |
--- a/media/base/android/android_overlay.h |
+++ b/media/base/android/android_overlay.h |
@@ -60,6 +60,9 @@ class MEDIA_EXPORT AndroidOverlay { |
gfx::Rect rect; |
+ // Require a secure overlay? |
+ bool secure = false; |
+ |
ReadyCB ready_cb; |
FailedCB failed_cb; |
DestroyedCB destroyed_cb; |
@@ -80,6 +83,10 @@ class MEDIA_EXPORT AndroidOverlay { |
DISALLOW_COPY_AND_ASSIGN(AndroidOverlay); |
}; |
+// Handy callback type to provide a routing token. |
+using RoutingTokenCallback = |
+ base::Callback<void(const base::UnguessableToken&)>; |
+ |
} // namespace media |
#endif // MEDIA_BASE_ANDROID_ANDROID_OVERLAY_H_ |