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

Unified Diff: chromecast/browser/cast_content_browser_client.h

Issue 2277853002: [Chromecast] Support blocking some video resolutions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO on removal plan Created 4 years, 4 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: chromecast/browser/cast_content_browser_client.h
diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h
index 7b0cfff2b0f20655c90074011af3a3fe457a86b7..df5324ea82a560071d66cd066db984576c9b94c7 100644
--- a/chromecast/browser/cast_content_browser_client.h
+++ b/chromecast/browser/cast_content_browser_client.h
@@ -43,6 +43,7 @@ class MediaPipelineBackendManager;
struct MediaPipelineDeviceParams;
class MediaResourceTracker;
class VideoPlaneController;
+class VideoResolutionPolicy;
}
namespace shell {
@@ -74,6 +75,9 @@ class CastContentBrowserClient : public content::ContentBrowserClient {
media::VideoPlaneController* video_plane_controller);
#if !defined(OS_ANDROID)
+ // Gets object for enforcing video resolution policy restrictions.
+ virtual media::VideoResolutionPolicy* GetVideoResolutionPolicy();
+
// Returns the task runner that must be used for media IO.
scoped_refptr<base::SingleThreadTaskRunner> GetMediaTaskRunner();
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.cc » ('j') | chromecast/browser/media/video_resolution_policy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698