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 17 matching lines...) Expand all Loading... |
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 WebSocketHandshake_h | 31 #ifndef WebSocketHandshake_h |
32 #define WebSocketHandshake_h | 32 #define WebSocketHandshake_h |
33 | 33 |
34 #include "modules/websockets/WebSocketExtensionDispatcher.h" | 34 #include "modules/websockets/WebSocketExtensionDispatcher.h" |
35 #include "modules/websockets/WebSocketExtensionProcessor.h" | 35 #include "modules/websockets/WebSocketExtensionProcessor.h" |
36 #include "modules/websockets/WebSocketHandshakeRequest.h" | 36 #include "modules/websockets/WebSocketHandshakeRequest.h" |
37 #include "modules/websockets/WebSocketHandshakeResponse.h" | 37 #include "modules/websockets/WebSocketHandshakeResponse.h" |
38 #include "weborigin/KURL.h" | 38 #include "platform/weborigin/KURL.h" |
39 #include "wtf/PassOwnPtr.h" | 39 #include "wtf/PassOwnPtr.h" |
40 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
41 | 41 |
42 namespace WebCore { | 42 namespace WebCore { |
43 | 43 |
44 class ExecutionContext; | 44 class ExecutionContext; |
45 | 45 |
46 class WebSocketHandshake { | 46 class WebSocketHandshake { |
47 WTF_MAKE_NONCOPYABLE(WebSocketHandshake); WTF_MAKE_FAST_ALLOCATED; | 47 WTF_MAKE_NONCOPYABLE(WebSocketHandshake); WTF_MAKE_FAST_ALLOCATED; |
48 public: | 48 public: |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 String m_secWebSocketKey; | 122 String m_secWebSocketKey; |
123 String m_expectedAccept; | 123 String m_expectedAccept; |
124 | 124 |
125 WebSocketExtensionDispatcher m_extensionDispatcher; | 125 WebSocketExtensionDispatcher m_extensionDispatcher; |
126 }; | 126 }; |
127 | 127 |
128 } // namespace WebCore | 128 } // namespace WebCore |
129 | 129 |
130 #endif // WebSocketHandshake_h | 130 #endif // WebSocketHandshake_h |
OLD | NEW |