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

Side by Side Diff: content/renderer/media/android/renderer_media_session_manager.h

Issue 1259633002: NOT FOR LANDING Implement WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack until something works Created 5 years, 4 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_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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698