OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef DOMWebSocket_h | 31 #ifndef DOMWebSocket_h |
32 #define DOMWebSocket_h | 32 #define DOMWebSocket_h |
33 | 33 |
34 #include <stddef.h> | 34 #include <stddef.h> |
35 #include <stdint.h> | 35 #include <stdint.h> |
36 #include <memory> | 36 #include <memory> |
37 #include "bindings/core/v8/ActiveScriptWrappable.h" | |
38 #include "bindings/core/v8/ScriptWrappable.h" | 37 #include "bindings/core/v8/ScriptWrappable.h" |
39 #include "core/dom/ArrayBufferViewHelpers.h" | 38 #include "core/dom/ArrayBufferViewHelpers.h" |
40 #include "core/dom/SuspendableObject.h" | 39 #include "core/dom/SuspendableObject.h" |
41 #include "core/events/EventListener.h" | 40 #include "core/events/EventListener.h" |
42 #include "core/events/EventTarget.h" | 41 #include "core/events/EventTarget.h" |
43 #include "modules/EventTargetModules.h" | 42 #include "modules/EventTargetModules.h" |
44 #include "modules/ModulesExport.h" | 43 #include "modules/ModulesExport.h" |
45 #include "modules/websockets/WebSocketChannel.h" | 44 #include "modules/websockets/WebSocketChannel.h" |
46 #include "modules/websockets/WebSocketChannelClient.h" | 45 #include "modules/websockets/WebSocketChannelClient.h" |
47 #include "platform/Timer.h" | 46 #include "platform/Timer.h" |
| 47 #include "platform/bindings/ActiveScriptWrappable.h" |
48 #include "platform/heap/Handle.h" | 48 #include "platform/heap/Handle.h" |
49 #include "platform/weborigin/KURL.h" | 49 #include "platform/weborigin/KURL.h" |
50 #include "platform/wtf/Deque.h" | 50 #include "platform/wtf/Deque.h" |
51 #include "platform/wtf/Forward.h" | 51 #include "platform/wtf/Forward.h" |
52 #include "platform/wtf/PassRefPtr.h" | 52 #include "platform/wtf/PassRefPtr.h" |
53 #include "platform/wtf/RefPtr.h" | 53 #include "platform/wtf/RefPtr.h" |
54 #include "platform/wtf/text/WTFString.h" | 54 #include "platform/wtf/text/WTFString.h" |
55 | 55 |
56 namespace blink { | 56 namespace blink { |
57 | 57 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 String subprotocol_; | 253 String subprotocol_; |
254 String extensions_; | 254 String extensions_; |
255 | 255 |
256 Member<EventQueue> event_queue_; | 256 Member<EventQueue> event_queue_; |
257 TaskRunnerTimer<DOMWebSocket> buffered_amount_consume_timer_; | 257 TaskRunnerTimer<DOMWebSocket> buffered_amount_consume_timer_; |
258 }; | 258 }; |
259 | 259 |
260 } // namespace blink | 260 } // namespace blink |
261 | 261 |
262 #endif // DOMWebSocket_h | 262 #endif // DOMWebSocket_h |
OLD | NEW |