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

Unified Diff: chromecast/browser/cast_media_blocker.cc

Issue 2411723002: Split MediaSessionStateChanged() and MediaSessionMetadataChanged() (Closed)
Patch Set: rebased Created 4 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
« no previous file with comments | « chromecast/browser/cast_media_blocker.h ('k') | content/browser/android/web_contents_observer_proxy.h » ('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 dfc371e76aac83d0e962f7101878c4f85297461e..935dec53fbeb05100a893a40584038033487b442 100644
--- a/chromecast/browser/cast_media_blocker.cc
+++ b/chromecast/browser/cast_media_blocker.cc
@@ -47,10 +47,8 @@ void CastMediaBlocker::UpdateMediaBlockedState() {
}
}
-void CastMediaBlocker::MediaSessionStateChanged(
- bool is_controllable,
- bool is_suspended,
- const base::Optional<content::MediaMetadata>& metadata) {
+void CastMediaBlocker::MediaSessionStateChanged(bool is_controllable,
+ bool is_suspended) {
controllable_ = is_controllable;
suspended_ = is_suspended;
UpdateMediaBlockedState();
« no previous file with comments | « chromecast/browser/cast_media_blocker.h ('k') | content/browser/android/web_contents_observer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698