OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "platform/WebThreadSupportingGC.h" | 34 #include "platform/WebThreadSupportingGC.h" |
35 #include "platform/weborigin/SecurityOrigin.h" | 35 #include "platform/weborigin/SecurityOrigin.h" |
36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
37 #include "wtf/MessageQueue.h" | 37 #include "wtf/MessageQueue.h" |
38 #include "wtf/OwnPtr.h" | 38 #include "wtf/OwnPtr.h" |
39 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
40 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class KURL; | |
45 class WebWaitableEvent; | 44 class WebWaitableEvent; |
46 class WorkerGlobalScope; | 45 class WorkerGlobalScope; |
47 class WorkerInspectorController; | 46 class WorkerInspectorController; |
48 class WorkerLoaderProxy; | 47 class WorkerLoaderProxy; |
49 class WorkerReportingProxy; | 48 class WorkerReportingProxy; |
50 class WorkerSharedTimer; | 49 class WorkerSharedTimer; |
51 class WorkerThreadShutdownFinishTask; | 50 class WorkerThreadShutdownFinishTask; |
52 class WorkerThreadStartupData; | 51 class WorkerThreadStartupData; |
53 class WorkerThreadTask; | 52 class WorkerThreadTask; |
54 | 53 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // WorkerThread might get deleted before it had a chance to properly | 142 // WorkerThread might get deleted before it had a chance to properly |
144 // shut down. By deleting the WebThread first, we can guarantee that | 143 // shut down. By deleting the WebThread first, we can guarantee that |
145 // no pending tasks on the thread might want to access any of the other | 144 // no pending tasks on the thread might want to access any of the other |
146 // members during the WorkerThread's destruction. | 145 // members during the WorkerThread's destruction. |
147 OwnPtr<WebThreadSupportingGC> m_thread; | 146 OwnPtr<WebThreadSupportingGC> m_thread; |
148 }; | 147 }; |
149 | 148 |
150 } // namespace blink | 149 } // namespace blink |
151 | 150 |
152 #endif // WorkerThread_h | 151 #endif // WorkerThread_h |
OLD | NEW |