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 MediaSession_h |
| 6 #define MediaSession_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/Handle.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class MediaSession : public ScriptWrappable, public RefCountedWillBeNoBase<Media
Session> { |
| 14 DEFINE_WRAPPERTYPEINFO(); |
| 15 public: |
| 16 static RefPtrWillBeRawPtr<MediaSession> create(); |
| 17 |
| 18 void activate(); |
| 19 void deactivate(); |
| 20 |
| 21 private: |
| 22 MediaSession(); |
| 23 }; |
| 24 |
| 25 } |
| 26 |
| 27 #endif // MediaSession_h |
OLD | NEW |