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

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

Issue 1570043002: Implement MediaSession on top of the WebMediaPlayerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media_session
Patch Set: Reorder. Created 4 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
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 3d770b73791e7f2c108a1707830aa750911e9a8a..b607d71556aa1840b2281feab2e445781f82a801 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -435,7 +435,7 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
// and subsequently within a WebContents. MediaStartedPlaying() will always
// be followed by MediaStoppedPlaying() after player teardown. Observers must
// release all stored copies of |id| when MediaStoppedPlaying() is received.
- using MediaPlayerId = std::pair<RenderFrameHost*, int64_t>;
+ using MediaPlayerId = std::pair<RenderFrameHost*, int>;
virtual void MediaStartedPlaying(const MediaPlayerId& id) {}
virtual void MediaStoppedPlaying(const MediaPlayerId& id) {}

Powered by Google App Engine
This is Rietveld 408576698