| Index: chromecast/browser/cast_media_blocker.h
|
| diff --git a/chromecast/browser/cast_media_blocker.h b/chromecast/browser/cast_media_blocker.h
|
| index 1c3d562421799216447a49e1723d3efb8006c998..58b3f990349ccd150c2e49428730026980392efd 100644
|
| --- a/chromecast/browser/cast_media_blocker.h
|
| +++ b/chromecast/browser/cast_media_blocker.h
|
| @@ -14,14 +14,9 @@ namespace shell {
|
|
|
| // This class implements a blocking mode for web applications and is used in
|
| // Chromecast internal code. Media is unblocked by default.
|
| -//
|
| -// TODO(derekjchow): Remove the inheritance from WebContentsObserver.
|
| -// See http://crbug.com/660331
|
| -class CastMediaBlocker : public content::MediaSessionObserver,
|
| - content::WebContentsObserver {
|
| +class CastMediaBlocker : public content::MediaSessionObserver {
|
| public:
|
| - CastMediaBlocker(content::MediaSession* media_session,
|
| - content::WebContents* web_contents);
|
| + explicit CastMediaBlocker(content::MediaSession* media_session);
|
| ~CastMediaBlocker() override;
|
|
|
| // Sets if the web contents is allowed to play media or not. If media is
|
|
|