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

Unified Diff: chrome/browser/android/tab_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: new infobar text per UI review Created 5 years, 2 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/tab_web_contents_delegate_android.h
diff --git a/chrome/browser/android/tab_web_contents_delegate_android.h b/chrome/browser/android/tab_web_contents_delegate_android.h
index b0405f67bc527172429baa46372cc965c661f6e6..af0795db4f6b88ef36da71f8bdffccd8de8bf6c1 100644
--- a/chrome/browser/android/tab_web_contents_delegate_android.h
+++ b/chrome/browser/android/tab_web_contents_delegate_android.h
@@ -68,6 +68,9 @@ class TabWebContentsDelegateAndroid
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