OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 RTCPeerConnectionErrorCallback_h | 5 #ifndef RTCPeerConnectionErrorCallback_h |
6 #define RTCPeerConnectionErrorCallback_h | 6 #define RTCPeerConnectionErrorCallback_h |
7 | 7 |
8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class ExecutionContext; | 12 class ExecutionContext; |
13 class DOMException; | 13 class DOMException; |
14 | 14 |
15 class RTCPeerConnectionErrorCallback : public GarbageCollectedFinalized<RTCPeerC
onnectionErrorCallback> { | 15 class RTCPeerConnectionErrorCallback : public GarbageCollectedFinalized<RTCPeerC
onnectionErrorCallback> { |
16 public: | 16 public: |
17 virtual ~RTCPeerConnectionErrorCallback() {} | 17 virtual ~RTCPeerConnectionErrorCallback() {} |
18 virtual void handleEvent(DOMException*) = 0; | 18 virtual void handleEvent(DOMException*) = 0; |
19 DEFINE_INLINE_VIRTUAL_TRACE() { } | 19 DEFINE_INLINE_VIRTUAL_TRACE() { } |
20 }; | 20 }; |
21 | 21 |
22 } // namespace blink | 22 } // namespace blink |
23 | 23 |
24 #endif // RTCPeerConnectionErrorCallback_h | 24 #endif // RTCPeerConnectionErrorCallback_h |
OLD | NEW |