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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
44 #include "wtf/text/WTFString.h" | 44 #include "wtf/text/WTFString.h" |
45 #include <memory> | 45 #include <memory> |
46 #include <stdint.h> | 46 #include <stdint.h> |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 | 49 |
50 class BlobDataHandle; | 50 class BlobDataHandle; |
51 class KURL; | 51 class KURL; |
52 class ExecutionContext; | 52 class ExecutionContext; |
53 class ExecutionContextTask; | |
54 class WebSocketChannelSyncHelper; | 53 class WebSocketChannelSyncHelper; |
55 class WorkerGlobalScope; | 54 class WorkerGlobalScope; |
56 class WorkerLoaderProxy; | 55 class WorkerLoaderProxy; |
57 | 56 |
58 class WorkerWebSocketChannel final : public WebSocketChannel { | 57 class WorkerWebSocketChannel final : public WebSocketChannel { |
59 WTF_MAKE_NONCOPYABLE(WorkerWebSocketChannel); | 58 WTF_MAKE_NONCOPYABLE(WorkerWebSocketChannel); |
60 | 59 |
61 public: | 60 public: |
62 static WebSocketChannel* create(WorkerGlobalScope& workerGlobalScope, | 61 static WebSocketChannel* create(WorkerGlobalScope& workerGlobalScope, |
63 WebSocketChannelClient* client, | 62 WebSocketChannelClient* client, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 WebSocketChannelClient*, | 185 WebSocketChannelClient*, |
187 std::unique_ptr<SourceLocation>); | 186 std::unique_ptr<SourceLocation>); |
188 | 187 |
189 Member<Bridge> m_bridge; | 188 Member<Bridge> m_bridge; |
190 std::unique_ptr<SourceLocation> m_locationAtConnection; | 189 std::unique_ptr<SourceLocation> m_locationAtConnection; |
191 }; | 190 }; |
192 | 191 |
193 } // namespace blink | 192 } // namespace blink |
194 | 193 |
195 #endif // WorkerWebSocketChannel_h | 194 #endif // WorkerWebSocketChannel_h |
OLD | NEW |