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

Unified Diff: chrome/browser/android/chrome_web_contents_delegate_android.h

Issue 1372203002: Throttle media decoding after excessive Android media server crashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 5 years, 3 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: chrome/browser/android/chrome_web_contents_delegate_android.h
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.h b/chrome/browser/android/chrome_web_contents_delegate_android.h
index 4dcbaaf49c9009021f939a8031f9c8e5fd0d0602..3d6c124ecb1828cc18268450cfee53e9756bdfd4 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.h
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.h
@@ -68,6 +68,9 @@ class ChromeWebContentsDelegateAndroid
bool CheckMediaAccessPermission(content::WebContents* web_contents,
const GURL& security_origin,
content::MediaStreamType type) override;
+ void RequestMediaDecodePermission(
+ content::WebContents* web_contents,
+ const base::Callback<void(bool)>& callback) override;
bool RequestPpapiBrokerPermission(
content::WebContents* web_contents,
const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698