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

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

Issue 2765443004: AndroidOverlay implementation using Dialog. (Closed)
Patch Set: make findbugs happy 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/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_

Powered by Google App Engine
This is Rietveld 408576698