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

Side by Side Diff: content/browser/media/android/browser_media_session_manager.h

Issue 2399023002: Make MediaSession available on Desktop (Closed)
Patch Set: merge BrowserMediaSessionManager into MediaSessionServiceImpl, temporarily removing BrowserTests 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_SESSION_MANAGER_H_
6 #define CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_SESSION_MANAGER_H_
7
8 #include "base/macros.h"
9 #include "base/optional.h"
10 #include "content/common/content_export.h"
11
12 namespace IPC {
13 class Message;
14 } // namespace IPC
15
16 namespace content {
17
18 class RenderFrameHost;
19 struct MediaMetadata;
20
21 class CONTENT_EXPORT BrowserMediaSessionManager {
22 public:
23 explicit BrowserMediaSessionManager(RenderFrameHost* render_frame_host);
24
25 virtual void OnSetMetadata(int session_id,
26 const base::Optional<MediaMetadata>& metadata);
27
28 private:
29 RenderFrameHost* const render_frame_host_;
30
31 DISALLOW_COPY_AND_ASSIGN(BrowserMediaSessionManager);
32 };
33
34 } // namespace content
35
36 #endif // CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_SESSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698