OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "modules/mediasession/MediaSession.h" | 6 #include "modules/mediasession/MediaSession.h" |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 MediaSession::MediaSession() | 10 MediaSession::MediaSession() |
11 { | 11 { |
12 } | 12 } |
13 | 13 |
14 RefPtrWillBeRawPtr<MediaSession> MediaSession::create() | 14 MediaSession* MediaSession::create() |
15 { | 15 { |
16 return adoptRefWillBeNoop(new MediaSession()); | 16 return new MediaSession; |
17 } | 17 } |
18 | 18 |
19 void MediaSession::activate() | 19 void MediaSession::activate() |
20 { | 20 { |
21 } | 21 } |
22 | 22 |
23 void MediaSession::deactivate() | 23 void MediaSession::deactivate() |
24 { | 24 { |
25 } | 25 } |
26 | 26 |
27 } | 27 } // namespace blink |
OLD | NEW |