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_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_SESSION_MANAGER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_SESSION_MANAGER_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "content/public/renderer/render_frame_observer.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class RendererMediaSessionManager : public RenderFrameObserver { |
| 14 public: |
| 15 RendererMediaSessionManager(RenderFrame* render_frame); |
| 16 ~RendererMediaSessionManager(); |
| 17 |
| 18 void Activate(int session_id); |
| 19 void Deactivate(int session_id); |
| 20 |
| 21 private: |
| 22 int next_media_session_id_; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(RendererMediaSessionManager); |
| 25 }; |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_SESSION_MANAGER_H_ |
OLD | NEW |