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 WebMediaSession_h | |
6 #define WebMediaSession_h | |
7 | |
8 #include "public/platform/WebCallbacks.h" | |
9 #include "public/platform/modules/mediasession/WebMediaSessionError.h" | |
10 | |
11 namespace blink { | |
12 | |
13 using WebMediaSessionCommandCallback = WebCallbacks<void, const WebMediaSessionE rror&>; | |
14 | |
15 class WebMediaSession { | |
16 public: | |
17 virtual ~WebMediaSession() = default; | |
18 | |
19 virtual void activate(WebMediaSessionCommandCallback*) = 0; | |
20 virtual void deactivate(WebMediaSessionCommandCallback*) = 0; | |
mlamouri (slow - plz ping)
2015/10/07 14:19:31
Why are we using a custom callback for deactivate(
davve
2015/10/08 09:17:35
As the code stands here, there's no probably no go
mlamouri (slow - plz ping)
2015/10/09 13:01:28
I replied in the new patchset. I don't think we sh
davve
2015/10/19 13:12:42
Done.
| |
21 }; | |
22 | |
23 } // namespace blink | |
24 | |
25 #endif // WebMediaSession_h | |
OLD | NEW |