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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // alive if this task is being executed. | 78 // alive if this task is being executed. |
79 m_thread->willRunDebuggerTasks(); | 79 m_thread->willRunDebuggerTasks(); |
80 while (WorkerThread::TaskReceived == m_thread->runDebuggerTask(WorkerThr
ead::DontWaitForTask)) { } | 80 while (WorkerThread::TaskReceived == m_thread->runDebuggerTask(WorkerThr
ead::DontWaitForTask)) { } |
81 m_thread->didRunDebuggerTasks(); | 81 m_thread->didRunDebuggerTasks(); |
82 } | 82 } |
83 | 83 |
84 private: | 84 private: |
85 WorkerThread* m_thread; | 85 WorkerThread* m_thread; |
86 }; | 86 }; |
87 | 87 |
88 } | 88 } // namespace |
89 | 89 |
90 class WorkerInspectorController::PageInspectorProxy final : public NoBaseWillBeG
arbageCollectedFinalized<WorkerInspectorController::PageInspectorProxy>, public
InspectorFrontendChannel { | 90 class WorkerInspectorController::PageInspectorProxy final : public NoBaseWillBeG
arbageCollectedFinalized<WorkerInspectorController::PageInspectorProxy>, public
InspectorFrontendChannel { |
91 USING_FAST_MALLOC_WILL_BE_REMOVED(PageInspectorProxy); | 91 USING_FAST_MALLOC_WILL_BE_REMOVED(PageInspectorProxy); |
92 public: | 92 public: |
93 static PassOwnPtrWillBeRawPtr<PageInspectorProxy> create(WorkerGlobalScope*
workerGlobalScope) | 93 static PassOwnPtrWillBeRawPtr<PageInspectorProxy> create(WorkerGlobalScope*
workerGlobalScope) |
94 { | 94 { |
95 return adoptPtrWillBeNoop(new PageInspectorProxy(workerGlobalScope)); | 95 return adoptPtrWillBeNoop(new PageInspectorProxy(workerGlobalScope)); |
96 } | 96 } |
97 ~PageInspectorProxy() override { } | 97 ~PageInspectorProxy() override { } |
98 | 98 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 visitor->trace(m_workerGlobalScope); | 267 visitor->trace(m_workerGlobalScope); |
268 visitor->trace(m_instrumentingAgents); | 268 visitor->trace(m_instrumentingAgents); |
269 visitor->trace(m_backendDispatcher); | 269 visitor->trace(m_backendDispatcher); |
270 visitor->trace(m_agents); | 270 visitor->trace(m_agents); |
271 visitor->trace(m_pageInspectorProxy); | 271 visitor->trace(m_pageInspectorProxy); |
272 visitor->trace(m_workerDebuggerAgent); | 272 visitor->trace(m_workerDebuggerAgent); |
273 visitor->trace(m_workerRuntimeAgent); | 273 visitor->trace(m_workerRuntimeAgent); |
274 } | 274 } |
275 | 275 |
276 } // namespace blink | 276 } // namespace blink |
OLD | NEW |