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

Unified Diff: chromecast/browser/cast_media_blocker.cc

Issue 2535343003: [Chromecast] Simplify CastMediaBlocker. (Closed)
Patch Set: Created 4 years, 1 month 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 | « chromecast/browser/cast_media_blocker.h ('k') | chromecast/browser/cast_media_blocker_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_media_blocker.cc
diff --git a/chromecast/browser/cast_media_blocker.cc b/chromecast/browser/cast_media_blocker.cc
index dd92cadff20ee5b2441d7b0abdd8ea400bb60ecd..daeca5b5c44172b842d221e4e279e523ec263210 100644
--- a/chromecast/browser/cast_media_blocker.cc
+++ b/chromecast/browser/cast_media_blocker.cc
@@ -11,10 +11,8 @@
namespace chromecast {
namespace shell {
-CastMediaBlocker::CastMediaBlocker(content::MediaSession* media_session,
- content::WebContents* web_contents)
+CastMediaBlocker::CastMediaBlocker(content::MediaSession* media_session)
: content::MediaSessionObserver(media_session),
- content::WebContentsObserver(web_contents),
blocked_(false),
paused_by_user_(true),
suspended_(true),
« no previous file with comments | « chromecast/browser/cast_media_blocker.h ('k') | chromecast/browser/cast_media_blocker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698