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

Unified Diff: third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h

Issue 1641993003: Pass media session id over IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@possible-next-split
Patch Set: Enumify constant Created 4 years, 10 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 | « media/blink/webmediaplayer_cast_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h
diff --git a/third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h b/third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h
index e0f465956a4fedce39d4a1b8c0eb42b4f76d82f2..439a6c7a02109032d2e8bc83eb36556b14d14189 100644
--- a/third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h
+++ b/third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h
@@ -17,6 +17,10 @@ struct WebMediaMetadata;
class WebMediaSession {
public:
+ enum {
+ DefaultID = 0
+ };
+
virtual ~WebMediaSession() = default;
// Tries to activate the session by requesting audio focus from
@@ -32,7 +36,7 @@ public:
virtual void deactivate(WebMediaSessionDeactivateCallback*) = 0;
// Updates the metadata associated with the WebMediaSession. The metadata
- // can be a nullptr in which case the associated metadata should be reset.
+ // can be a nullptr in which case the assouciated metadata should be reset.
// The pointer is not owned by the WebMediaSession implementation.
virtual void setMetadata(const WebMediaMetadata*) = 0;
};
« no previous file with comments | « media/blink/webmediaplayer_cast_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698