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

Unified Diff: content/public/browser/media_session_observer.h

Issue 2623953002: [Chromecast] Fix media session blocking tests. (Closed)
Patch Set: [Chromecast] Fix media session blocking tests. Created 3 years, 11 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 | « content/public/browser/media_session.h ('k') | content/public/browser/media_session_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/media_session_observer.h
diff --git a/content/public/browser/media_session_observer.h b/content/public/browser/media_session_observer.h
index 34f69e8ff8a54ad719a4eb0d7585f912b11133e0..9c60ddee09300de614f2aa09da19395e74ce4c2b 100644
--- a/content/public/browser/media_session_observer.h
+++ b/content/public/browser/media_session_observer.h
@@ -21,7 +21,6 @@ enum class MediaSessionAction;
namespace content {
class MediaSession;
-class MediaSessionImpl;
// The observer for observing MediaSession events.
class CONTENT_EXPORT MediaSessionObserver {
@@ -49,7 +48,7 @@ class CONTENT_EXPORT MediaSessionObserver {
protected:
// Create a MediaSessionObserver and start observing a session.
- MediaSessionObserver(MediaSession* media_session);
+ explicit MediaSessionObserver(MediaSession* media_session);
// Destruct a MediaSessionObserver and remove it from the session if it's
// still observing.
virtual ~MediaSessionObserver();
@@ -60,7 +59,7 @@ class CONTENT_EXPORT MediaSessionObserver {
void StopObserving();
// Weak pointer to MediaSession
- MediaSessionImpl* media_session_;
+ MediaSession* media_session_;
DISALLOW_COPY_AND_ASSIGN(MediaSessionObserver);
};
« no previous file with comments | « content/public/browser/media_session.h ('k') | content/public/browser/media_session_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698