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

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

Issue 2688193002: Mojo framework for AndroidOverlay. (Closed)
Patch Set: replaced frame id, pid with token 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 bc60356745ea88f50e05516c59fb3624ccc9204b..24201f10a9d0c0578c3062742244c0da4498d676 100644
--- a/media/base/android/android_overlay.h
+++ b/media/base/android/android_overlay.h
@@ -8,6 +8,7 @@
#include "base/android/scoped_java_ref.h"
#include "base/callback.h"
#include "base/macros.h"
+#include "base/unguessable_token.h"
#include "media/base/media_export.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gl/android/scoped_java_surface.h"
@@ -54,6 +55,9 @@ class MEDIA_EXPORT AndroidOverlay {
Config(const Config&);
~Config();
+ // Implementation-specific token.
+ base::UnguessableToken routing_token;
liberato (no reviews please) 2017/03/11 21:39:36 it turns out that not only is (frame id, pid) a la
+
gfx::Rect rect;
ReadyCB ready_cb;

Powered by Google App Engine
This is Rietveld 408576698