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

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

Issue 2479603003: Revert of Adding new media controls to MediaNotification (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
Index: content/public/browser/media_session.h
diff --git a/content/public/browser/media_session.h b/content/public/browser/media_session.h
index 78a18898d4c8b414e6416a277d490781c9bf5057..9d92b77eaf598ff570fc21347bb87482236ccb48 100644
--- a/content/public/browser/media_session.h
+++ b/content/public/browser/media_session.h
@@ -7,12 +7,6 @@
#include "base/macros.h"
#include "content/common/content_export.h"
-
-namespace blink {
-namespace mojom {
-enum class MediaSessionAction;
-} // namespace mojom
-} // namespace blink
namespace content {
@@ -52,9 +46,6 @@
// |type| represents the origin of the request.
virtual void Stop(SuspendType suspend_type) = 0;
- // Tell the media session a user action has performed.
- virtual void DidReceiveAction(blink::mojom::MediaSessionAction action) = 0;
-
protected:
MediaSession() = default;
};

Powered by Google App Engine
This is Rietveld 408576698