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 16 matching lines...) Expand all Loading... |
27 #include "core/workers/WorkerThread.h" | 27 #include "core/workers/WorkerThread.h" |
28 | 28 |
29 #include "bindings/core/v8/Microtask.h" | 29 #include "bindings/core/v8/Microtask.h" |
30 #include "bindings/core/v8/ScriptSourceCode.h" | 30 #include "bindings/core/v8/ScriptSourceCode.h" |
31 #include "bindings/core/v8/V8GCController.h" | 31 #include "bindings/core/v8/V8GCController.h" |
32 #include "bindings/core/v8/V8IdleTaskRunner.h" | 32 #include "bindings/core/v8/V8IdleTaskRunner.h" |
33 #include "bindings/core/v8/V8Initializer.h" | 33 #include "bindings/core/v8/V8Initializer.h" |
34 #include "core/inspector/InspectorInstrumentation.h" | 34 #include "core/inspector/InspectorInstrumentation.h" |
35 #include "core/inspector/InspectorTaskRunner.h" | 35 #include "core/inspector/InspectorTaskRunner.h" |
36 #include "core/inspector/WorkerThreadDebugger.h" | 36 #include "core/inspector/WorkerThreadDebugger.h" |
37 #include "core/workers/DedicatedWorkerGlobalScope.h" | |
38 #include "core/workers/WorkerBackingThread.h" | 37 #include "core/workers/WorkerBackingThread.h" |
39 #include "core/workers/WorkerClients.h" | 38 #include "core/workers/WorkerClients.h" |
40 #include "core/workers/WorkerReportingProxy.h" | 39 #include "core/workers/WorkerReportingProxy.h" |
41 #include "core/workers/WorkerThreadStartupData.h" | 40 #include "core/workers/WorkerThreadStartupData.h" |
42 #include "platform/ThreadSafeFunctional.h" | 41 #include "platform/ThreadSafeFunctional.h" |
43 #include "platform/WaitableEvent.h" | 42 #include "platform/WaitableEvent.h" |
44 #include "platform/heap/SafePoint.h" | 43 #include "platform/heap/SafePoint.h" |
45 #include "platform/heap/ThreadState.h" | 44 #include "platform/heap/ThreadState.h" |
46 #include "platform/weborigin/KURL.h" | 45 #include "platform/weborigin/KURL.h" |
47 #include "public/platform/WebScheduler.h" | 46 #include "public/platform/WebScheduler.h" |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 } while (task && m_pausedInDebugger); | 439 } while (task && m_pausedInDebugger); |
441 InspectorInstrumentation::didLeaveNestedRunLoop(m_workerGlobalScope.get()); | 440 InspectorInstrumentation::didLeaveNestedRunLoop(m_workerGlobalScope.get()); |
442 } | 441 } |
443 | 442 |
444 void WorkerThread::stopRunningDebuggerTasksOnPause() | 443 void WorkerThread::stopRunningDebuggerTasksOnPause() |
445 { | 444 { |
446 m_pausedInDebugger = false; | 445 m_pausedInDebugger = false; |
447 } | 446 } |
448 | 447 |
449 } // namespace blink | 448 } // namespace blink |
OLD | NEW |