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

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

Issue 1441883003: Hook up RendererMediaSessionManager with browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clang compile fix Created 5 years 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/basictypes.h"
9 #include "content/browser/media/android/media_session.h"
mlamouri (slow - plz ping) 2015/11/30 12:38:20 nit: do you need this include?
davve 2015/11/30 14:19:48 Not for more than pulling in ipc_message.h. Fixed.
10
11 namespace content {
12
13 class RenderFrameHost;
14
15 class BrowserMediaSessionManager {
16 public:
17 BrowserMediaSessionManager(RenderFrameHost* render_frame_host);
18
19 // Message handlers.
20 void OnActivate(int session_id, int activation_id);
21 void OnDeactivate(int session_id, int deactivation_id);
22
23 int RoutingID();
mlamouri (slow - plz ping) 2015/11/30 12:38:20 nit: GetRoutingID(), probably |const| too.
davve 2015/11/30 14:19:48 Done. (Maybe something to fix in BrowserMediaPlaye
24
25 bool Send(IPC::Message* msg);
26
27 private:
28 RenderFrameHost* const render_frame_host_;
29
30 DISALLOW_COPY_AND_ASSIGN(BrowserMediaSessionManager);
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_SESSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698