| 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 22 matching lines...) Expand all Loading... |
| 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 "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
| 37 #include "platform/network/WebSocketHandshakeRequest.h" | 37 #include "platform/network/WebSocketHandshakeRequest.h" |
| 38 #include "platform/network/WebSocketHandshakeResponse.h" | 38 #include "platform/network/WebSocketHandshakeResponse.h" |
| 39 #include "platform/weborigin/KURL.h" | 39 #include "platform/weborigin/KURL.h" |
| 40 #include "wtf/PassOwnPtr.h" | 40 #include "wtf/PassOwnPtr.h" |
| 41 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
| 42 | 42 |
| 43 namespace WebCore { | 43 namespace blink { |
| 44 | 44 |
| 45 class Document; | 45 class Document; |
| 46 | 46 |
| 47 class WebSocketHandshake : public NoBaseWillBeGarbageCollectedFinalized<WebSocke
tHandshake> { | 47 class WebSocketHandshake : public NoBaseWillBeGarbageCollectedFinalized<WebSocke
tHandshake> { |
| 48 WTF_MAKE_NONCOPYABLE(WebSocketHandshake); | 48 WTF_MAKE_NONCOPYABLE(WebSocketHandshake); |
| 49 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 49 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 50 public: | 50 public: |
| 51 // This enum is reused for histogram. When this needs to be modified, add a | 51 // This enum is reused for histogram. When this needs to be modified, add a |
| 52 // new enum for histogram and convert mode values into values in the new | 52 // new enum for histogram and convert mode values into values in the new |
| 53 // enum to keep new data consistent with old one. | 53 // enum to keep new data consistent with old one. |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 WebSocketHandshakeResponse m_response; | 125 WebSocketHandshakeResponse m_response; |
| 126 | 126 |
| 127 String m_failureReason; | 127 String m_failureReason; |
| 128 | 128 |
| 129 String m_secWebSocketKey; | 129 String m_secWebSocketKey; |
| 130 String m_expectedAccept; | 130 String m_expectedAccept; |
| 131 | 131 |
| 132 WebSocketExtensionDispatcher m_extensionDispatcher; | 132 WebSocketExtensionDispatcher m_extensionDispatcher; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace WebCore | 135 } // namespace blink |
| 136 | 136 |
| 137 #endif // WebSocketHandshake_h | 137 #endif // WebSocketHandshake_h |
| OLD | NEW |