| 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 13 matching lines...) Expand all Loading... |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 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> |
| 35 #include <stdint.h> |
| 36 #include <memory> |
| 34 #include "bindings/core/v8/ActiveScriptWrappable.h" | 37 #include "bindings/core/v8/ActiveScriptWrappable.h" |
| 35 #include "bindings/core/v8/ScriptWrappable.h" | 38 #include "bindings/core/v8/ScriptWrappable.h" |
| 36 #include "core/dom/SuspendableObject.h" | 39 #include "core/dom/SuspendableObject.h" |
| 37 #include "core/events/EventListener.h" | 40 #include "core/events/EventListener.h" |
| 38 #include "core/events/EventTarget.h" | 41 #include "core/events/EventTarget.h" |
| 39 #include "modules/EventTargetModules.h" | 42 #include "modules/EventTargetModules.h" |
| 40 #include "modules/ModulesExport.h" | 43 #include "modules/ModulesExport.h" |
| 41 #include "modules/websockets/WebSocketChannel.h" | 44 #include "modules/websockets/WebSocketChannel.h" |
| 42 #include "modules/websockets/WebSocketChannelClient.h" | 45 #include "modules/websockets/WebSocketChannelClient.h" |
| 43 #include "platform/Timer.h" | 46 #include "platform/Timer.h" |
| 44 #include "platform/heap/Handle.h" | 47 #include "platform/heap/Handle.h" |
| 45 #include "platform/weborigin/KURL.h" | 48 #include "platform/weborigin/KURL.h" |
| 46 #include "wtf/Deque.h" | 49 #include "wtf/Deque.h" |
| 47 #include "wtf/Forward.h" | 50 #include "wtf/Forward.h" |
| 48 #include "wtf/PassRefPtr.h" | 51 #include "wtf/PassRefPtr.h" |
| 49 #include "wtf/RefPtr.h" | 52 #include "wtf/RefPtr.h" |
| 50 #include "wtf/text/WTFString.h" | 53 #include "wtf/text/WTFString.h" |
| 51 #include <memory> | |
| 52 #include <stddef.h> | |
| 53 #include <stdint.h> | |
| 54 | 54 |
| 55 namespace blink { | 55 namespace blink { |
| 56 | 56 |
| 57 class Blob; | 57 class Blob; |
| 58 class DOMArrayBuffer; | 58 class DOMArrayBuffer; |
| 59 class DOMArrayBufferView; | 59 class DOMArrayBufferView; |
| 60 class ExceptionState; | 60 class ExceptionState; |
| 61 class ExecutionContext; | 61 class ExecutionContext; |
| 62 class StringOrStringSequence; | 62 class StringOrStringSequence; |
| 63 | 63 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 String m_subprotocol; | 252 String m_subprotocol; |
| 253 String m_extensions; | 253 String m_extensions; |
| 254 | 254 |
| 255 Member<EventQueue> m_eventQueue; | 255 Member<EventQueue> m_eventQueue; |
| 256 TaskRunnerTimer<DOMWebSocket> m_bufferedAmountConsumeTimer; | 256 TaskRunnerTimer<DOMWebSocket> m_bufferedAmountConsumeTimer; |
| 257 }; | 257 }; |
| 258 | 258 |
| 259 } // namespace blink | 259 } // namespace blink |
| 260 | 260 |
| 261 #endif // DOMWebSocket_h | 261 #endif // DOMWebSocket_h |
| OLD | NEW |