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

Unified Diff: media/blink/webmediaplayer_params.h

Issue 2338223003: Unassociating MediaSession from media players (in blink & content) (Closed)
Patch Set: fixed tests Created 4 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
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/blink/webmediaplayer_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_params.h
diff --git a/media/blink/webmediaplayer_params.h b/media/blink/webmediaplayer_params.h
index 40413010b508cd9a173c669a6f1849f11bcf3ceb..230e5295294a7a313deebee68dfba0d9e6a0b4de 100644
--- a/media/blink/webmediaplayer_params.h
+++ b/media/blink/webmediaplayer_params.h
@@ -21,7 +21,6 @@ class TaskRunner;
namespace blink {
class WebContentDecryptionModule;
class WebMediaPlayerClient;
-class WebMediaSession;
}
namespace media {
@@ -56,8 +55,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
const Context3DCB& context_3d,
const AdjustAllocatedMemoryCB& adjust_allocated_memory_cb,
blink::WebContentDecryptionModule* initial_cdm,
- SurfaceManager* surface_manager,
- blink::WebMediaSession* media_session);
+ SurfaceManager* surface_manager);
~WebMediaPlayerParams();
@@ -97,8 +95,6 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
SurfaceManager* surface_manager() const { return surface_manager_; }
- const blink::WebMediaSession* media_session() const { return media_session_; }
-
private:
DeferLoadCB defer_load_cb_;
scoped_refptr<SwitchableAudioRendererSink> audio_renderer_sink_;
@@ -112,8 +108,6 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
blink::WebContentDecryptionModule* initial_cdm_;
SurfaceManager* surface_manager_;
- blink::WebMediaSession* media_session_;
-
DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerParams);
};
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/blink/webmediaplayer_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698