Chromium Code Reviews| 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 #ifndef MediaSession_h | 5 #ifndef MediaSession_h |
| 6 #define MediaSession_h | 6 #define MediaSession_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class MediaSession : public GarbageCollected<MediaSession>, public ScriptWrappab le { | 13 class MediaSession : public GarbageCollected<MediaSession>, public ScriptWrappab le { |
| 14 DEFINE_WRAPPERTYPEINFO(); | 14 DEFINE_WRAPPERTYPEINFO(); |
| 15 public: | 15 public: |
| 16 static MediaSession* create(); | 16 static MediaSession* create(); |
| 17 | 17 |
| 18 void activate(); | 18 void activate(); |
| 19 void deactivate(); | 19 void deactivate(); |
| 20 | 20 |
| 21 DEFINE_INLINE_TRACE() { } | 21 DEFINE_INLINE_TRACE() { } |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 MediaSession(); | 24 MediaSession() { } |
|
whywhat
2015/07/02 15:05:16
= default
davve
2015/07/02 15:19:53
https://www.chromium.org/developers/coding-style/c
whywhat
2015/07/02 15:33:50
As I understand, you either leave it as it was (em
mlamouri (slow - plz ping)
2015/07/02 17:28:55
+1 for using "= default". lgtm with that.
| |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace blink | 27 } // namespace blink |
| 28 | 28 |
| 29 #endif // MediaSession_h | 29 #endif // MediaSession_h |
| OLD | NEW |