| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 25 matching lines...) Expand all Loading... |
| 36 #include "modules/ModulesExport.h" | 36 #include "modules/ModulesExport.h" |
| 37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
| 38 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
| 39 #include "wtf/Noncopyable.h" | 39 #include "wtf/Noncopyable.h" |
| 40 #include <memory> | 40 #include <memory> |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class BlobDataHandle; | 44 class BlobDataHandle; |
| 45 class DOMArrayBuffer; | 45 class DOMArrayBuffer; |
| 46 class ExecutionContext; | |
| 47 class KURL; | 46 class KURL; |
| 48 class WebSocketChannelClient; | 47 class WebSocketChannelClient; |
| 49 | 48 |
| 50 class MODULES_EXPORT WebSocketChannel | 49 class MODULES_EXPORT WebSocketChannel |
| 51 : public GarbageCollectedFinalized<WebSocketChannel> { | 50 : public GarbageCollectedFinalized<WebSocketChannel> { |
| 52 WTF_MAKE_NONCOPYABLE(WebSocketChannel); | 51 WTF_MAKE_NONCOPYABLE(WebSocketChannel); |
| 53 | 52 |
| 54 public: | 53 public: |
| 55 WebSocketChannel() {} | 54 WebSocketChannel() {} |
| 56 static WebSocketChannel* create(ExecutionContext*, WebSocketChannelClient*); | 55 static WebSocketChannel* create(ExecutionContext*, WebSocketChannelClient*); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 virtual void disconnect() = 0; // Will suppress didClose(). | 103 virtual void disconnect() = 0; // Will suppress didClose(). |
| 105 | 104 |
| 106 virtual ~WebSocketChannel() {} | 105 virtual ~WebSocketChannel() {} |
| 107 | 106 |
| 108 DEFINE_INLINE_VIRTUAL_TRACE() {} | 107 DEFINE_INLINE_VIRTUAL_TRACE() {} |
| 109 }; | 108 }; |
| 110 | 109 |
| 111 } // namespace blink | 110 } // namespace blink |
| 112 | 111 |
| 113 #endif // WebSocketChannel_h | 112 #endif // WebSocketChannel_h |
| OLD | NEW |