OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
31 #include "public/platform/WebRTCDataChannelHandler.h" | 31 #include "public/platform/WebRTCDataChannelHandler.h" |
32 #include "public/platform/WebRTCDataChannelHandlerClient.h" | 32 #include "public/platform/WebRTCDataChannelHandlerClient.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 class WebRTCDataChannelHandler; | 35 class WebRTCDataChannelHandler; |
36 class WebRTCPeerConnectionHandler; | 36 class WebRTCPeerConnectionHandler; |
37 struct WebRTCDataChannelInit; | 37 struct WebRTCDataChannelInit; |
38 } | 38 } |
39 | 39 |
40 namespace WebCore { | 40 namespace blink { |
41 | 41 |
42 class Blob; | 42 class Blob; |
43 class ExceptionState; | 43 class ExceptionState; |
44 class RTCPeerConnection; | 44 class RTCPeerConnection; |
45 | 45 |
46 class RTCDataChannel FINAL | 46 class RTCDataChannel FINAL |
47 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<RTCDataCh
annel> | 47 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<RTCDataCh
annel> |
48 , public EventTargetWithInlineData | 48 , public EventTargetWithInlineData |
49 , public blink::WebRTCDataChannelHandlerClient { | 49 , public blink::WebRTCDataChannelHandlerClient { |
50 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollectedWi
llBeGarbageCollectedFinalized<RTCDataChannel>); | 50 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollectedWi
llBeGarbageCollectedFinalized<RTCDataChannel>); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 BinaryTypeArrayBuffer | 117 BinaryTypeArrayBuffer |
118 }; | 118 }; |
119 BinaryType m_binaryType; | 119 BinaryType m_binaryType; |
120 | 120 |
121 Timer<RTCDataChannel> m_scheduledEventTimer; | 121 Timer<RTCDataChannel> m_scheduledEventTimer; |
122 WillBeHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents; | 122 WillBeHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents; |
123 | 123 |
124 WeakMember<RTCPeerConnection> m_connection; | 124 WeakMember<RTCPeerConnection> m_connection; |
125 }; | 125 }; |
126 | 126 |
127 } // namespace WebCore | 127 } // namespace blink |
128 | 128 |
129 #endif // RTCDataChannel_h | 129 #endif // RTCDataChannel_h |
OLD | NEW |