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 16 matching lines...) Expand all Loading... |
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 WorkerObjectProxy_h | 31 #ifndef WorkerObjectProxy_h |
32 #define WorkerObjectProxy_h | 32 #define WorkerObjectProxy_h |
33 | 33 |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/dom/MessagePort.h" | 35 #include "core/dom/MessagePort.h" |
36 #include "core/workers/WorkerReportingProxy.h" | 36 #include "core/workers/WorkerReportingProxy.h" |
| 37 #include "platform/heap/Handle.h" |
37 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
39 | 40 |
40 namespace blink { | 41 namespace blink { |
41 | 42 |
42 class ConsoleMessage; | 43 class ConsoleMessage; |
43 class ExecutionContext; | 44 class ExecutionContext; |
44 class ExecutionContextTask; | 45 class ExecutionContextTask; |
45 class WorkerMessagingProxy; | 46 class WorkerMessagingProxy; |
46 | 47 |
(...skipping 24 matching lines...) Expand all Loading... |
71 void workerGlobalScopeStarted(WorkerGlobalScope*) override { } | 72 void workerGlobalScopeStarted(WorkerGlobalScope*) override { } |
72 void workerGlobalScopeClosed() override; | 73 void workerGlobalScopeClosed() override; |
73 void workerThreadTerminated() override; | 74 void workerThreadTerminated() override; |
74 void willDestroyWorkerGlobalScope() override { } | 75 void willDestroyWorkerGlobalScope() override { } |
75 | 76 |
76 protected: | 77 protected: |
77 WorkerObjectProxy(ExecutionContext*, WorkerMessagingProxy*); | 78 WorkerObjectProxy(ExecutionContext*, WorkerMessagingProxy*); |
78 | 79 |
79 private: | 80 private: |
80 // These objects always outlive this proxy. | 81 // These objects always outlive this proxy. |
| 82 GC_PLUGIN_IGNORE("553613") |
81 ExecutionContext* m_executionContext; | 83 ExecutionContext* m_executionContext; |
82 WorkerMessagingProxy* m_messagingProxy; | 84 WorkerMessagingProxy* m_messagingProxy; |
83 }; | 85 }; |
84 | 86 |
85 } // namespace blink | 87 } // namespace blink |
86 | 88 |
87 #endif // WorkerObjectProxy_h | 89 #endif // WorkerObjectProxy_h |
OLD | NEW |