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; | |
13 class DOMException; | 12 class DOMException; |
14 | 13 |
15 class RTCPeerConnectionErrorCallback | 14 class RTCPeerConnectionErrorCallback |
16 : public GarbageCollectedFinalized<RTCPeerConnectionErrorCallback> { | 15 : public GarbageCollectedFinalized<RTCPeerConnectionErrorCallback> { |
17 public: | 16 public: |
18 virtual ~RTCPeerConnectionErrorCallback() {} | 17 virtual ~RTCPeerConnectionErrorCallback() {} |
19 virtual void handleEvent(DOMException*) = 0; | 18 virtual void handleEvent(DOMException*) = 0; |
20 DEFINE_INLINE_VIRTUAL_TRACE() {} | 19 DEFINE_INLINE_VIRTUAL_TRACE() {} |
21 }; | 20 }; |
22 | 21 |
23 } // namespace blink | 22 } // namespace blink |
24 | 23 |
25 #endif // RTCPeerConnectionErrorCallback_h | 24 #endif // RTCPeerConnectionErrorCallback_h |
OLD | NEW |