OLD | NEW |
(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 |
| 10 namespace content { |
| 11 |
| 12 class RenderFrameHost; |
| 13 |
| 14 class BrowserMediaSessionManager { |
| 15 public: |
| 16 BrowserMediaSessionManager(RenderFrameHost* render_frame_host); |
| 17 |
| 18 // Message handlers. |
| 19 void OnActivate(int session_id); |
| 20 void OnDeactivate(int session_id); |
| 21 |
| 22 private: |
| 23 RenderFrameHost* const render_frame_host_; |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(BrowserMediaSessionManager); |
| 26 }; |
| 27 |
| 28 } // namespace content |
| 29 |
| 30 #endif // CONTENT_BROWSER_MEDIA_ANDROID_BROWSER_MEDIA_SESSION_MANAGER_H_ |
OLD | NEW |