Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index 76dfd36b64aa9a17957d09d0ab36d27fdb65899d..9c344f21109f32173177d442f2554ae220b47bab 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -453,6 +453,14 @@ class CONTENT_EXPORT WebContentsDelegate { |
const GURL& security_origin, |
MediaStreamType type); |
+#if defined(OS_ANDROID) |
+ // Asks permission to decode media stream. After permission is determined, |
+ // |callback| will be called with the result. |
+ virtual void RequestMediaDecodePermission( |
+ WebContents* web_contents, |
+ const base::Callback<void(bool)>& callback); |
+#endif |
+ |
// Requests permission to access the PPAPI broker. The delegate should return |
// true and call the passed in |callback| with the result, or return false |
// to indicate that it does not support asking for permission. |